1.0.4 • Published 4 years ago
dh-dbutilities v1.0.4
Database Utilities
Configuration Options
// get the settings options from the config module.
let options = {
adapterName: String,
server: String,
port: String,
dbName: String,
username: String,
password: String,
connectionPoolLimit: Number,
sessionTableName: String,
sessionSecret: String
// MS SQL specific
instanceName: String,
sessionDatabaseName: String,
ssl: Object or String. See node-mysql for object specs on this.
// MySQL specific
multipleStatements: Boolean
};
Session Store Setup
MS SQL Server Setup:
CREATE TABLE [dbo].[sessions](
[sid] [varchar](255) NOT NULL PRIMARY KEY,
[session] [varchar](max) NOT NULL,
[expires] [datetime] NOT NULL
)
MySQL Setup:
No setup required.
1.0.4
4 years ago
1.0.3
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.0
5 years ago
0.4.1
5 years ago
0.4.0
6 years ago
0.2.4
6 years ago
0.2.3
7 years ago
0.2.2
7 years ago
0.2.1
7 years ago
0.2.0
7 years ago
0.1.20
7 years ago
0.1.19
9 years ago
0.1.18
9 years ago
0.1.17
9 years ago
0.1.16
9 years ago
0.1.15
9 years ago
0.1.14
9 years ago
0.0.9
9 years ago
0.1.13
9 years ago
0.1.12
9 years ago
0.1.11
9 years ago
0.1.10
9 years ago
0.1.9
9 years ago
0.1.8
9 years ago
0.1.7
9 years ago
0.1.6
9 years ago
0.1.5
9 years ago
0.1.4
9 years ago
0.1.3
9 years ago
0.1.2
9 years ago
0.1.1
9 years ago
0.1.0
9 years ago
0.0.8
9 years ago
0.0.7
9 years ago
0.0.6
9 years ago
0.0.5
9 years ago
0.0.4
9 years ago
0.0.3
9 years ago
0.0.2
10 years ago