@@ -13,12 +13,12 @@ protected function setUp(): void
13
13
parent ::setUp ();
14
14
}
15
15
16
- public function testOrWhereAll (): void
16
+ public function testOrWhereAllValues (): void
17
17
{
18
18
$ this ->getConnection ()->unprepared ('CREATE TABLE example (val text) ' );
19
19
20
20
$ queries = $ this ->withQueryLog (function (): void {
21
- $ this ->getConnection ()->table ('example ' )->orWhereAll ('val ' , 'ilike ' , ['%test686120% ' , '%test787542% ' ])->orWhereAll ('val ' , 'ilike ' , ['%test470781% ' , '%test236697% ' ])->get ();
21
+ $ this ->getConnection ()->table ('example ' )->orWhereAllValues ('val ' , 'ilike ' , ['%test686120% ' , '%test787542% ' ])->orWhereAllValues ('val ' , 'ilike ' , ['%test470781% ' , '%test236697% ' ])->get ();
22
22
});
23
23
$ this ->assertEquals (
24
24
['select * from "example" where "val" ilike all(array[?, ?]) or "val" ilike all(array[?, ?]) ' ],
@@ -30,12 +30,12 @@ public function testOrWhereAll(): void
30
30
);
31
31
}
32
32
33
- public function testOrWhereAny (): void
33
+ public function testOrWhereAnyValue (): void
34
34
{
35
35
$ this ->getConnection ()->unprepared ('CREATE TABLE example (val text) ' );
36
36
37
37
$ queries = $ this ->withQueryLog (function (): void {
38
- $ this ->getConnection ()->table ('example ' )->orWhereAny ('val ' , 'ilike ' , ['%test702465% ' , '%test825059% ' ])->orWhereAny ('val ' , 'ilike ' , ['%test237377% ' , '%test592812% ' ])->get ();
38
+ $ this ->getConnection ()->table ('example ' )->orWhereAnyValue ('val ' , 'ilike ' , ['%test702465% ' , '%test825059% ' ])->orWhereAnyValue ('val ' , 'ilike ' , ['%test237377% ' , '%test592812% ' ])->get ();
39
39
});
40
40
$ this ->assertEquals (
41
41
['select * from "example" where "val" ilike any(array[?, ?]) or "val" ilike any(array[?, ?]) ' ],
@@ -108,12 +108,12 @@ public function testOrWhereLike(): void
108
108
);
109
109
}
110
110
111
- public function testOrWhereNotAll (): void
111
+ public function testOrWhereNotAllValues (): void
112
112
{
113
113
$ this ->getConnection ()->unprepared ('CREATE TABLE example (val text) ' );
114
114
115
115
$ queries = $ this ->withQueryLog (function (): void {
116
- $ this ->getConnection ()->table ('example ' )->orWhereNotAll ('val ' , 'ilike ' , ['leading793297% ' , '%trailing477609 ' ])->orWhereNotAll ('val ' , 'ilike ' , ['leading737659% ' , '%trailing474646 ' ])->get ();
116
+ $ this ->getConnection ()->table ('example ' )->orWhereNotAllValues ('val ' , 'ilike ' , ['leading793297% ' , '%trailing477609 ' ])->orWhereNotAllValues ('val ' , 'ilike ' , ['leading737659% ' , '%trailing474646 ' ])->get ();
117
117
});
118
118
$ this ->assertEquals (
119
119
['select * from "example" where not "val" ilike all(array[?, ?]) or not "val" ilike all(array[?, ?]) ' ],
@@ -125,12 +125,12 @@ public function testOrWhereNotAll(): void
125
125
);
126
126
}
127
127
128
- public function testOrWhereNotAny (): void
128
+ public function testOrWhereNotAnyValue (): void
129
129
{
130
130
$ this ->getConnection ()->unprepared ('CREATE TABLE example (val text) ' );
131
131
132
132
$ queries = $ this ->withQueryLog (function (): void {
133
- $ this ->getConnection ()->table ('example ' )->orWhereNotAny ('val ' , 'ilike ' , ['%test475277% ' , '%test764076% ' ])->orWhereNotAny ('val ' , 'ilike ' , ['%test936561% ' , '%test250628% ' ])->get ();
133
+ $ this ->getConnection ()->table ('example ' )->orWhereNotAnyValue ('val ' , 'ilike ' , ['%test475277% ' , '%test764076% ' ])->orWhereNotAnyValue ('val ' , 'ilike ' , ['%test936561% ' , '%test250628% ' ])->get ();
134
134
});
135
135
$ this ->assertEquals (
136
136
['select * from "example" where not "val" ilike any(array[?, ?]) or not "val" ilike any(array[?, ?]) ' ],
@@ -172,12 +172,12 @@ public function testOrWhereNotBoolean(): void
172
172
);
173
173
}
174
174
175
- public function testWhereAll (): void
175
+ public function testWhereAllValues (): void
176
176
{
177
177
$ this ->getConnection ()->unprepared ('CREATE TABLE example (val text) ' );
178
178
179
179
$ queries = $ this ->withQueryLog (function (): void {
180
- $ this ->getConnection ()->table ('example ' )->whereAll ('val ' , 'ilike ' , ['leading594111% ' , '%trailing359990 ' ])->get ();
180
+ $ this ->getConnection ()->table ('example ' )->whereAllValues ('val ' , 'ilike ' , ['leading594111% ' , '%trailing359990 ' ])->get ();
181
181
});
182
182
$ this ->assertEquals (
183
183
['select * from "example" where "val" ilike all(array[?, ?]) ' ],
@@ -189,12 +189,12 @@ public function testWhereAll(): void
189
189
);
190
190
}
191
191
192
- public function testWhereAny (): void
192
+ public function testWhereAnyValue (): void
193
193
{
194
194
$ this ->getConnection ()->unprepared ('CREATE TABLE example (val text) ' );
195
195
196
196
$ queries = $ this ->withQueryLog (function (): void {
197
- $ this ->getConnection ()->table ('example ' )->whereAny ('val ' , 'ilike ' , ['%test157552% ' , '%test419109% ' ])->get ();
197
+ $ this ->getConnection ()->table ('example ' )->whereAnyValue ('val ' , 'ilike ' , ['%test157552% ' , '%test419109% ' ])->get ();
198
198
});
199
199
$ this ->assertEquals (
200
200
['select * from "example" where "val" ilike any(array[?, ?]) ' ],
@@ -267,12 +267,12 @@ public function testWhereLike(): void
267
267
);
268
268
}
269
269
270
- public function testWhereNotAll (): void
270
+ public function testWhereNotAllValues (): void
271
271
{
272
272
$ this ->getConnection ()->unprepared ('CREATE TABLE example (val text) ' );
273
273
274
274
$ queries = $ this ->withQueryLog (function (): void {
275
- $ this ->getConnection ()->table ('example ' )->whereNotAll ('val ' , 'ilike ' , ['%test421400% ' , '%test763682% ' ])->get ();
275
+ $ this ->getConnection ()->table ('example ' )->whereNotAllValues ('val ' , 'ilike ' , ['%test421400% ' , '%test763682% ' ])->get ();
276
276
});
277
277
$ this ->assertEquals (
278
278
['select * from "example" where not "val" ilike all(array[?, ?]) ' ],
@@ -284,12 +284,12 @@ public function testWhereNotAll(): void
284
284
);
285
285
}
286
286
287
- public function testWhereNotAny (): void
287
+ public function testWhereNotAnyValue (): void
288
288
{
289
289
$ this ->getConnection ()->unprepared ('CREATE TABLE example (val text) ' );
290
290
291
291
$ queries = $ this ->withQueryLog (function (): void {
292
- $ this ->getConnection ()->table ('example ' )->whereNotAny ('val ' , 'ilike ' , ['%test299285% ' , '%test449782% ' ])->get ();
292
+ $ this ->getConnection ()->table ('example ' )->whereNotAnyValue ('val ' , 'ilike ' , ['%test299285% ' , '%test449782% ' ])->get ();
293
293
});
294
294
$ this ->assertEquals (
295
295
['select * from "example" where not "val" ilike any(array[?, ?]) ' ],
0 commit comments