@@ -150,6 +150,17 @@ declare class StaticModel {
150
150
value : string | number | boolean
151
151
) : InstanceType < M >
152
152
153
+ /**
154
+ * Add a basic where clause to the query.
155
+ *
156
+ * @see {@link https://robsontenorio.github.io/vue-api-query/api/query-builder-methods#where|API Reference }
157
+ * @see {@link https://robsontenorio.github.io/vue-api-query/building-the-query#evaluating-a-single-value|Building the Query }
158
+ */
159
+ static where < M extends typeof Model > (
160
+ this : M ,
161
+ filter : Record < string , any >
162
+ ) : InstanceType < M >
163
+
153
164
/**
154
165
* Add a "where in" clause to the query.
155
166
*
@@ -162,6 +173,17 @@ declare class StaticModel {
162
173
values : ( string | number | boolean ) [ ]
163
174
) : InstanceType < M >
164
175
176
+ /**
177
+ * Add a "where in" clause to the query.
178
+ *
179
+ * @see {@link https://robsontenorio.github.io/vue-api-query/api/query-builder-methods#wherein|API Reference }
180
+ * @see {@link https://robsontenorio.github.io/vue-api-query/building-the-query#evaluating-multiple-values|Building the Query }
181
+ */
182
+ static whereIn < M extends typeof Model > (
183
+ this : M ,
184
+ filter : Record < string , any >
185
+ ) : InstanceType < M >
186
+
165
187
/**
166
188
* Add an "order by" clause to the query.
167
189
*
@@ -519,6 +541,14 @@ export class Model extends StaticModel {
519
541
*/
520
542
where ( field : string | string [ ] , value : string | number | boolean ) : this
521
543
544
+ /**
545
+ * Add a basic where clause to the query.
546
+ *
547
+ * @see {@link https://robsontenorio.github.io/vue-api-query/api/query-builder-methods#where|API Reference }
548
+ * @see {@link https://robsontenorio.github.io/vue-api-query/building-the-query#evaluating-a-single-value|Building the Query }
549
+ */
550
+ where ( filter : Record < string , any > ) : this
551
+
522
552
/**
523
553
* Add a "where in" clause to the query.
524
554
*
@@ -527,6 +557,14 @@ export class Model extends StaticModel {
527
557
*/
528
558
whereIn ( field : string | string [ ] , array : ( string | number | boolean ) [ ] ) : this
529
559
560
+ /**
561
+ * Add a "where in" clause to the query.
562
+ *
563
+ * @see {@link https://robsontenorio.github.io/vue-api-query/api/query-builder-methods#wherein|API Reference }
564
+ * @see {@link https://robsontenorio.github.io/vue-api-query/building-the-query#evaluating-multiple-values|Building the Query }
565
+ */
566
+ whereIn ( filter : Record < string , any > ) : this
567
+
530
568
/**
531
569
* Add an "order by" clause to the query.
532
570
*
@@ -813,6 +851,14 @@ declare class Builder {
813
851
*/
814
852
where ( field : string | string [ ] , value : string | number | boolean ) : this
815
853
854
+ /**
855
+ * Add a basic where clause to the query.
856
+ *
857
+ * @see {@link https://robsontenorio.github.io/vue-api-query/api/query-builder-methods#where|API Reference }
858
+ * @see {@link https://robsontenorio.github.io/vue-api-query/building-the-query#evaluating-a-single-value|Building the Query }
859
+ */
860
+ where ( filter : Record < string , any > ) : this
861
+
816
862
/**
817
863
* Add a "where in" clause to the query.
818
864
*
@@ -821,6 +867,14 @@ declare class Builder {
821
867
*/
822
868
whereIn ( field : string | string [ ] , array : ( string | number | boolean ) [ ] ) : this
823
869
870
+ /**
871
+ * Add a "where in" clause to the query.
872
+ *
873
+ * @see {@link https://robsontenorio.github.io/vue-api-query/api/query-builder-methods#wherein|API Reference }
874
+ * @see {@link https://robsontenorio.github.io/vue-api-query/building-the-query#evaluating-multiple-values|Building the Query }
875
+ */
876
+ whereIn ( filter : Record < string , any > ) : this
877
+
824
878
/**
825
879
* Add an "order by" clause to the query.
826
880
*
0 commit comments