2.0.2 • Published 6 months ago

monetdb v2.0.2

Weekly downloads
261
License
SEE LICENSE IN LI...
Repository
github
Last release
6 months ago

MonetDB Node.js

Linux macOS MonetDB-dev-builds npm version

Node.js connector for MonetDB.

Getting Started

npm install monetdb

, connect with default options

import { Connection } from monetdb

const opt: MapiConfig = {
    database: 'your_database'
}

const conn = new Connection(opt);

, or using mapi URL

import { Connection } from monetdb
const conn = new Connection('mapi:monetdb://<username>:<password>@<hostname>:<port>/<database>');

, then run some queries

    const ready: boolean = await conn.connect();
    const res: QueryResult = await conn.execute('select 42');
    ...
    const closed: boolean = await conn.close();

, for detailed api documentation please visit documentation.

Features

  • prepared statements
  • streaming query results
  • bulk import & export with COPY INTO

Contributing

We :heart: contributions!

We will happily accept your pull request if it:

  • has tests
  • looks reasonable
  • does not break backwards compatibility

If your change has breaking backwards compatibility please please point that out in the pull request. When you open an issue please provide:

  • version of Node
  • version of MonetDB
  • smallest possible snippet of code to reproduce the problem

Setting up for local development

  • clone the repo
  • run npm i && npm run build in root folder
  • have MonetDB running with test database. For more information on how to get started with MonetDB please visit MonetDB Documentation
  • run tests with npm t
2.0.2

6 months ago

2.0.1

6 months ago

2.0.0

6 months ago

1.3.4

1 year ago

1.3.3

4 years ago

1.3.2

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.5

4 years ago

1.1.4

8 years ago

1.1.3

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.10

8 years ago

1.0.9

8 years ago

1.0.8

8 years ago

1.0.7

9 years ago

1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago

0.2.8

9 years ago

0.2.7

9 years ago

0.2.6

9 years ago

0.2.5

9 years ago

0.2.4

9 years ago

0.2.3

9 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

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.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

0.0.1

10 years ago