DEV Community

Discussion on: Modelling Data in FaunaDB - a primer

Collapse
 
b_bot profile image
Byron Polley • Edited

Thanks for the comment.

The multi-tenancy feature is designed to be used on a project or team basis in order to intentionally split the data. So one child database can be used for your product and another for your internal ops for example. This means that each assigned team would be aware of the way they decided to design their data.

I create one database per app and then decide how it should be modelled. With regards to not knowing what underlying data, this is the purpose of indexes which can be created to query data in whatever way you deem fit :)

Hopefully this answers your questions.

Collapse
 
aaronm14 profile image
Aaron Mead

Ah okay that clears it up a bit, thanks for the explanation there