run
ReQL command: run
Command syntax
query.run(conn[, options]) → cursor query.run(conn[, options]) → object
Description
Run a query on a connection, returning either a single JSON result or a cursor, depending on the query.
The optional arguments are:
-
read_mode
: One of three possible values affecting the consistency guarantee for the query (default:'single'
).-
'single'
(the default) returns values that are in memory (but not necessarily written to disk) on the primary replica. -
'majority'
will only return values tha
-