We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c88b160 commit 31d5cc0Copy full SHA for 31d5cc0
coffee/api.coffee
@@ -1,9 +1,9 @@
1
#@copyright Ophir LOJKINE
2
3
-apiTemp = Runtime.stackAlloc(4);
+apiTemp = Runtime.stackAlloc(4)
4
5
# Constants are defined in api-data.coffee
6
-SQLite = {};
+SQLite = {}
7
8
### Represents an prepared statement.
9
@@ -374,7 +374,8 @@ class Database
374
### Exports the contents of the database to a binary array
375
@return [Uint8Array] An array of bytes of the SQLite3 database file
376
###
377
- 'export': -> new Uint8Array FS.root.contents[@filename].contents
+ 'export': -> FS.readFile @filename, encoding:'binary'
378
+
379
380
### Close the database, and all associated prepared statements.
381
0 commit comments