adonis-mqrepository
v1.0.14
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
7
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 adonis-mqrepository
in Models file: use use('adonis-mqrepository') as BaseModel.
const Repository = use('adonis-mqrepository')
class UserRepository extends Repository {
.....
}
Using
NgocHip