Solved
How do I give the field of a!querycolumn() when querying from datastore

I'm querying from a datastore, I only need one column, how do I give the column name in field

I'm querying from a datastore, I only need one column, how do I give the column name in field
Hi [mention:2aea1bf0b6954f94815518e79da990c7:e9ed411860ed4f2ba0265705b8793d05] please use below code
a!queryEntity(
entity: cons!test,
query: a!query(
selection: a!querySelection(
columns: a!queryColumn(
field: "columnsNameAsInCDT"
)
),
pagingInfo: a!pagingInfo(1,10)
)
).data
you can change paging as your requirement
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.