@squareboat/nestjs-objection
v0.3.9
Published
The objection database package for your NestJS Applications
Downloads
282
Readme
Introduction
Almost every application nowadays, requires a database to persist data. We have integrated ObjectionJS
as our supported ORM.
ObjectionJS
provides very clean and fluent APIs to build and run complex queries at ease. We have worked in the past with many ORMs, but ObjectionJS
stood out, it is relatively young but more mature in terms of its offerings.
Why we ❤️ ObjectionJS:
- ✅ Very clean and mature Query Builder
- ✅ Fluent Relational Queries
- ✅ Official Typescript Support
- ✅ Clean Migrations and Seeders using
KnexJS
- ✅ Support for Hooks
- ✅ Powerful model entity relation operations
- ✅ Easy to use Transactions
What we have added on top of it?:
- ✅ Setting up project is now much easier than ever
- ✅ Custom
BaseModel
having performant functions - ✅ In-built
DatabaseRepository
to help you maintain data store functions smartly - ✅ Beautiful console commands to manage migrations
- ✅ Custom
QueryBuilder
with some much needed methods - ✅ Utilise multiple connections in repositories smartly.
- ✅ Clean Transaction API using Repositories
Documentation
To read the complete documentation, click here.
Contributing
To know about contributing to this package, read the guidelines here
About Us
We are a bunch of dreamers, designers, and futurists. We are high on collaboration, low on ego, and take our happy hours seriously. We'd love to hear more about your product. Let's talk and turn your great ideas into something even greater! We have something in store for everyone. ☎️ 📧 Connect with us!
License
The MIT License. Please see License File for more information. Copyright © 2020 SquareBoat.
Made with ❤️ by Squareboat