pqb 0.1.6 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +0 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/queryMethods/where.ts +1 -1
- package/src/relations.ts +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -223,8 +223,8 @@ declare class WhereQueryBuilder<Q extends QueryBase = QueryBase> extends Where i
|
|
|
223
223
|
query: QueryData;
|
|
224
224
|
selectable: Q['selectable'];
|
|
225
225
|
shape: Q['shape'];
|
|
226
|
+
relations: Q['relations'];
|
|
226
227
|
__model: Query;
|
|
227
|
-
relations: {};
|
|
228
228
|
withData: {};
|
|
229
229
|
constructor(q: QueryBase | string, shape: ColumnsShape);
|
|
230
230
|
clone<T extends this>(this: T): T;
|
|
@@ -430,7 +430,7 @@ declare type BaseRelation = {
|
|
|
430
430
|
key: string;
|
|
431
431
|
model: QueryWithTable;
|
|
432
432
|
query: QueryWithTable;
|
|
433
|
-
joinQuery(fromQuery: QueryBase, toQuery:
|
|
433
|
+
joinQuery(fromQuery: QueryBase, toQuery: Query): Query;
|
|
434
434
|
nestedCreateQuery: Query;
|
|
435
435
|
nestedInsert?: BelongsToNestedInsert | HasOneNestedInsert | HasManyNestedInsert;
|
|
436
436
|
nestedUpdate?: BelongsToNestedUpdate | HasOneNestedUpdate | HasManyNestedUpdate;
|
package/dist/index.esm.js
CHANGED