3.0.7 • Published 5 years ago

modelar-ibmdb-adapter v3.0.7

Weekly downloads
21
License
MIT
Repository
github
Last release
5 years ago

Modelar-Ibmdb-Adapter

This is an adapter for Modelar to connect IBM DB2 database.

Prerequisites

  • NodeJS version higher than 4.0.0.

Install

npm install modelar-ibmdb-adapter --save

How To Use

const { DB } = require("modelar");
const { IbmdbAdapter } = require("modelar-ibmdb-adapter");

DB.setAdapter("ibmdb", IbmdbAdapter)

// then using the type 'ibmdb' in db.config
DB.init({
    type: "ibmdb",
    database: "SAMPLE",
    host: "127.0.0.1",
    port: 50000,
    user: "db2admin",
    password: "******"
});

How To Test

Since none of the open Continuous Integration environments support IBM DB2, if you want to test this package, you need to do the following steps manually in your computer.

Prepare

Before testing this package, you must have an IBM DB2 Database server installed in your machine, if you haven't, please visit the Downloads page for instructions, for a developer, the Express-C edition is fine.

If you're not very familiar with IBM DB2 Database, I suggest you do some research on it before doing the test and probably using it.

Test

git clone https://github.com/hyurl/modelar-ibmdb-adapter
cd modelar-ibmdb-adapter
npm install
vim test/config/db.js # edit the configuration to connect your database server
npm run init # will create neccesary tables, once tables are created,
npm test # you can run test as many times as you want, even change node versions
3.0.7

5 years ago

3.0.6

5 years ago

3.0.5

6 years ago

3.0.4

6 years ago

3.0.3

6 years ago

3.0.2

6 years ago

3.0.1

6 years ago

3.0.0

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.3.0

6 years ago

0.2.0

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago