Node-sqlite3: Interrupting/canceling a query

Created on 9 Aug 2019  路  3Comments  路  Source: mapbox/node-sqlite3

Is there any API for interrupting/cancelling a long-running query?

This seems to be supported by the SQLite C interface, but I didn't see if this was exposed to Node.js scripts.

Most helpful comment

API document doesn't have interrupt.
https://github.com/mapbox/node-sqlite3/wiki/API

Please add interrupt entry 馃檹

All 3 comments

Yes this is exposed. See test/interrupt.test.js

API document doesn't have interrupt.
https://github.com/mapbox/node-sqlite3/wiki/API

Please add interrupt entry 馃檹

+1

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rstojkovic picture rstojkovic  路  3Comments

aprilmintacpineda picture aprilmintacpineda  路  3Comments

gabrielfgularte picture gabrielfgularte  路  3Comments

angelochen960 picture angelochen960  路  4Comments

barbalex picture barbalex  路  4Comments