1.1.0 • Published 5 years ago

@loezy/seekul v1.1.0

Weekly downloads
5
License
MIT
Repository
-
Last release
5 years ago

@Loezy/ Seekul

Loezy stands for it's clean and lazy packaging, don't write the same 6 lines over and over.

Seekul

Simple definer of sequelize models.

Usage

Currently we only support MySQL.

const { define } = require('@loezy/seekul').mysql(dbname, user, password, options);

Options

See https://sequelize.org/v5/manual/dialects.html for dialect adapter options.

{
    host: 'localhost',
    dialect: 'mysql',
    ...
}

Define

This method allows you to register and get back models.

const User = define(require('./models/User'));
1.1.0

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago