Start a new topic

what are the Kinvey.Query options?

What are the options in new Kinvey.Query(options)? The documentation only lists them without providing any description at all :(.



filter Object Filter.

sort Object Sort.

skip number Skip.

limit number Limit.



Also, I am looking for a way to return only specific columns from a collection on the Kinvey.DataStore.find() call.

Daniel:



You can find out more about Kinvey.Query() here: http://devcenter.kinvey.com/backbone/reference/api/Kinvey.Query.html . To be a bit more direct, we are just wrapping requests that are destined for a mongodb server, so any operation you can take on mongo-db should be available via rest-API and Kinvey.Query().



Thanks,
Hi Damien



did you just gave me link back to the documentation that I am quoting from complaining it does not provide any details? :)



I have no experience with MongoDB but my fair search through their documentation did not reveal anything similar to those options.



Also, I am looking for a way to return only specific columns from a collection on the Kinvey.DataStore.find() call.
Hi Daniel, does this answer your questions? http://devcenter.kinvey.com/backbone/guides/datastore#modifiers



Note in particular the `fields` option.
That's exactly it, thanks.



As I said before, your documentation would greatly benefit from more interlinks.
Login or Signup to post a comment