0.5.3 • Published 1 year ago

@fxjs/db-driver v0.5.3

Weekly downloads
9
License
ISC
Repository
github
Last release
1 year ago

Fibjs Orm Drivers

NPM version Build Status Build status

Install

npm install @fxjs/db-driver

Built-in supported drivers

  • MySQL
  • SQLite
  • Redis

Support via Adapters

  • @fxjs/db-driver-tdengine
  • @fxjs/db-driver-elasticsearch
  • @fxjs/db-driver-mongodb

Example

const DbDriver   = require("@fxjs/db-driver");

// use mysql protocol
const driver = new DbDrivers("mysql://username:password@localhost/database");

Test

To test, first make sure you have development dependencies installed. Go to the root folder and do:

npm install

Then, just run the tests.

npm test

If you have a supported database server and want to test against it, first install the module:

And then run:

URI=mysql://username:password@localhost/database fibjs test/run-db
0.5.3

1 year ago

0.5.2

2 years ago

0.5.1-alpha.0

2 years ago

0.5.1

2 years ago

0.5.0-alpha.0

2 years ago

0.5.0

2 years ago

0.4.3

2 years ago

0.4.1

3 years ago

0.4.2

3 years ago

0.3.0

3 years ago

0.4.0

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.1.0

5 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago