extract table names from db.query
Hi all, I want to extract the name of a table like this
this.db.query
however if I were to do this
it gives me a readonly version of what I really want, and because my goal is to do something like this
however this is unsuccessful because the when I try to use the type Model
from above it gets angry because this.db.query[model].findFirst
gives me the readonly value, but I want a non readonly value so I can use it properly. Any help is appreciated1 Reply
That type looks good to me. Can you share what is the error that shows?