How to type a table with common column names ?
Hey, I have a couple tables that have some common column names, ex.
I want to be able to write a shared function that can be used to build queries with the account_id where condition already added to it, something like this
How should the type
Table
be defined here? I've tried something like this
Is this a good/acceptable way to do it, or is there a more built-in drizzle type that can cover such scenarios?0 Replies