Hi team i am unable to fetching the data using the query entity,due to some restrictions i have to use the CDT only so i am using query entity for fetching the data,(I want this data for displaying into the read-only grid)i have 2 tables in DB1st table having the 42 columns and 26191 rows of data so i am using the below code for fetching the hole data
a!queryEntity(entity: cons!1stentity,query: a!query(pagingInfo: a!defaultValue(value: ri!pagingInfo(Type:pagingInfo),default: a!pagingInfo(startIndex: 1, batchSize: 10)),
),fetchTotalCount: true(),),
but using this code i can able to fetch 21568 rows of data only not able to fetch the whole data,2nd table having the 8 columns and 389434 rows of data so i am using the below code for fetching the whole data.
a!queryEntity( entity: cons!2ndentity, query: a!query( pagingInfo: a!defaultValue( value: ri!pagingInfo, default: a!pagingInfo(startIndex: 1, batchSize: 10) ),
), fetchTotalCount: true(), ),From this table i can able to fetch the 389434 rows of data, i mean i can able to fetch whole data,anyone help me with this how can i achieve to fetch the whole data from 1st table without losing
Discussion posts and replies are publicly visible
What do you mean by you can fetch only 21568 rows?Where did you find this count?
in QUERYENTITY IF I USE TOTALFETCHCOUNT:TRUE i can see only 21568 only.
In database, you are able to see 26191 rows??
yes, i can able too see.
Can you attach a screenshot of the code and the output?
Can you attach code screenshot as well?Also seems the count has increased by a 1000 now. Was any change done to the table or query?
if i give the column selection at that time count is changing,a!queryEntity( entity: cons!Ltable, query: a!query( pagingInfo: a!defaultValue( value: ri!pagingInfo, default: a!pagingInfo( startIndex: 1, batchSize: 10 ) ) ), fetchTotalCount: true)