Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Group info
Language: English
Group categories: Not categorized
More group info »
Discussions
View:  Topic list, Topic summary Topics 1 - 10 of 189  Older »

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.
By Vikram Rangnekar  - Jun 13 - 1 new of 1 message    

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 »
By Ballpark  - Jun 10 - 2 new of 2 messages    

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 »
By Jonathan M.  - May 31 - 3 new of 3 messages    

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 »
By Jason  - May 27 - 1 new of 1 message    

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 »
By Daniel Bridges  - May 25 - 1 new of 1 message    

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 »
By CGAT  - May 22 - 1 new of 1 message    

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 »
By CGAT  - May 22 - 4 new of 4 messages    

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
By Jason Bennett  - May 8 - 2 new of 2 messages    

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 »
By Timothy Pratley  - May 6 - 2 new of 2 messages    

How to generate the following query with update fn 
  Hello, I was wondering if it's possible to do the following query using the update fn with a MySQL server *UPDATE table SET column = column + 1;* Thank you for any replies Jonathan
By Jonathan M.  - Apr 30 - 5 new of 5 messages    

1 - 10 of 189   « Newer | Older »

XML       Send email to this group: sqlkorma@googlegroups.com