orange-orm 4.7.10-beta.3 → 4.7.10
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/package.json +1 -1
- package/src/map2.d.ts +5 -5
package/package.json
CHANGED
package/src/map2.d.ts
CHANGED
|
@@ -676,20 +676,20 @@ export type TableClient<M extends Record<string, TableDefinition<M>>, K extends
|
|
|
676
676
|
// Array methods - return arrays with array-level active record methods, but individual items are plain
|
|
677
677
|
getAll(): Promise<WithArrayActiveRecord<Array<DeepExpand<Selection<M, K, {}>>>, M, K>>;
|
|
678
678
|
getAll<strategy extends FetchStrategy<M, K>>(strategy: strategy): Promise<WithArrayActiveRecord<Array<DeepExpand<Selection<M, K, strategy>>>, M, K>>;
|
|
679
|
-
getMany(filter
|
|
680
|
-
getMany<strategy extends FetchStrategy<M, K>>(filter
|
|
679
|
+
getMany(filter?: RawFilter | Array<PrimaryKeyObject<M, K>>): Promise<WithArrayActiveRecord<Array<DeepExpand<Selection<M, K, {}>>>, M, K>>;
|
|
680
|
+
getMany<strategy extends FetchStrategy<M, K>>(filter?: RawFilter | Array<PrimaryKeyObject<M, K>>, strategy?: strategy): Promise<WithArrayActiveRecord<Array<DeepExpand<Selection<M, K, strategy>>>, M, K>>;
|
|
681
681
|
|
|
682
682
|
// Aggregate methods - return plain objects (no active record methods)
|
|
683
683
|
aggregate<strategy extends AggregateStrategy<M, K>>(strategy: strategy): Promise<Array<DeepExpand<AggregateCustomSelectorProperties<M, K, strategy>>>>;
|
|
684
684
|
|
|
685
685
|
// Single item methods - return individual objects with individual active record methods
|
|
686
686
|
getOne<strategy extends FetchStrategy<M, K>>(
|
|
687
|
-
filter
|
|
687
|
+
filter?: RawFilter | Array<PrimaryKeyObject<M, K>>
|
|
688
688
|
): Promise<WithActiveRecord<DeepExpand<Selection<M, K, strategy>>, M, K>>;
|
|
689
689
|
|
|
690
690
|
getOne<strategy extends FetchStrategy<M, K>>(
|
|
691
|
-
filter
|
|
692
|
-
strategy
|
|
691
|
+
filter?: RawFilter | Array<PrimaryKeyObject<M, K>>,
|
|
692
|
+
strategy?: strategy
|
|
693
693
|
): Promise<WithActiveRecord<DeepExpand<Selection<M, K, strategy>>, M, K>>;
|
|
694
694
|
|
|
695
695
|
getById<strategy extends FetchStrategy<M, K>>(
|