@mqict/adonis-repository
v1.0.1
Published
MQ-Repository is a set of base Repository for MQ's Team server. MQ-Repository runs on **Adonisjs 4**, **lucid-mongo**. It rewrites the relational definitions in models and functions to extend and query the mongoDB more easily. Lucid mongo: https://github.
Downloads
2
Readme
Welcome to MQ-Adonisjs-Repository!
MQ-Repository is a set of base Repository for MQ's Team server. MQ-Repository runs on Adonisjs 4, lucid-mongo. It rewrites the relational definitions in models and functions to extend and query the mongoDB more easily. Lucid mongo: https://github.com/duyluonglc/lucid-mongo
Install
npm install @mqict/adonis-repository
in Models file: use use('@mqict/adonis-repository') as BaseRepository.
const Repository = use('@mqict/adonis-repository')
class UserRepository extends Repository {
.....
}
Using
NgocHip