davebanana
DTDrizzle Team
•Created by davebanana on 12/13/2023 in #help
How to define `PostgresJsTransaction` generic parameter based on schema?
Consider the following schema
to parameterize the database instance I can do this:
However how can I parameterize a PostgresJsTransaction based on my schemas?
How should I replace the
any
argument in the generic parameter of `PostgresJsTransaction? Thank you3 replies
DTDrizzle Team
•Created by davebanana on 11/22/2023 in #help
How to inspect generated query?
Hi I have the following:
the
_results
won't filtered based on affiliate.userId
, what do I do wrong?
Basically, I want to achieve this raw query:
Where .getDBContext()
is returning either PostgresJsDatabase
or PostgresJsTransaction
.6 replies