Start a new topic

How to limit certain to return?

Hi guys,


Let say I have a collection with 10 fields. But I do a query and I want to return 2 fields only. How to do that?


        final AsyncAppData<ProdProcess> aggregate = AppController.getInstance().getKinveyClient().appData("prodprocess", ProdProcess.class);


        Query q = AppController.getInstance().getKinveyClient().query();


q.greaterThan("date_input", dtLess1Day.toString());


aggregate.get(q, new KinveyListCallback<ProdProcess>() {


});

Login or Signup to post a comment