File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ Result of a paginated SQL query locating a specific item:
3434### 🏷️ TagCriteria
3535Definition for tag group filtering in SQL clauses:
3636- ** group.column** (` string ` | optional): SQL column for tag data (default: ` this.getColumnName() ` ).
37- - ** group.valueName ** (` string ` | optional): Alias for JSON values (default: ` this.defaultValueName ` ).
37+ - ** group.tableName ** (` string ` | optional): Table name used (default: ` this.defaultTableName ` ).
3838- ** group.allowWildcards** (` boolean ` | optional): Allow wildcards in matching (default: ` false ` ).
3939- ** group.include** (` Array<string|string[]> ` ): Tag values or OR-groups to include in filtering.
4040
Original file line number Diff line number Diff line change @@ -179,9 +179,9 @@ This changes whether subqueries use JSON array iteration or direct joins.
179179
180180---
181181
182- ### ` setValueName (value: string)`
182+ ### ` setTableName (value: string)`
183183
184- Sets the alias used in ` EXISTS ` subqueries (commonly ` ' value' ` ) .
184+ Sets the external table name name used in ` EXISTS ` subqueries, typically referencing ` value ` .
185185
186186---
187187
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ import PuddySqlTags from './PuddySqlTags.mjs';
3333 *
3434 * @typedef {Object } TagCriteria - Tag group definition to build the clause from.
3535 * @property {string } [group.column] - SQL column name for tag data (defaults to `this.getColumnName()`).
36- * @property {string } [group.tableName] - Optional table name used (defaults to `this.defaultValueName `).
36+ * @property {string } [group.tableName] - Optional table name used (defaults to `this.defaultTableName `).
3737 * @property {boolean } [group.allowWildcards=false] - Whether wildcards are allowed in matching.
3838 * @property {Array<string|string[]> } [group.include=[]] - Tag values or grouped OR conditions to include.
3939 */
You can’t perform that action at this time.
0 commit comments