5.0.0 • Published 12 months ago

@onebeyond/systemic-knex v5.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

☕️ Usage

const System = require('systemic')
const knex = require('@onebeyond/systemic-knex')

new System()
    .configure({
        knex: {
            // @SEE: http://knexjs.org/#Installation-client
            client: 'mysql',
            connection: {
                host: 'localhost',
                user: 'root',
                password: 'password',
                database: 'database_name'
            },
            // Optional Config (pool, migrations, seeds...):
            pool: {},
            migrations: {
                tableName: 'knex_migrations',
                directory: join(__dirname, '..', '/db/migrations')
            },
            seeds: {
                directory: join(__dirname, '..', '/db/seeds')
            }
        }
    })
    .add('logger', console)
    .add('knex', knex()).dependsOn('config')
    .start((err, components) => {
        // Do stuff with components.knex
    })

🚩 Compatibility versions

VersionNode.jsKnex
knex-systemic@1.0.010.x-14.x0.21.17
knex-systemic@2.0.014.x-19.x0.21.17
@onebeyond/knex-systemic@1.0.014.x-19.x0.21.17
@onebeyond/knex-systemic@1.0.114.x-19.x0.21.17
@onebeyond/knex-systemic@1.0.214.x-19.x0.21.18
@onebeyond/knex-systemic@1.0.314.x-19.x0.21.19
@onebeyond/knex-systemic@1.0.414.x-19.x0.21.21
@onebeyond/knex-systemic@1.1.014.x-19.x0.95.10
@onebeyond/knex-systemic@1.1.114.x-19.x0.95.11
@onebeyond/knex-systemic@1.1.214.x-19.x0.95.12
@onebeyond/knex-systemic@1.1.314.x-19.x0.95.13
@onebeyond/knex-systemic@1.1.414.x-19.x0.95.14
@onebeyond/knex-systemic@1.1.514.x-19.x0.95.15
@onebeyond/knex-systemic@2.0.014.x-19.x1.0.0
@onebeyond/knex-systemic@2.0.114.x-19.x1.0.1
@onebeyond/knex-systemic@2.0.214.x-19.x1.0.2
@onebeyond/knex-systemic@2.0.314.x-19.x1.0.3
@onebeyond/knex-systemic@2.0.414.x-19.x1.0.4
@onebeyond/knex-systemic@2.0.514.x-19.x1.0.5
@onebeyond/knex-systemic@2.0.614.x-19.x1.0.6
@onebeyond/knex-systemic@2.0.714.x-19.x1.0.7
@onebeyond/knex-systemic@3.0.014.x-19.x2.0.0
@onebeyond/knex-systemic@3.1.014.x-19.x2.1.0
@onebeyond/knex-systemic@3.2.014.x-19.x2.2.0
@onebeyond/knex-systemic@3.3.014.x-19.x2.3.0
@onebeyond/knex-systemic@3.4.014.x-19.x2.4.0
@onebeyond/knex-systemic@3.4.114.x-19.x2.4.1
@onebeyond/knex-systemic@3.4.214.x-19.x2.4.2
@onebeyond/knex-systemic@4.0.016.x-20.x2.4.2
@onebeyond/knex-systemic@4.0.116.x-20.x2.5.0
@onebeyond/knex-systemic@4.0.216.x-20.x2.5.1
@onebeyond/knex-systemic@5.0.018.x-21.x3.0.0

📚 Parameters

Check out the official documentation

5.0.0

12 months ago

4.0.1

12 months ago

4.0.2

12 months ago

4.0.0

2 years ago

3.4.2

2 years ago

3.4.1

2 years ago

3.4.0

2 years ago

3.3.0

2 years ago

3.2.0

2 years ago

3.1.0

2 years ago

3.0.0

2 years ago

2.0.7

2 years ago

2.0.6

2 years ago

2.0.5

2 years ago

2.0.4

2 years ago

2.0.3

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago