metaschema
metaschema copied to clipboard
Schema definition and validation 💡
- [x] tests and linter show no problems (`npm t`) - [x] tests are added/updated for bug fixes and new features - [x] code is properly formatted (`npm run fmt`)...
- [x] tests and linter show no problems (`npm t`) - [x] tests are added/updated for bug fixes and new features - [x] code is properly formatted (`npm run fmt`)...
- [x] tests and linter show no problems (`npm t`) - [ ] tests are added/updated for bug fixes and new features - [x] code is properly formatted (`npm run...
**Is your feature request related to a problem? Please describe.** Currently there's no option to add custom indexes as described in Contracts repository: [https://github.com/metarhia/Contracts/blob/c6e6b1053f30924ea002b67a4a2fff30a1a7fe18/doc/Database.md](https://github.com/metarhia/Contracts/blob/c6e6b1053f30924ea002b67a4a2fff30a1a7fe18/doc/Database.md) **Describe the solution you'd like** Support...
- [ ] tests and linter show no problems (`npm t`) - [ ] tests are added/updated for bug fixes and new features - [ ] code is properly formatted...
**Is your feature request related to a problem? Please describe.** Sometimes it is necessary to support `update`-like methods and currently it is not possible to perform `Schema#check` on partial objects....
**Description** By analogy with the `string` type being converted to `varchar`, I wanted to limit the length of the `number`. After the command `metasql c`, a type `integer()` was generated...