Bruno Deferrari
Bruno Deferrari
Ok, doing this now. Also upgrading jbuilder -> dune
Well, I made a lot of changes, but I'm still not sure about how to integrate ppx_deriving with OMP, I vaguely remember this being an issue before (or it was...
For anyone reaching this PR like I did and wondering why it hasn't been merged: https://lists.ocamlcore.org/pipermail/pgocaml-general/2016-August/000088.html
I can't think of any good solution. Other than what you mention, the alternative is to replace the whole expression ` IN ()` for `false` and ` NOT IN ()`...
Thinking a bit more about it, the `IN ()` case can be replaced by `IN (NULL)` while retaining the expected behaviour, right? It is `NOT IN ()` that gets weird....
@NightBlues I have an untested alternative that may solve every case in a clean way, while at the same time avoiding the need of having to create a separate prepared...
@NightBlues by now you probably have this solved already, but I found another solution that seems to work fine: ```sql -- Equivalent to IN (...) SELECT COUNT(*) FROM users WHERE...
Hello @baransu. What the extension does is just replace variables with placeholders, build a prepared statement with the resulting query, and wrap it in a function with named arguments. So...
Thank you! looks good. Let me investigate and think a bit more before merging. So far I have found that this seems to be a common problem in libraries that...
Thank you @NightBlues. This is a bit complicated, and I don't have a good solution right now, will have to check during the weekend to see if I can figure...