|
for a naming scheme where the directory name is the database name, and the file name is the design doc name:
eg. users/User.json should end up in users/_design/User
This will allow us to use different design docs per database for different purposes.
eg. users/_design/User for the data schema and views
and users/_design/write_restricted for validations that prevent certain couch users from writing
and users/_design/filters for filters that filter the changes stream for things like tapicero to only receive the relevant changes.
|