dh-dbutilities

1.0.4 • Public • Published

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.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.41latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.41
1.0.31
1.0.21
1.0.11
1.0.02
0.4.13
0.4.01
0.2.41
0.2.31
0.2.21
0.2.11
0.2.01
0.1.201
0.1.191
0.1.181
0.1.171
0.1.161
0.1.151
0.1.141
0.0.91
0.1.131
0.1.121
0.1.111
0.1.101
0.1.91
0.1.81
0.1.71
0.1.61
0.1.51
0.1.41
0.1.31
0.1.21
0.1.11
0.1.01
0.0.81
0.0.71
0.0.61
0.0.51
0.0.41
0.0.31
0.0.21

Package Sidebar

Install

npm i dh-dbutilities

Weekly Downloads

44

Version

1.0.4

License

(MIT OR Apache-2.0)

Unpacked Size

49.7 kB

Total Files

11

Last publish

Collaborators

  • uranakam