I am trying to access a constant number of recent table documents sorted by the date key. Please note that the date, unfortunately, was implemented (not by me ...), so the value is set as a string, for example, "2014-01-14", or sometimes "2014-01-14 22:22:22", I get an error "RqlRuntimeError: Array over size limit 102173"when using the following query:
r.db('awesome_db').table("main").orderBy(r.desc("date"))
I tried to overcome this problem by specifying a constant limit, since at the moment I only need the last 50:
r.db('awesome_db').table("main").orderBy(r.desc("date")).limit(50)
The end ended with the same error. So my questions are:
source
share