Paul
ec3730722b
feat(drizzle): add support for in and not_in operators on json field ( #8148 )
...
Closes https://github.com/payloadcms/payload/issues/7952
Adds support for `in` and `not_in` operator against JSON field filters.
The following queries are now valid in postgres as well, previously it
only worked in mongo
```ts
await payload.find({
collection: 'posts',
where: {
'data.value': {
in: ['12', '13', '14'],
},
},
context: {
disable: true,
},
})
await payload.find({
collection: 'posts',
where: {
'data.value': {
not_in: ['12', '13', '14'],
},
},
context: {
disable: true,
},
})
```
2024-09-11 11:11:13 -06:00
..
2024-09-10 10:42:22 -04:00
2024-08-29 21:25:50 -04:00
2024-09-06 14:00:53 -04:00
2024-08-29 21:25:50 -04:00
2024-08-19 17:31:36 -04:00
2024-08-29 21:25:50 -04:00
2024-08-29 21:25:50 -04:00
2024-08-29 21:25:50 -04:00
2024-08-29 21:25:50 -04:00
2024-08-29 21:25:50 -04:00
2024-08-29 21:25:50 -04:00
2024-08-29 21:25:50 -04:00
2024-08-29 21:25:50 -04:00
2024-08-29 21:25:50 -04:00
2024-08-29 21:25:50 -04:00
2024-08-29 21:25:50 -04:00
2024-08-29 21:25:50 -04:00
2024-08-29 21:25:50 -04:00
2024-08-29 21:25:50 -04:00
2024-08-29 21:25:50 -04:00
2024-09-11 11:11:13 -06:00
2024-09-08 18:53:12 -06:00
2024-08-29 21:25:50 -04:00
2024-08-29 21:25:50 -04:00
2024-09-04 21:37:00 -04:00
2024-08-29 21:25:50 -04:00
2024-08-29 21:25:50 -04:00
2024-05-12 21:28:19 -04:00
2024-09-08 18:53:12 -06:00
2024-08-13 12:54:33 -04:00
2024-09-09 21:02:56 +00:00
2024-08-29 21:25:50 -04:00
2024-08-13 12:54:33 -04:00
2024-08-29 21:25:50 -04:00
2024-08-29 21:25:50 -04:00
2024-08-29 21:25:50 -04:00
2024-08-29 21:25:50 -04:00
2024-08-29 21:25:50 -04:00
2024-08-29 21:25:50 -04:00
2024-08-29 21:25:50 -04:00
2024-08-29 21:25:50 -04:00
2024-08-29 21:25:50 -04:00
2024-08-29 21:25:50 -04:00
2024-08-29 21:25:50 -04:00
2024-08-29 21:25:50 -04:00
2024-08-29 21:25:50 -04:00
2024-09-10 08:44:38 -04:00
2024-07-23 13:44:44 -04:00
2024-08-29 21:25:50 -04:00
2024-08-29 21:25:50 -04:00
2024-08-29 21:25:50 -04:00
2024-08-29 21:25:50 -04:00
2024-08-29 21:25:50 -04:00
2024-08-29 21:25:50 -04:00
2024-08-29 21:25:50 -04:00
2024-07-11 15:59:38 -04:00
2024-05-25 15:45:05 +00:00
2024-09-04 11:53:43 -04:00
2023-09-01 14:45:41 -04:00
2024-03-07 11:33:46 -05:00
2024-09-06 14:54:39 -04:00
2024-08-19 17:31:36 -04:00
2024-08-29 21:25:50 -04:00
2024-08-13 12:54:33 -04:00
2024-08-13 12:54:33 -04:00
2024-08-13 12:54:33 -04:00
2024-08-19 17:31:36 -04:00
2024-08-06 23:54:34 +00:00
2024-08-22 09:55:55 -04:00
2024-08-13 12:54:33 -04:00
2024-08-26 17:19:14 -04:00
2024-03-19 11:31:50 -04:00
2024-08-19 17:31:36 -04:00
2024-08-23 18:01:21 +00:00
2024-05-01 17:35:41 -04:00
2024-08-13 12:54:33 -04:00
2024-08-19 17:31:36 -04:00
2024-08-14 08:57:04 -04:00
2024-08-14 08:57:04 -04:00
2024-08-21 22:54:47 -04:00
2024-04-06 15:06:04 -04:00
2024-06-17 14:25:36 -04:00
2024-08-19 17:31:36 -04:00
2024-03-14 23:53:47 -04:00
2024-08-29 21:25:50 -04:00
2024-05-13 01:37:52 +00:00