binary

ReQL command: binary

Command syntax

r.binary(data) → binary

Description

Encapsulate binary data within a query.

The type of data binary accepts depends on the client language. In Ruby, it expects a String object.

Binary objects returned to the client in JavaScript will also be of the String type. This can be changed with the binary_format option provided to run to return “raw” objects.

Only a limited subset of ReQL commands may be chained after binary: