Commit d699231
committed
Allow usage of different schemas for documents
This commit adds support for using dedicated schemas for storing
documents. This way one can separate storage of documents of different
scopes do dedicated schemas per scope. THis allows for a better
structuring of the documents within the database.
This commit does **not** handle creating the schemas. The schema needs
to be available to the DocumentStore for this to work.
Basically this allows one to set the schema right within the table-name
by separating schema and tablename by a dot like this:
`schemaname.tablename`. The name will then be split on the dot and the
former part be used as schema-name, the later part as table-name. Any
table-prefixes will only be added to the table name, not to the scheme.1 parent 9701437 commit d699231
1 file changed
+15
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| 122 | + | |
122 | 123 | | |
123 | 124 | | |
124 | 125 | | |
| |||
148 | 149 | | |
149 | 150 | | |
150 | 151 | | |
151 | | - | |
| 152 | + | |
152 | 153 | | |
153 | 154 | | |
154 | 155 | | |
| |||
751 | 752 | | |
752 | 753 | | |
753 | 754 | | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
754 | 759 | | |
755 | 760 | | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
756 | 770 | | |
0 commit comments