nukak-sqlite
Advanced tools
Changelog
[0.3.0] - 2023-10-18
Add support for transaction
operations using a QuerierPool.
Automatically wraps the code of the callback inside a transaction, and auto-releases the querier after running.
Update dependencies.
const ids = await querierPool.transaction(async (querier) => {
const data = await querier.findMany(...);
const ids = await querier.insertMany(...);
return ids;
});
Changelog
[0.2.21] 2023-04-15
fix(nukak-browser): check if ids are returned before use $in to delete them.
Reuse community open-source npm packages to escape literal-values according to each DB vendor.