Skip to content

Commit c3d228d

Browse files
authored
Update api.js documentation for export (#572)
1 parent 6288273 commit c3d228d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/api.js

+3-1
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)