# node-jdbc-tibero

> This package is help to use tibero jdbc connection

Latest version **0.0.2** (published 2023-08-21) · ISC license · 0 weekly downloads

## Install

```sh
npm install node-jdbc-tibero
pnpm add node-jdbc-tibero
yarn add node-jdbc-tibero
bun add node-jdbc-tibero
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; large bundle; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2023-08-21 |
| First published | 2023-08-21 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 20.3 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | wogudnn |
| Maintainers | wogudnn |
| Keywords | node-jdbc-driver, node, jdbc, node-jdbc, jdbc-driver, hive-jdbc, postgre |

## Links

- npm: https://www.npmjs.com/package/node-jdbc-tibero
- Repository: https://github.com/jh-lee-1/node-jdbc-driver
- Homepage: https://github.com/jh-lee-1/node-jdbc-driver#readme
- Issues: https://github.com/jh-lee-1/node-jdbc-driver/issues
- npm.io page: https://npm.io/package/node-jdbc-tibero

## Dependencies (1)

- [jdbc](https://npm.io/package/jdbc.md) ^0.7.6

## Alternatives

- [@expo/fingerprint](https://npm.io/package/@expo/fingerprint.md) — 6.2M weekly downloads
- [@azure/monitor-opentelemetry-exporter](https://npm.io/package/@azure/monitor-opentelemetry-exporter.md) — 850.0K weekly downloads
- [@azure/monitor-opentelemetry](https://npm.io/package/@azure/monitor-opentelemetry.md) — 624.0K weekly downloads
- [@posthog/ai](https://npm.io/package/@posthog/ai.md) — 423.3K weekly downloads
- [fakefilter](https://npm.io/package/fakefilter.md) — 63.9K weekly downloads

## Recent versions

- 0.0.2 (latest) — 2023-08-21

## README

# node-jdbc-tibero
tibero connect node-jdbc

## Latest Version
- 0.0.1

## Installation
- Release: ```npm i --save node-jdbc-tibero```

## Usage
Some mininal examples are given below.

### Initialize
```javascript
// CommonJS
const { default: JdbcDriver, ConnectionType } = require("node-jdbc-tibero")
// ES6
import JdbcDriver, { ConnectionType } from 'node-jdbc-tibero'

// Set the connection details for the JDBC connection
const host = '<host>';
const port = '<port>';
const database = '<database_name>';
const username = '<username>';
const password = '<password>';
const minpoolsize = '<minpoolsize>';
const maxpoolsize = '<maxpoolsize>';

// Choose connection type
ConnectionType.hive // for hive connection
ConnectionType.postgreSql // for postgreSql connection
ConnectionType.tibero // for postgreSql connection

// Create jdbc connection
const jdbc = new JdbcDriver(ConnectionType.tibero, {host, port, database, username, password, minpoolsize, maxpoolsize})

// check driver version
const version = jdbc.get_version()

// count example
const total = await jdbc.count('<table_name>')

// find example
const row = await jdbc.find('<table_name>', '<where_clouse>')

// find all example
const rows = await jdbc.findAll('<table_name>')

// sql example
const results = await jdbc.sql('<sql_query>')

// ddl example
const results = await jdbc.ddl('<sql_query>')

// list table columns
const columns = await jdbc.get_columns('<table_name>')

// describe table properties
const tblproperties = await jdbc.get_table_properties('<table_name>')
```

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