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
Insert values that use SQL functions #3
Comments
Hi Justin, |
Thanks @r0man. I figured out a better way to do what I need in this case (store an By the way, this is a great library! Thanks. I spent yesterday converting my app to SQLingvo, and it is an absolute pleasure to use. |
Hi Justin, I'm glad you found a solution for that. I already thought about Roman On Fri, Feb 21, 2014 at 6:51 PM, Justin Balthrop
|
I was using Korma. On previous projects, I have also used ClojureQL v2 (I helped Lau with some of the API) and java.jdbc directly. |
@r0man looks like I'm at a point where I need this for |
Hi Justin, no it's still not implemented. I'm also on holiday the next
|
@r0man any tips on where to start with this? I've put it off as long as possible, but now I need to be able to update a row to append an element to a postgres array. Something like: (update :item `[(= :tags (|| :tags ~tag))]
(where `(= :id ~id))) Or even better: (update :item `[(=|| :tags ~tag))]
(where `(= :id ~id))) |
Hey Justin, I had something like this in mind for insert statement
and this for update statements
To get started I think we would need to make sure the values of the What do you think? Roman |
That sounds good. Does this mean the first update statement I posted above will work now? |
Hi Justin, I have a branch over here where I played around a bit. https://github.com/r0man/sqlingvo/tree/insert-update-fn Unforntunatly it's not ready yet. Lot's of things are breaking The compiler got also a bit out of control I fear :) Roman |
Interesting. I got to the point of adding |
Nope. Getting the same type of error I got with |
@ninjudd Can you give the latest changes in the |
Closing this issue, since this has been merged a while ago ... |
Is there a way to insert values that depend on SQL?
For example, I'd like to do something like:
The text was updated successfully, but these errors were encountered: