Skip to content

Commit

Permalink
Update api.js documentation for export (#572)
Browse files Browse the repository at this point in the history
  • Loading branch information
ttsirkia committed Feb 9, 2024
1 parent 6288273 commit c3d228d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -1075,7 +1075,9 @@ Module["onRuntimeInitialized"] = function onRuntimeInitialized() {
return new StatementIterator(sql, this);
};

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

0 comments on commit c3d228d

Please sign in to comment.