Skip to content

Commit 51c7650

Browse files
TinySqlQuery --> SelectQuery fix.
1 parent 828a8f3 commit 51c7650

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/TinySqlQuery.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1382,7 +1382,7 @@ class PuddySqlQuery {
13821382
* If an ID is provided, returns only the matching record(s) up to the specified count.
13831383
* @param {number} count - Number of rows to retrieve.
13841384
* @param {string|number|null} [filterId=null] - Optional ID to filter by.
1385-
* @param {string|string[]|object} [selectValue='*'] - Defines which columns or expressions should be selected in the query.
1385+
* @param {SelectQuery} [selectValue='*'] - Defines which columns or expressions should be selected in the query.
13861386
* @returns {Promise<FreeObj[]>}
13871387
*/
13881388
async getAmount(count, filterId = null, selectValue = '*') {
@@ -1405,7 +1405,7 @@ class PuddySqlQuery {
14051405
* Get all records from the table.
14061406
* If an ID is provided, returns only the matching record(s).
14071407
* @param {string|number|null} [filterId=null] - Optional ID to filter by.
1408-
* @param {string|string[]|object} [selectValue='*'] - Defines which columns or expressions should be selected in the query.
1408+
* @param {SelectQuery} [selectValue='*'] - Defines which columns or expressions should be selected in the query.
14091409
* @returns {Promise<FreeObj[]>}
14101410
*/
14111411
async getAll(filterId = null, selectValue = '*') {

0 commit comments

Comments
 (0)