How to alias a table's "SELECT *" return type? #4491
Unanswered
david-sabata
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Despite the nice type inference for queries, I still want to have a type for the "entity". Meaning a full DB row - basically a type for what a
SELECT *
query would return.Is there a way to get to the drizzle-generated type without re-defining it?
My schema is pretty basic, e.g.
And I'm looking for something like
Beta Was this translation helpful? Give feedback.
All reactions