q.Lambda('vehicle',
q.Create(q.Select('ref', q.Var('vehicle')), {
data: ...
}),
)
What is the probability that the reference (automatically generated) in one company will also be in another company? I want to copy documents from one company to another to synchronize the data later, using the same Ref. Is it safe?
Hi @ProjectINT!
Within a single region group, the chance of document id collision is zero, so long as you just use the automatically generated ids.
1 Like
Update: @ProjectINT Our engineers corrected me that ids are now unique across region groups. This was a necessary step to enabling our Backup and Restore feature, which lets you copy databases from one RG to another. Databases are also documents with their own IDs (though we use their names to access them in FQL).
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.