1.0.4 • Published 4 years ago

dh-dbutilities v1.0.4

Weekly downloads
93
License
(MIT OR Apache-2....
Repository
github
Last release
4 years ago

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

5 years ago

1.0.0

5 years ago

0.4.1

6 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

8 years ago

0.2.0

8 years ago

0.1.20

8 years ago

0.1.19

9 years ago

0.1.18

9 years ago

0.1.17

10 years ago

0.1.16

10 years ago

0.1.15

10 years ago

0.1.14

10 years ago

0.0.9

10 years ago

0.1.13

10 years ago

0.1.12

10 years ago

0.1.11

10 years ago

0.1.10

10 years ago

0.1.9

10 years ago

0.1.8

10 years ago

0.1.7

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago