Force parameter to be of certain type

I use the new Temporal proposal (one of the polyfills). Ideally I would like to set up a mapper so every query parameter would correctly map Temporal.PlainDateTime to timestamp (the one without a timezone). Not as a column type, but as a query Parameter type. I believe one can do it for the underlying postgres.js using their .types option to create a custom driver type mapping. But I could not find anything on the drizzle client. Right now it seems like zoneless timestamp parameters passed as strings get their time zones guessed depending on a system time zone and I get different results on my local machine vs a cloud server.

Any ideas how to force the parameter type in drizzle?
Was this page helpful?