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 2 years ago

Package Health Score

62 / 100
Full package analysis