Function document definition
Learn: User-defined functions (UDFs) |
---|
We recommend you use FSL to create and update user-defined functions (UDFs). See Function schema. |
A function document definition is an FQL version of an FSL function schema.
Fields
Field | Type | Description |
---|---|---|
|
Name of the function. Can’t be |
|
|
Document collection name. |
|
|
Most recent document update timestamp. |
|
|
FQL expression. |
|
|
(Optional) Role to use when the function is called. Only included if role is provided when the UDF is created. Can be a built-in role, |
|
|
(Optional) Object with metadata fields. |
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!