broken format query
Closed this issue · 4 comments
Thank you @luiscobot ! I must be doing something wrong with Vue.js 🤔
I wasn't able to reproduce. Do you see any error in the console? I'm guessing something breaks the QueryItem.vue
component.
Yes, when I click format
I got this error in browser console
Error: Parse error: Unexpected "$1 LIMIT $" at line 1 column 52.
This likely happens because you're using the default "sql" dialect.
If possible, please select a more specific dialect (like sqlite, postgresql, etc).
This is my query
SELECT "field_service_groups".* FROM "field_service_groups" WHERE "field_service_groups"."number" = $1 LIMIT $2
Thank you @luiscobot I think this should fix it: #35
I'll make a new release this weekend.
Version 0.3.2 should fix this. If you don't use the ERB helper, make sure you defined the activerecord config (bottom of the page here)