1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

39 commits

Author SHA1 Message Date
Aaron Patterson
2b20a48851 making stuff work on mysql 2010-09-21 09:20:14 -07:00
Aaron Patterson
6f9f83e474 if FROM is a string, convert to string literal 2010-09-18 13:42:54 -07:00
Aaron Patterson
b93a23827a adding an EXISTS node, update method will generate an IN clause 2010-09-14 13:39:33 -07:00
Aaron Patterson
9d95e7d3c1 totally lame, but arel expects FROM to only be one item 2010-09-12 19:49:02 -07:00
Aaron Patterson
af61eedc1a order accepts symbols for clauses 2010-09-12 19:27:54 -07:00
Aaron Patterson
5ea9813003 OUTER JOIN should be LEFT OUTER JOIN 2010-09-12 19:22:19 -07:00
Aaron Patterson
6cd4e8f51f supporting symbols for group statements 2010-09-12 18:23:28 -07:00
Aaron Patterson
d4abd35feb using table_alias when :as is passed to the constructor 2010-09-12 18:15:21 -07:00
Aaron Patterson
dcb46b0016 adding some backwards compatibility 2010-09-12 16:53:12 -07:00
Aaron Patterson
14ad563ee1 supporting StringJoin in the JoinSQL visitor 2010-09-12 15:45:59 -07:00
Aaron Patterson
77701cb501 fixing indentation 2010-09-10 17:52:46 -07:00
Aaron Patterson
54448c5209 adding some backwards compatibility for AR 2010-09-10 17:05:10 -07:00
Aaron Patterson
e7648f2692 adding "orders" method 2010-09-10 10:45:05 -07:00
Aaron Patterson
ac2bdd1dd3 adding an offset node 2010-09-10 09:47:50 -07:00
Aaron Patterson
9efae8f92d adding taken method to return the limit value 2010-09-09 15:58:06 -07:00
Aaron Patterson
67d2f9a922 adding a Value node so that SqlLiteral values may be used 2010-09-09 15:20:25 -07:00
Aaron Patterson
5c9d75db74 adding locking node to the AST 2010-09-08 17:32:44 -07:00
Aaron Patterson
b4bcb93276 on can take multiple args 2010-09-07 17:42:40 -07:00
Aaron Patterson
cea486ac81 group is implemented on table 2010-09-07 16:09:58 -07:00
Aaron Patterson
6e05eef9e9 group nodes are working! 2010-09-07 15:47:38 -07:00
Aaron Patterson
d0e6b969d6 nooping on nil parameters 2010-09-07 15:27:08 -07:00
Aaron Patterson
5b480bc60b OUTER joins should be LEFT outer joins 2010-09-07 15:26:21 -07:00
Aaron Patterson
9f9b32544d getting better on joins 2010-09-07 15:10:27 -07:00
Aaron Patterson
40f31b6f5e failing test for join on select manager 2010-09-07 14:49:37 -07:00
Aaron Patterson
da958b98ea adding order clauses method to the select manager 2010-08-24 18:36:59 -07:00
Aaron Patterson
55d1f9fd12 adding string join nodes and a visitor to produce backwards compatible "join_sql" 2010-08-24 17:59:03 -07:00
Aaron Patterson
f2144229f5 project takes *args now 2010-08-23 14:59:53 -07:00
Aaron Patterson
0b0609569b delete delegates to the connection 2010-08-23 13:41:34 -07:00
Aaron Patterson
8966434f2a making sure update delegates to update and insert delegates to insert 2010-08-23 13:28:08 -07:00
Aaron Patterson
a3b8ef8375 orders are working 2010-08-22 18:13:39 -07:00
Aaron Patterson
3283adc6d0 Merge branch 'v1' of github.com:flavorjones/arel into v1
* 'v1' of github.com:flavorjones/arel:
  DeleteStatement deep copy
  cleaning up describe/it block names
  SelectCore deep copies attributes
  Statement nodes deep-copy AST nodes
  TreeManager classes deep-copy their statements.
2010-08-19 10:38:07 -07:00
Aaron Patterson
6451188abf adding outer joins 2010-08-19 10:37:50 -07:00
Mike Dalessio
788f33fb59 TreeManager classes deep-copy their statements. 2010-08-19 01:37:18 -04:00
Aaron Patterson
6b851c686f joins can be created 2010-08-18 16:32:32 -07:00
Aaron Patterson
0403efa4c6 delete manager added 2010-08-18 11:32:44 -07:00
Aaron Patterson
e9a22ec1af fixing update support 2010-08-18 09:52:16 -07:00
Aaron Patterson
4146538dfd IN seems to work 2010-08-16 14:43:18 -07:00
Aaron Patterson
e1155aa922 update is working on the select manager 2010-08-14 19:48:33 -07:00
Aaron Patterson
9fc70e22f9 insert manager implements "insert" 2010-08-13 18:28:38 -07:00
Renamed from spec/arel/select_manager.rb (Browse further)