Closed torsina closed 6 years ago
Hum, it should work - are you sure the query you linked is the right one?
There are multiple tests for r.row
taking arguments
https://github.com/neumino/rethinkdbdash/blob/master/test/document-manipulation.js#L179
just checked it, it's the right one
this is what a full entry look like
{ channel: '244146816797376512', date: 1497734318989, user: '306418399242747906' guild: '242655328410402816', id: '001513d4-c2d8-492d-ba8a-f8b38876db1e', item: '<:feelsluckyman:247432630541221888>' }
hello, is there any reason why r.row is a function but not have a function prototype methods? i want to run this:
r.row.apply(null, "name")
but r.row.apply is undefined
i are working in a client side wrapper of rethinkdbdash and need can call it dinamically, current i doing
Function.prototype.apply.call(r.row, r.row, ['name']);
i feeling dirty
Hum, that's because r.row
is an object.
Typically this is a valid query: r.table('foo').filter(r.row)
I wanted to get a time range in my table
r.table('analytic').filter(r.row("date").le(b).and(r.row("date").ge(a))).run();
and it thrown
this at me, even if it's the same as the example from the official driver(couldn't find a proper doc for rethinkdbdash)
possible bug, or me completly failing ?
rethinkdb server : 2.3.5 rethinkdbdash version : 2.3.29