# oraclefl

> A fantasy-land wrapper around the node oracle library

Latest version **0.1.2** (published 2019-07-29) · ISC license · 0 weekly downloads

## Install

```sh
npm install oraclefl
pnpm add oraclefl
yarn add oraclefl
bun add oraclefl
```

## 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.1.2 |
| Published | 2019-07-29 |
| First published | 2019-07-26 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Unpacked size | 19.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Benjamin Reul |
| Maintainers | breul |

## Links

- npm: https://www.npmjs.com/package/oraclefl
- npm.io page: https://npm.io/package/oraclefl

## Dependencies (6)

- [ramda](https://npm.io/package/ramda.md) ^0.26.1
- [fluture](https://npm.io/package/fluture.md) ^11.0.2
- [oracledb](https://npm.io/package/oracledb.md) ^3.1.2
- [sanctuary](https://npm.io/package/sanctuary.md) ^2.0.0
- [camelcase-keys](https://npm.io/package/camelcase-keys.md) ^6.0.0
- [fluture-sanctuary-types](https://npm.io/package/fluture-sanctuary-types.md) ^4.0.0

## Recent versions

- 0.1.2 (latest) — 2019-07-29
- 0.1.1 — 2019-07-28
- 0.1.0 — 2019-07-26

## README

# oraclefl

forked from https://github.com/tb01923/spikes/tree/master/spikes 

# Usage

Run `npm install oraclefl` or `yarn add oraclefl` to install this package.

# Docs

### Bindings

A simple set of bindings to simplify binding queries
Bindings include:
* `BIND_OUT_NUMBER`
* `BIND_IN_NUMBER`
* `BIND_IN_STRING`

### Builders

A set of defined builders that already have a formatter associated with the query.
You can use these in lieu of `executeOracle` or `executeManyOracle` if you don't want to specify your own formating function.

Builders include:
* `buildSelectOneStatement`
* `buildSelectOneStatementCamelCase`
* `buildSelectAllStatementCamelCase`
* `buildSelectAllStatement`
* `buildUpdateStatement`
* `buildUpdateBatchStatement`
* `buildProcedure`

### Executers

A set of fluture wrappers around oracle's `.execute` and `.executeMany` functions.
Their respective type signatures are below:
* `executeOracle :: formatter -> query -> binding -> oracledb -> Future Result`
* `executeManyOracle :: formatter -> query -> bindings -> bindingDefinitions -> oracledb -> Future Result`

The `withConnection` function requires an oracle connection to be passed, and
depending on the execution function you select (`executeSingle` or `executeInSeries`),
will apply the connection to your query or your sequence of queries.

### Helpers

A set of helper functions that simplify the executers.

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