react-rethinkdb
react-rethinkdb copied to clipboard
Add support of `arrayLimit`
trafficstars
From docs(https://rethinkdb.com/limitations/):
By default, arrays on the RethinkDB server have a size limit of 100,000 elements. This can be changed on a per-query basis with the arrayLimit (or array_limit) option to run.
arrayLimit: the maximum numbers of array elements that can be returned by a query (default: 100,000). This affects all ReQL commands that return arrays. Note that it has no effect on the size of arrays being written to the database; those always have an upper limit of 100,000 elements.
But it looks like we can't specify any options to runQuery from react-rethinkdb. So please add support of these options, like we have for run