DB and Transaction types
I am creating a drizzle instance like this
Now I want to allow for functions to pass in a transaction or drizzle db
I am somewhat lost on the types.
Or is there a better way of allowing for optional transactions in a function?
Now I want to allow for functions to pass in a transaction or drizzle db
I am somewhat lost on the types.
Or is there a better way of allowing for optional transactions in a function?