Back to top

ReQL command: !=, ne

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

value != value → bool


Test if two or more values are not equal.

Example: See if a user’s role field is not set to administrator.

# alternative syntax
(r.table('users').get(1)['role'] != 'administrator').run(conn)

Example: See if three variables do not contain equal values., b, c).run(conn)

Get more help

Couldn't find what you were looking for?