Is there an API where I can directly pass sql quer...
# help
e
Is there an API where I can directly pass sql query without having to use client's select, insert, etc methods?
s
No, this would be bad by design, it would cause security issues too
m
You could also use something like https://knexjs.org/
e
Yeah I understand. Thinking again, people could send unsanitized queries.
m
And connect directly to the database
e
Ah yeah, I forgot the fact that I can directly connect to the database.
For now, like someone suggested, I will go for views.