introduction
I have been working with the ReThink Db using data explorer tab. I am new to Rethink Db.
I have created this query to filter record on date base. I needed to optimize the query so that it can take less time for large records.
r.db('test').table('usrz').filter(function(test) {
return test("createdDate").date().during(
r.time(2016,12,20, 'Z'),
r.time(2016,12,30, 'Z'))
}).orderBy(r.desc('createdDate'))
Any help or reference will be apreciated. Thanks for your time.