1.4.13 • Published 8 months ago

@plugcore/ds-sequelize v1.4.13

Weekly downloads
-
License
ISC
Repository
github
Last release
8 months ago

plugcore.com

@plugcore/ds-sequelize

https://nodei.co/npm/@plugcore/ds-sequelize.png?downloads=false&downloadRank=false&stars=false

Documentation can be found at the wiki.

Datasource: sequelize

// TODO

Configuration

Inside our configuration file, for example {PROJECT_ROOT}/configuration/configuration.json, we will have to add a new entry for each database we want to connect, like in this example:

You can see more configuration options at Sequelize documentation site

{
    "connections": {
        "mydb": { // Connection id
            "testdb": {
				"type": "sequelize",
				"database": "main",
				"username": "root",
				"options": {
					"dialect": "sqlite",
					"pool": {
						"max": 5,
						"min": 0,
						"idle": 10000
					}
				}
			}
        },
        ...
    },
    ...
}

Usage

// TODO

1.4.13

8 months ago

1.4.11

1 year ago

1.4.10

1 year ago

1.4.12

1 year ago

1.4.6

2 years ago

1.4.9

2 years ago

1.4.8

2 years ago

1.4.7

2 years ago

1.4.5

2 years ago

1.4.4

2 years ago

1.4.3

2 years ago

1.4.2

2 years ago

1.4.1

2 years ago

1.4.0

3 years ago

1.3.3

3 years ago

1.3.2

3 years ago