ReQL command reference - RethinkDB
Command syntax
r.expr(value) → value
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)
Get more help
Couldn't find what you were looking for?
- Ask a question on Stack Overflow
- Chat with us and our community on Slack
- Talk to the team on IRC on #rethinkdb@freenode.net — via Webchat
- Ping @rethinkdb on Twitter
- Post an issue on the documentation issue tracker on GitHub