value.le(value[, value, ...]) → bool
Compare values, testing if the left-hand value is less than or equal to the right-hand.
Example: Test if a player has scored 10 points or less.
Example: Test if variables are ordered from highest to lowest.
var a = 20, b = 10, c = 15; r.le(a, b, c).run(conn, callback);
This is the equivalent of the following:
r.le(a, b).and(r.le(b, c)).run(conn, callback);
Couldn't find what you were looking for?
© RethinkDB contributors
Licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License.