You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a big .sql file that I need to execute in my Adonis application. I'm trying to accomplish this using knexRawQuery() from my connection client, but it seems that multiple statements are not supported.
I know that I can split the statements into Lucid queries, but, the file has a large amount of statements so I would like to not do this.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello people.
I have a big .sql file that I need to execute in my Adonis application. I'm trying to accomplish this using
knexRawQuery()
from my connection client, but it seems that multiple statements are not supported.I know that I can split the statements into Lucid queries, but, the file has a large amount of statements so I would like to not do this.
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions