Skip to content
Hookyns edited this page Apr 25, 2017 · 2 revisions

Domain

Methods

createEntity(name, properties, idType = null)

Create new Entity class which extends base Entity

  • @param {String} name Name of new entity (class)
  • @param {Object} properties Object with entity parameters
  • @param {Type} [idType] Allows you to override default id property

async createMigration(path)

Create migration script in defined path.

  • @param {String} path

async runMigration(path)

Run last created migration in given path

  • @param {String} path

async dispose()

Just call dispose in adapter

Clone this wiki locally