-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Need a proc to trigger barebone SQL commands #146
Comments
DbConn is a type Norm borrows from ndb. It offers exec proc for both SQLite and Postgres:
What problem specifically are you experiencing? |
I think currently the task of adding an index to a table would be done via using the sql con provided by norm. |
I think having a pragma for it would be great. The code would be very literal, which I like. |
It wouldn't even be that much more work, would it? Like, basically that just means extended If we want to make sure a column can be in multiple indices, we could even make it so that the String is a comma separated list of index-names and during processing we just split by comma, strip the ends of whitespaces and then add the individual fields to the table. I think that might be it already. |
I would like to create indexes on my table, and it doesnt look like possible with norm. I just need a proc like dbConn.exec which supposedly does handle any sql query on postgres, but doesnt work on sqlite for some reason.
The text was updated successfully, but these errors were encountered: