Back to top

ReQL command: ge

Command syntax[, value, ...]) → bool


Compare values, testing if the left-hand value is greater than or equal to the right-hand.

Example: Test if a player has scored 10 points or more.

r.table('players').get(1)('score').ge(10).run(conn, callback);

Example: Test if variables are ordered from lowest to highest.

var a = 10, b = 20, c = 15;, b, c).run(conn, callback);

This is the equivalent of the following:, b).and(, c)).run(conn, callback);

Get more help

Couldn't find what you were looking for?