@@ -586,13 +586,13 @@ Module["onRuntimeInitialized"] = function onRuntimeInitialized() {
586586
587587
588588 /** @classdesc
589- * Represents an SQLite database
589+ * Represents a SQLite database
590590 * @constructs Database
591591 * @memberof module:SqlJs
592592 * Open a new database either by creating a new one or opening an existing one,
593593 * stored in the byte array passed in first argument
594594 * @param {number[] } data An array of bytes representing
595- * an SQLite database file
595+ * a SQLite database file
596596 */
597597 function Database ( data ) {
598598 this . filename = "dbfile_" + ( 0xffffffff * Math . random ( ) >>> 0 ) ;
@@ -609,11 +609,11 @@ Module["onRuntimeInitialized"] = function onRuntimeInitialized() {
609609 this . functions = { } ;
610610 }
611611
612- /** Execute an SQL query, ignoring the rows it returns.
612+ /** Execute a SQL query, ignoring the rows it returns.
613613 @param {string } sql a string containing some SQL text to execute
614614 @param {any[] } [params=[]] When the SQL statement contains placeholders,
615615 you can pass them in here. They will be bound to the statement
616- before it is executed. If you use the params argument, you **cannot** provide an sql string
616+ before it is executed. If you use the params argument, you **cannot** provide a sql string
617617 that contains several queries (separated by `;`)
618618
619619 @example
@@ -647,7 +647,7 @@ Module["onRuntimeInitialized"] = function onRuntimeInitialized() {
647647 * @property {Database.SqlValue[][] } values one array per row, containing the column values
648648 */
649649
650- /** Execute an SQL query, and returns the result.
650+ /** Execute a SQL query, and returns the result.
651651 *
652652 * This is a wrapper against
653653 * {@link Database.prepare},
@@ -698,7 +698,7 @@ Module["onRuntimeInitialized"] = function onRuntimeInitialized() {
698698 @param {any[] } [params=[]] When the SQL statement contains placeholders,
699699 you can pass them in here. They will be bound to the statement
700700 before it is executed. If you use the params argument as an array,
701- you **cannot** provide an sql string that contains several queries
701+ you **cannot** provide a sql string that contains several queries
702702 (separated by `;`). This limitation does not apply to params as an object.
703703 * @return {Database.QueryExecResult[] } The results of each statement
704704 */
@@ -757,7 +757,7 @@ Module["onRuntimeInitialized"] = function onRuntimeInitialized() {
757757 }
758758 } ;
759759
760- /** Execute an sql statement, and call a callback for each row of result.
760+ /** Execute a sql statement, and call a callback for each row of result.
761761
762762 **Currently** this method is synchronous, it will not return until the callback
763763 has been called on every row of the result. But this might change.
@@ -796,7 +796,7 @@ Module["onRuntimeInitialized"] = function onRuntimeInitialized() {
796796 return undefined ;
797797 } ;
798798
799- /** Prepare an SQL statement
799+ /** Prepare a SQL statement
800800 @param {string } sql a string of SQL, that can contain placeholders
801801 (`?`, `:VVV`, `:AAA`, `@AAA`)
802802 @param {Statement.BindParams } [params] values to bind to placeholders
0 commit comments