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.

FQL

The FQL module provides access to all top-level FQL modules and functions.

For example, you can use FQL.Math to access the Math module and its methods. FQL.Math.abs(-3) is equivalent to Math.abs(-3).

The FQL module also contains modules and functions that aren’t at the top level, such as FQL.Schema.defForIdentifier().

Static methods

The following section covers FQL methods that aren’t available at the top level.

Schema methods

The Schema module exists under the top-level FQL module. Schema has a single member: defForIdentifier().

Method Description

Get the FQL definition for a user-defined collection or user-defined function (UDF) by its ID.

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!