-
Notifications
You must be signed in to change notification settings - Fork 25
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
sql() params don't work in fields or tables list #77
Comments
Any news on this? |
@Suor: I recently went through the open issues & marked some easy ones as I suspect it's not trivial, but not super-hard either, and I was hoping to make time to tackle it within the next few months. If you have time and inclination before then, a pull request would be welcome -- or if you just want to do some initial digging and see where the problem is or where the code will likely need to be changed. |
I just ran in to this when trying to do substitutions for selects with postgis. I don't know if it's any easier, but a utility function to just do a simple value replacement would be a workable alternative. To use the the original example, I was thinking something like this, where select('id', 'title', replace('ts_rank(tsv, plainto_tsquery($))', search))
.from('place').where(...) |
The text was updated successfully, but these errors were encountered: