Check out v4 of the Fauna CLI

v4 of the Fauna CLI is now in beta.

The new version introduces enhancements to the developer experience, including an improved authentication workflow. To get started, check out the CLI v4 quick start.

Object

FQL Objects are collections of key-value pairs, similar to JSON Objects. The FQL API’s Object module contains methods that let you manage and manipulate Objects.

Static methods

You can use the following static methods to manage and manipulate Objects in FQL.

Method Description

Copies properties from a source Object to a destination Object.

Convert an Object to an Array of key-value pairs.

Convert an Array of key-value pairs to an Object.

Test if an Object has a property.

Get an Object's top-level property keys as an Array.

Get an Object property’s value by its path.

Convert an Object to a String.

Get an Object's property values as an Array.

Is this article helpful? 

Tell Fauna how the article can be improved:
Visit Fauna's forums or email docs@fauna.com

Thank you for your feedback!