You cannot post messages because only members can post, and you are not currently a member.
Description:
Mailing list for Clojure's Korma
|
|
|
Join Tables
|
| |
Is there a way using korma that I can insert into two separate tables and a third join table (for the many-to-many relationship) and wrap it all in a transaction.
|
|
db error running korma tests
|
| |
Hello, I would like to work on issue #69 <[link]>. This will be my first attempt at working on a Korma issue. The first thing I did after cloning the project is run `lein test`. I pasted the results below. It appears that I need to have a database setup. Is this... more »
|
|
SQL_CALC_FOUND_ROWS
|
| |
Hello, I am having trouble generating the following query: *SELECT SQL_CALC_FOUND_ROWS `my_table`.* FROM `my_table` LIMIT 10;* The problem is SQL_CALC_FOUND_ROWS<[link]>. If i add it to the query via fields fn a comma is appended after it which... more »
|
|
transform with relational entities?
|
| |
I have these 2 definitions, when I do the select on users, I get the
json parsed as json automatically, when I do (select posts (with
users)) I get back the posts with users, but the users did not run
the transform. Is there a way I can have the transform occur or am I
doing something wrong?... more »
|
|
Using raw
|
| |
Hi, I'm trying to figure out how to use raw to add text to the end of a query. Basically I'm trying to do something like this: (select users (raw "WHERE id=1")) which would output: SELECT "users".* FROM "users" WHERE "users".id = 1 but I receive an error saying there are too many arguments being passed to... more »
|
|
post-query and transform-by
|
| |
I have a small feature request/idea. It's fairly common (at least for me) to extract particular information from all of the records returned by a select query, with the information that is extracted varying at different points in the code, even if the same query is used. This leads to constructs like... more »
|
|
aliasing with vector entities
|
| |
I was trying to do a self-join and related things with Korma, and after a bit of trial and error and some peeking in the code, I found that vector entities work to create AS aliases. For instance: (select [widgets 'a] ..."SELECT \"a\".\"id\" FROM \"widgets\" AS \"a\", \"widgets\" AS \"b\", ...which is just what I needed. And it works with join as well... more »
|
|
Cache injection
|
| |
I know Korma is still getting its legs underneath it, but has there been any discussion of adding a caching interface? It would be nice to have basic caching (a la MyBatis) for selects and updates without having to recreate the wheel. jason
|
|
oracle connection help
|
| |
Hi, Korma looks very nice but I'm having a tough time connecting to an Oracle DB... my endpoint is u/p@tpratleyw7/tw I can communicate using direct mode through linqpad direct mode and oci (along with other tools) But can't figure out the special incantation in Korma. Also is there a way to just test that the connection can be established... more »
|
|
|