[FEATURE]: get[Materialized]ViewName
, ie getTableName
but for (materialized) views.
#3946
Open
1 task done
Labels
enhancement
New feature or request
Feature hasn't been suggested before.
Describe the enhancement you want to request
drizzle-orm: v0.38.2
With the amazing introduction of views, my team and I have started using them heavily.
I find my self doing this:
Nonetheless, I'd like the error message to be more descriptive, ie include the view name.
I tried with
getTableName
but the type$inferInsert
is naturally missing in the materialized view.Is this something easy to implement?
I'm a heavy fan and user of drizzle but have never contributed to the code.
If someone could point me exactly to where I should write this function, I could try to follow from context.
The text was updated successfully, but these errors were encountered: