Socket
Socket
Sign inDemoInstall

@mqict/adonis-repository

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @mqict/adonis-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.


Version published
Weekly downloads
4
Maintainers
1
Install size
1.71 kB
Created
Weekly downloads
 

Readme

Source

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

FAQs

Last updated on 27 Dec 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc