Closed kingsleyh closed 6 years ago
Do you think I should switch to using https://github.com/lbguilherme/rethinkdb-lite/ instead of this library?
This cursor was already consumed (@index=1). Cursors can only be read once. After that they are empty. This is because possibly the cursor can return more data than would fit memory.
About the library, there are still missing many ReQL functions, like between, getAll, concatMap, etc. If you switch now, you won't be able to use many of those for a while.
Hi - yes sorry you are right - I accidentally drained it by doing .to_a to check if it was empty or not earlier in the code! Ok I will keep going here until the other one is ready - I added quite a few more functions like get_fields, eq_join, set_insert, etc to my fork already.
Hi
I have a strange Cursor issue.
As you can see I have a cursor which appears to have a result in it. But when I try to convert the cursor to an array so that I can get the result out - it gives me back an empty array
any idea what is going on?