I have a DataSource linked to a table.
xxx.setDataURL("/enrolments");
Whenever "/enrolments" is requested, all the rows in a table are returned.
In some parts of my code, I would really only need certain rows which can be achieved by using Criterias.
However the DataSource ALWAYS eventually make requests to "/enrolments" which retrieves all the rows.
My question is, does the datasource ALWAYS have to fetch all the rows even when criterias are set in the datasource? If not, how do I prevent making such a request?
xxx.setDataURL("/enrolments");
Whenever "/enrolments" is requested, all the rows in a table are returned.
In some parts of my code, I would really only need certain rows which can be achieved by using Criterias.
However the DataSource ALWAYS eventually make requests to "/enrolments" which retrieves all the rows.
My question is, does the datasource ALWAYS have to fetch all the rows even when criterias are set in the datasource? If not, how do I prevent making such a request?