Function.all()
Return value
Type | Description |
---|---|
Set of all UDF documents in the current database. See Function document definition. |
Examples
Function.all()
{
data: [
{
name: "inventory",
coll: Function,
ts: Time("2099-04-10T17:50:39.955Z"),
role: "server",
body: <<-END
(name) => {
Product.byName(name) {
name: .name,
description: .description,
stock: .stock
}
}
END
},
{
name: "submitOrder",
coll: Function,
ts: Time("2099-04-10T17:50:39.955Z"),
...
}
]
}
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!