Skip to content

Commit 7c7be3e

Browse files
ttsirkiaojamin
authored andcommitted
Update api.js documentation for export (sql-js#572)
1 parent 2a9a801 commit 7c7be3e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/api.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1075,7 +1075,9 @@ Module["onRuntimeInitialized"] = function onRuntimeInitialized() {
10751075
return new StatementIterator(sql, this);
10761076
};
10771077

1078-
/** Exports the contents of the database to a binary array
1078+
/** Exports the contents of the database to a binary array. This
1079+
* operation will close and re-open the database which will cause
1080+
* any pragmas to be set back to their default values.
10791081
@return {Uint8Array} An array of bytes of the SQLite3 database file
10801082
*/
10811083
Database.prototype["export"] = function exportDatabase() {

0 commit comments

Comments
 (0)