|
|
|
|
|
by bonesmoses
3623 days ago
|
|
Exactly. With Postgres, you can add CHECK constraints to enforce specific keys, with any level of nesting desired. So an INSERT could reject a document for having missing fields, fields of improper type, etc. It all depends on how strict you want to be. |
|