Filebase
Filebase copied to clipboard
New Feature: Scheme for data
Ability to set a scheme for the database. Similar to the validate system, but only allow a specific scheme format to enter your data. This would allow you to maintain consistency with your database. And become closer to a traditional scheme database setup.
There should be two options loose
and strict
schemes.
-
loose
which allows you to add additional data to the database that is not part of the scheme format. -
strict
which only supports data that belongs to the desired scheme format, and preventing non-schemed data from entering the database.
The scheme should be set up with the database config, and all documents created under that must support the scheme.