How to use the waterline.start function in waterline

To help you get started, we’ve selected a few waterline 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 StellarFw / stellar / src / satellites / models.ts View on Github external
public async start(): Promise {
    const ormStart = promisify(Waterline.start);

    this.orm = await ormStart({
      adapters: this.processAdapters(),
      datastores: this.api.configs.models.datastores,
      models: await this.loadModels(),
    });
  }

waterline

An ORM for Node.js and the Sails framework

MIT
Latest version published 1 year ago

Package Health Score

65 / 100
Full package analysis