Skip to content

Added blobAsText support for text blobs#167

Open
MartinKoeditz wants to merge 1 commit into
asfernandes:masterfrom
MartinKoeditz:master
Open

Added blobAsText support for text blobs#167
MartinKoeditz wants to merge 1 commit into
asfernandes:masterfrom
MartinKoeditz:master

Conversation

@MartinKoeditz

@MartinKoeditz MartinKoeditz commented Apr 22, 2026

Copy link
Copy Markdown

feat: add blobAsText option for BLOB SUB_TYPE TEXT
test: cover blobAsText in shared driver test suite

That way it can simply used be knex-firebird-adapter (and others) for reading text BLOBs.

@MartinKoeditz

Copy link
Copy Markdown
Author

Sample:

import { createNativeClient, getDefaultLibraryFilename } from 'node-firebird-driver-native';

const client = createNativeClient(getDefaultLibraryFilename());

const attachment = await client.connect('/path/to/database.fdb', {
  username: 'SYSDBA',
  password: 'masterkey',
  blobAsText: true,
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant