Call a function
Creating and updating a function requires:
|
Solution
Use the Call
function:
map[data:map[body:This is my first blog post! title:First Post Title] ref:{300221752288477696 0xc00009b8f0 0xc00009b8f0 <nil>} ts:1622572624380000]
{
ref: Ref(Collection("posts"), "300221794335326720"),
ts: 1622572664480000,
data: { title: 'First Post Title', body: 'This is my first blog post!' }
}
{'ref': Ref(id=300221798539067904, collection=Ref(id=posts, collection=Ref(id=collections))), 'ts': 1622572668490000, 'data': {'title': 'First Post Title', 'body': 'This is my first blog post!'}}
{
ref: Ref(Collection("posts"), "302044131605086720"),
ts: 1624310580730000,
data: { title: 'First Post Title', body: 'This is my first blog post!' }
}
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!