@rip-lang/db 1.3.23 → 1.3.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/db.rip +5 -0
- package/package.json +2 -2
package/db.rip
CHANGED
|
@@ -292,6 +292,11 @@ post '/ddb/run' ->
|
|
|
292
292
|
console.error "POST /ddb/run error:", msg
|
|
293
293
|
binaryResponse serializeErrorResult msg
|
|
294
294
|
|
|
295
|
+
# POST /shutdown — Gracefully close the database and exit
|
|
296
|
+
post '/shutdown' ->
|
|
297
|
+
setImmediate -> db.close(); process.exit 0
|
|
298
|
+
{ ok: true }
|
|
299
|
+
|
|
295
300
|
# POST /ddb/interrupt — Cancel running query
|
|
296
301
|
post '/ddb/interrupt' ->
|
|
297
302
|
binaryResponse serializeEmptyResult()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rip-lang/db",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.24",
|
|
4
4
|
"description": "DuckDB server with official DuckDB UI - pure Bun FFI",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "db.rip",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"author": "Steve Shreeve <steve.shreeve@gmail.com>",
|
|
39
39
|
"license": "MIT",
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"rip-lang": ">=3.13.
|
|
41
|
+
"rip-lang": ">=3.13.37",
|
|
42
42
|
"@rip-lang/server": ">=1.3.0"
|
|
43
43
|
},
|
|
44
44
|
"files": [
|