Create a document
Solution
Use the Create
function:
{
ref: Ref(Collection("dilapidated_huts"), "302044124774662656"),
ts: 1624310574250000,
data: { material: 'straw' }
}
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!