@@ -19,7 +19,7 @@ export class QueryBuilder<Tables, T = any> {
1919 }
2020
2121 /**
22- * Select 1 or more items from a table
22+ * select 1 or more items from a table
2323 * @param {string|string[] } selector
2424 * @example
2525 *
@@ -48,7 +48,7 @@ export class QueryBuilder<Tables, T = any> {
4848 }
4949
5050 /**
51- * Insert data into a table
51+ * insert data into a table
5252 * @param tableName The name of the table
5353 * @param data Data that needs to be inserted
5454 */
@@ -64,7 +64,7 @@ export class QueryBuilder<Tables, T = any> {
6464 }
6565
6666 /**
67- * Update data from a table
67+ * update data from a table
6868 * @param tableName The name of the table
6969 * @param data Data that needs to be updated
7070 */
@@ -84,7 +84,7 @@ export class QueryBuilder<Tables, T = any> {
8484 }
8585
8686 /**
87- * Delete something from the table
87+ * delete something from the table
8888 * @param selector The table name
8989 * @example
9090 * // delete an item with 'where'
@@ -140,7 +140,7 @@ export class QueryBuilder<Tables, T = any> {
140140 }
141141
142142 /**
143- * Rename a table
143+ * rename a table
144144 * @param oldName The old table name you want to rename
145145 * @param newName The new name
146146 */
@@ -151,7 +151,7 @@ export class QueryBuilder<Tables, T = any> {
151151 }
152152
153153 /**
154- * Drop a database or a table
154+ * drop a database or a table
155155 * @param {string } name The table or database you want to drop
156156 * @param {"table"|"database" } type `table` or `database`
157157 * @param {boolean } ifExists Check if the table/database exists when dropping
@@ -170,7 +170,7 @@ export class QueryBuilder<Tables, T = any> {
170170 }
171171
172172 /**
173- * Delete a column in a database table
173+ * delete a column in a database table
174174 * @param tableName The name of the table
175175 * @param columnName The name of the column you want to drop
176176 */
@@ -187,7 +187,7 @@ export class QueryBuilder<Tables, T = any> {
187187 }
188188
189189 /**
190- * Create a raw query
190+ * create a raw query
191191 * @param query The raw query
192192 * @param values Values that are needed for insert, update, ..
193193 * @example
@@ -206,7 +206,7 @@ export class QueryBuilder<Tables, T = any> {
206206 }
207207
208208 /**
209- * Create a table
209+ * create a table
210210 * @param name The name of the table
211211 * @param primary The primary key
212212 * @param columns The columns that need to be inserted
@@ -230,7 +230,7 @@ export class QueryBuilder<Tables, T = any> {
230230 }
231231
232232 /**
233- * Same as `QueryBuilder#createTable` but only create the table if it doesn't exist
233+ * same as `QueryBuilder#createTable` but only create the table if it doesn't exist
234234 * @see [https://github.com/Dev-CasperTheGhost/mysql.ts/blob/main/docs/Query.md#create-table](https://github.com/Dev-CasperTheGhost/mysql.ts/blob/main/docs/Query.md#create-table)
235235 */
236236 createTableIfNotExists ( name : string , primary : keyof T | undefined , columns : Partial < Record < keyof T , string > > ) {
@@ -243,7 +243,7 @@ export class QueryBuilder<Tables, T = any> {
243243 }
244244
245245 /**
246- * Add more columns to a table
246+ * add more columns to a table
247247 * @param name The name of the table
248248 * @param columns The columns to add
249249 * @example
@@ -267,7 +267,7 @@ export class QueryBuilder<Tables, T = any> {
267267 }
268268
269269 /**
270- * Reset the query string and values
270+ * reset the query string and values
271271 */
272272 resetQuery ( ) {
273273 this . query = "" ;
@@ -277,7 +277,7 @@ export class QueryBuilder<Tables, T = any> {
277277 }
278278
279279 /**
280- * Execute the query
280+ * execute the query
281281 */
282282 async exec ( options ?: Omit < mysql . QueryOptions , "sql" | "values" > ) : Promise < T [ ] | undefined > {
283283 if ( this . config . debugExec === true ) {
0 commit comments