Does a!queryEntity() returns the entity type I am querying to the database? For

Does a!queryEntity() returns the entity type I am querying to the database? For instance, if on the entity parameter of the queryEntity() function I pass a Student type, will it return a Student?

OriginalPostID-174764

OriginalPostID-174764

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer
    From what I recall the data element returned from queryEntity() is a list of variant so not strongly typed, you do need to be mindful of this if using dot notations on an empty result.

    In your expression can you explain why you are using ri!student for the array attribute of your applyComponents() rather than local!datasubset.totalCount?
Reply
  • 0
    Certified Lead Developer
    From what I recall the data element returned from queryEntity() is a list of variant so not strongly typed, you do need to be mindful of this if using dot notations on an empty result.

    In your expression can you explain why you are using ri!student for the array attribute of your applyComponents() rather than local!datasubset.totalCount?
Children
No Data