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

Returns the document definition for a user-defined collection or user-defined function (UDF) using the same rules as top-level identifier lookups.

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!