### What? Converts numbers passed to a text field to avoid the database/drizzle from converting it incorrectly. ### Why? If you have a hook that passes a value to another field you can experience this problem where drizzle converts a number value for a text field to a floating point number in sqlite for example. ### How? Adds logic to `transform/write/traverseFields.ts` to cast text field values to string.
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.