Skip to content

Commit

Permalink
Merge branch 'main' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
flancer64 committed Oct 10, 2024
2 parents a5c1f3f + fdf2915 commit c86ca1b
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 151 deletions.
4 changes: 4 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# @teqfw/db: releases

## 0.22.1

* Detect `Client_BetterSQLite3` constructor.

## 0.22.0

* Add the selection DTO for listing queries.
Expand Down
83 changes: 0 additions & 83 deletions doc/selection.md

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@teqfw/db",
"version": "0.22.0",
"version": "0.22.1",
"description": "TeqFW: DB connectivity.",
"scripts": {
"test": "./node_modules/mocha/bin/_mocha --recursive './test/mod/**/*.test.mjs'"
Expand Down
3 changes: 2 additions & 1 deletion src/Back/RDb/Trans.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ export default class TeqFw_Db_Back_RDb_Trans {
}

isSqlite() {
return this.#trx?.client?.constructor?.name === 'Client_SQLite3';
const name = this.#trx?.client?.constructor?.name;
return (name === 'Client_SQLite3') || (name === 'Client_BetterSQLite3');
}

async commit() {
Expand Down
66 changes: 0 additions & 66 deletions test/man/Back/Mod/Selection.test.mjs

This file was deleted.

0 comments on commit c86ca1b

Please sign in to comment.