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 you2 Replies
I found a way to use ExtractTablesWithRelation
Now that my PostgresJsTransction is defined as follow:
However when using
.findMany()
without specifying the columns, I get improper hinting.