@@ -164,7 +164,7 @@ describe('PostgisSpatialRelationsPlugin (ORM, live PG)', () => {
164164 const r = await orm . telemedicineClinic
165165 . findMany ( {
166166 select : { id : true , name : true } ,
167- where : { county : { some : { name : { eq : 'Bay County' } } } } ,
167+ where : { county : { some : { name : { equalTo : 'Bay County' } } } } ,
168168 } )
169169 . execute ( ) ;
170170 expect ( r . ok ) . toBe ( true ) ;
@@ -177,7 +177,7 @@ describe('PostgisSpatialRelationsPlugin (ORM, live PG)', () => {
177177 const r = await orm . telemedicineClinic
178178 . findMany ( {
179179 select : { id : true } ,
180- where : { county : { some : { name : { eq : 'LA County' } } } } ,
180+ where : { county : { some : { name : { equalTo : 'LA County' } } } } ,
181181 } )
182182 . execute ( ) ;
183183 expect ( r . ok ) . toBe ( true ) ;
@@ -188,7 +188,7 @@ describe('PostgisSpatialRelationsPlugin (ORM, live PG)', () => {
188188 const r = await orm . telemedicineClinic
189189 . findMany ( {
190190 select : { id : true } ,
191- where : { county : { some : { name : { eq : 'NYC County' } } } } ,
191+ where : { county : { some : { name : { equalTo : 'NYC County' } } } } ,
192192 } )
193193 . execute ( ) ;
194194 expect ( r . ok ) . toBe ( true ) ;
@@ -213,7 +213,7 @@ describe('PostgisSpatialRelationsPlugin (ORM, live PG)', () => {
213213 . findMany ( {
214214 select : { id : true } ,
215215 where : {
216- intersectingCounty : { some : { name : { eq : 'Bay County' } } } ,
216+ intersectingCounty : { some : { name : { equalTo : 'Bay County' } } } ,
217217 } ,
218218 } )
219219 . execute ( ) ;
@@ -228,7 +228,7 @@ describe('PostgisSpatialRelationsPlugin (ORM, live PG)', () => {
228228 . findMany ( {
229229 select : { id : true } ,
230230 where : {
231- coveringCounty : { some : { name : { eq : 'LA County' } } } ,
231+ coveringCounty : { some : { name : { equalTo : 'LA County' } } } ,
232232 } ,
233233 } )
234234 . execute ( ) ;
@@ -245,7 +245,7 @@ describe('PostgisSpatialRelationsPlugin (ORM, live PG)', () => {
245245 const r = await orm . telemedicineClinic
246246 . findMany ( {
247247 select : { id : true } ,
248- where : { county : { none : { name : { eq : 'NYC County' } } } } ,
248+ where : { county : { none : { name : { equalTo : 'NYC County' } } } } ,
249249 } )
250250 . execute ( ) ;
251251 expect ( r . ok ) . toBe ( true ) ;
@@ -260,7 +260,7 @@ describe('PostgisSpatialRelationsPlugin (ORM, live PG)', () => {
260260 const r = await orm . telemedicineClinic
261261 . findMany ( {
262262 select : { id : true } ,
263- where : { county : { every : { name : { startsWith : 'B ' } } } } ,
263+ where : { county : { every : { name : { equalTo : 'Bay County ' } } } } ,
264264 } )
265265 . execute ( ) ;
266266 expect ( r . ok ) . toBe ( true ) ;
@@ -281,7 +281,7 @@ describe('PostgisSpatialRelationsPlugin (ORM, live PG)', () => {
281281 where : {
282282 nearbyClinic : {
283283 distance : 10.0 ,
284- some : { specialty : { eq : 'cardiology' } } ,
284+ some : { specialty : { equalTo : 'cardiology' } } ,
285285 } ,
286286 } ,
287287 } )
@@ -349,8 +349,8 @@ describe('PostgisSpatialRelationsPlugin (ORM, live PG)', () => {
349349 select : { id : true } ,
350350 where : {
351351 and : [
352- { county : { some : { name : { eq : 'Bay County' } } } } ,
353- { specialty : { eq : 'cardiology' } } ,
352+ { county : { some : { name : { equalTo : 'Bay County' } } } } ,
353+ { specialty : { equalTo : 'cardiology' } } ,
354354 ] ,
355355 } ,
356356 } )
@@ -365,8 +365,8 @@ describe('PostgisSpatialRelationsPlugin (ORM, live PG)', () => {
365365 select : { id : true } ,
366366 where : {
367367 or : [
368- { county : { some : { name : { eq : 'Bay County' } } } } ,
369- { name : { eq : 'LA Pediatrics' } } ,
368+ { county : { some : { name : { equalTo : 'Bay County' } } } } ,
369+ { name : { equalTo : 'LA Pediatrics' } } ,
370370 ] ,
371371 } ,
372372 } )
@@ -384,7 +384,7 @@ describe('PostgisSpatialRelationsPlugin (ORM, live PG)', () => {
384384 . findMany ( {
385385 select : { id : true } ,
386386 where : {
387- not : { county : { some : { name : { eq : 'Bay County' } } } } ,
387+ not : { county : { some : { name : { equalTo : 'Bay County' } } } } ,
388388 } ,
389389 } )
390390 . execute ( ) ;
0 commit comments