Unable to use Drizzle SQLite proxy with snake case
I've got two drizzle clients within my electron application.
Drizzle client 1: The main client with access to the local SQLite database. Runs using NodeJS from the electron part of the app.
Drizzle client 2: Proxy client to run queries from the frontend by interacting with the electron process through IPC.
I'm running a query on the frontend using the proxy client, but the columns are not serialized into snake_case as configured. When the query reaches the actual drizzle client on the main process, it runs the query but fails because the column is misnamed.
Is there a way around this, or am I missing something?
0 Replies