Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 528 Bytes

File metadata and controls

26 lines (17 loc) · 528 Bytes
layout api-command
language Python
permalink api/python/expr/
command expr

Command syntax

{% apibody %} r.expr(value) → value {% endapibody %}

Description

Construct a ReQL JSON object from a native object.

If the native object is of the bytes type, then expr will return a binary object. See binary for more information.

Example: Objects wrapped with expr can then be manipulated by ReQL API functions.

r.expr({'a':'b'}).merge({'b':[1,2,3]}).run(conn)