Fixes https://github.com/payloadcms/payload/issues/12768 Example: ``` const found_1 = await payload.find({ collection: 'categories', where: { 'relatedPosts.id': { equals: post.id } }, }) ``` or ``` const found_2 = await payload.find({ collection: 'categories', where: { relatedPosts: { equals: post.id } }, }) ```
Payload Drizzle Adapter
The Drizzle package is used by db-postgres and db-sqlite for shared functionality of SQL databases. It is not meant to be used directly in Payload projects.