How to use the @lskjs/db/server function in @lskjs/db

To help you get started, we’ve selected a few @lskjs/db examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github lskjs / lskjs / packages / worker / src / index.js View on Github external
getDatabase() {
    return this.config.db ? db(this, this.config.db) : null;
  }
  getMongooseModels() {
github lskjs / lskjs / packages / server / src / ServerApp.js View on Github external
getDatabase() {
    return this.config.db ? db(this, this.config.db) : null;
  }
  getErrors() {

@lskjs/db

LSK.js module for working with mongodb database

MIT
Latest version published 1 year ago

Package Health Score

49 / 100
Full package analysis

Popular @lskjs/db functions