Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 607 Bytes

File metadata and controls

35 lines (27 loc) · 607 Bytes
layout language permalink command io related_commands
api-command
JavaScript
api/javascript/ne/
ne
value
bool
and or eq
and/
or/
eq/

Command syntax

{% apibody %} value.ne(value[, value, ...]) → bool {% endapibody %}

Description

Test if two or more values are not equal.

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

r.table('users').get(1)('role').ne('administrator').run(conn, callback);

Example: See if three variables do not contain equal values.

r.ne(a, b, c).run(conn, callback);