0.11.1 • Published 6 years ago
knorm v0.11.1
knorm
A purely ES6 class-based ORM for Knex.js.
Supported environments
These environments are currently supported:
Environment | Value | Description |
---|---|---|
Node.js | Version >= 7.6. | knorm uses async/await |
Databases | PostgreSQL, MSSQL and Oracle | knorm uses the RETURNING clause |
Features
- Validation
- JSON fields validation (similar to Mongoose JS)
- Plugin support enabling full and easy customization
- Model field-name to database column-name transformations (e.g. snake-casing)
- Relations through SQL joins
- virtual fields (i.e. computed fields) with support for sync and async getters
- value casting before insert and update operations and after fetch operations
- custom error classes for database errors
- improved syntax for transactions
- good test coverage
NOTE: knorm does not create or run knex migrations
Documentation
View the documentation site
License
Credits
Knorm is inspired in part by the Mongoose JS and Bookshelf.js APIs.
0.11.1
6 years ago
0.11.0
6 years ago
0.10.1
6 years ago
0.10.0
6 years ago
0.9.3
6 years ago
0.9.2
6 years ago
0.9.1
7 years ago
0.9.0
7 years ago
0.8.1
7 years ago
0.8.0
7 years ago
0.7.3
7 years ago
0.7.2
7 years ago
0.7.1
7 years ago
0.7.0
7 years ago
0.6.2
7 years ago
0.6.1
7 years ago
0.6.0
7 years ago
0.5.0
7 years ago
0.4.2
7 years ago
0.4.1
7 years ago
0.4.0
7 years ago
0.3.0
7 years ago
0.2.4
7 years ago
0.2.3
7 years ago
0.2.2
7 years ago
0.2.1
7 years ago
0.2.0
7 years ago
0.1.0
7 years ago
0.0.2
7 years ago
0.0.1
7 years ago