# odbc-pool

> A connection pool for the ODBC module

Latest version **0.0.7** (published 2018-07-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install odbc-pool
pnpm add odbc-pool
yarn add odbc-pool
bun add odbc-pool
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.7 |
| Published | 2018-07-13 |
| First published | 2014-05-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Dan VerWeire |
| Maintainers | wankdanker |
| Keywords | odbc, pool, connection, string |

## Links

- npm: https://www.npmjs.com/package/odbc-pool
- Repository: https://github.com/wankdanker/node-odbc-pool
- Homepage: https://github.com/wankdanker/node-odbc-pool#readme
- Issues: https://github.com/wankdanker/node-odbc-pool/issues
- npm.io page: https://npm.io/package/odbc-pool

## Dependencies (1)

- [generic-pool](https://npm.io/package/generic-pool.md) ^2.5.4

## Alternatives

- [@mce/gif](https://npm.io/package/@mce/gif.md) — 2.6K weekly downloads
- [cleanse](https://npm.io/package/cleanse.md) — 173 weekly downloads
- [str](https://npm.io/package/str.md) — 127 weekly downloads
- [naming](https://npm.io/package/naming.md) — 95 weekly downloads
- [tap-telco-api](https://npm.io/package/tap-telco-api.md) — 19 weekly downloads

## Recent versions

- 0.0.7 (latest) — 2018-07-13
- 0.0.6 — 2018-04-12
- 0.0.5 — 2014-05-09
- 0.0.4 — 2014-05-09
- 0.0.3 — 2014-05-08
- 0.0.2 — 2014-05-08

## README

node-odbc-pool
--------------

A connection pool for node-odbc based on generic-pool.

description
-----------

This is a connection pooling module that creates instances of generic-pool for each
connection string that is encountered. Using this pool module gains all the benefits
of using the generic-pool module including min and max connections.

install
-------

```bash
npm install odbc-pool
```

usage
-----

node-odbc-pool does not depend on node-odbc, so you must `npm install odbc` before
being able to use this module. The reason for this is so that you can install whatever
verion of node-odbc that you want and not have to mess with the version that this 
module might depend on.

```javascript
var pool = require('odbc-pool');

var myPool = new pool({
	min : 1
	, max : 10
	, log : true
});

myPool.open(process.env.ODBC_CONNECTION_STRING, function (err, client) {
	console.log(client.querySync('select top 10 * from test'));

	client.close(function () {
		console.log('closed');
	});
});
```

license
-------

MIT

---
_Source: https://npm.io/package/odbc-pool · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
