Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-06-24 | Make dotted fields result in nested maps when querying | Carlo Zancanaro | |
So now something like this: (-> (table :users) (project {:id :user.id, :email :user.email, :person :person.id}) (join (-> (table :people) (project {:id :person.id, :first-name :person.first-name})))) will result in a map like this for each result: {:user {:id 1, :email "..."}, :person {:id 1, :first-name "..."}} Although I've just thought of an issue that will need to be detected where an error should be thrown. I'll deal with that now and commit it soon. | |||
2013-06-21 | Return records on update, return just a count on delete (jdbc) | Carlo Zancanaro | |
2013-06-21 | Add take/drop, move jdbc stuff, document default of postgres | Carlo Zancanaro | |
Add take and drop functionality to the queries, so now you can use the take and drop functions in a similar way to how they work on seqs in clojure. Move jdbc interface stuff into clojure-sql.jdbc, so if you're using jdbc you can include it yourself. (If you're not using jdbc then it shouldn't bother you). Given the default compilation target is actually postgres, document that. |