Firebird high-level native client for Node.js / TypeScript

node-firebird-driver-native is a modern (Firebird 3+ client, Node.js 7+, TypeScript 2+) native client for Firebird based in the node-firebird-driver API.

Installation

yarn add node-firebird-driver-native

Usage example

import { createNativeClient , getDefaultLibraryFilename } from ' node-firebird-driver-native ' ; async function test { ; ; ; await attachment . execute ( transaction , ' create table t1 (n integer, d date) ' ) ; await transaction . commitRetaining ( ) ; ; await statement1 . execute ( transaction , [ 1 , new Date ( ) ] ) ; await statement1 . execute ( transaction , [ 2 , new Date ( ) ] ) ; await statement1 . execute ( transaction , [ 3 , new Date ( ) ] ) ; await statement1 . dispose ( ) ; ; ; for ( of rows ) console . log ( ` n: ${ columns [ 0 ] } , d: ${ columns [ 1 ] } ` ) ; await resultSet . close ( ) ; await transaction . commit ( ) ; await attachment . dropDatabase ( ) ; await client . dispose ( ) ; } test ( ) . then ( console . log ( ' Finish... ' ) ) ;

See more examples in src/test directory.

TODO

Events

Verify usage of node-pre-gyp

Donation

If this project help you reduce time to develop, you can show your appreciation with a donation.

BTC: 1Q1W3tLD1xbk81kTeFqobiyrEXcKN1GfHG