aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/engines/sql/relations
Commit message (Expand)AuthorAgeFilesLines
* avoid double call to to_s, avoid present?Aaron Patterson2010-07-201-1/+5
* Performance: use blocks only when needed.Emilio Tagua2010-06-241-2/+6
* Allow externally defined AR adapters to define their own compiler.Myron Marston2010-06-231-2/+8
* Don't use a subquery when there are joins. Use a required alias for the subqu...Emilio Tagua2010-06-231-3/+4
* Add support for counting rows with conditions or limit using a subquery.Emilio Tagua2010-06-231-6/+17
* Merge branch 'master' of github.com:brynary/arelEmilio Tagua2010-05-271-1/+1
|\
| * Whitespace fixesBryan Helmkamp2010-05-261-1/+1
* | Fix tests to work properly on Ruby 1.9, honor multiple calls to #order in mem...Ernie Miller2010-05-211-2/+2
|/
* Added NotMatch and NotIn predicates, made Not derive from Equality (reverted ...Ernie Miller2010-05-071-0/+4
* Create an Arel::Header class representing a relation's attributesCarl Lerche2010-04-022-5/+9
* Use adapter add_limit_offset! method when building query.Emilio Tagua2010-03-251-5/+5
* Switch Arel::Relation to a module. This will allow for classes with Relation ...Carl Lerche2010-03-225-6/+6
* fixing uninitialized ivar warningAaron Patterson2010-03-141-0/+1
* Attributes should be typedCarl Lerche2010-03-121-5/+3
* Arel doesn't has to know if a table or column exists.Emilio Tagua2010-03-101-3/+15
* cache primary key per engine connection, updated gemspec fileRaimonds Simanovskis2010-03-011-4/+6
* changes for Oracle support - OracleCompiler and corresponding tests with Orac...Raimonds Simanovskis2010-03-012-65/+75
* Moved adding of limit on deletion and adding of limit on update conditions to...Praveen Devarao2010-02-252-5/+8
* Refactored primary_key to look up for the real primary_key and cache it.Emilio Tagua2010-02-191-4/+5
* Insertions should use insert and not execute to get a valid returningEmilio Tagua2010-02-183-26/+29
* Fixed compiler require.Emilio Tagua2010-02-181-1/+1
* Added support for RETURNING primary key when available, only forEmilio Tagua2010-02-182-1/+6
* Moved primary_key to relation, send pk to engine, to build a betterEmilio Tagua2010-02-182-7/+10
* Move update conditions with limit logic into compilers.Emilio Tagua2010-02-162-10/+12
* If a compiler is not found for the current adapter, use the generic one.Emilio Tagua2010-02-161-1/+5
* Move using_distinct_on? to PostgreSQL compiler. Extract order tweakingEmilio Tagua2010-02-161-4/+0
* Extract SQL logic from Arel::Relation into compilers.Emilio Tagua2010-02-154-73/+78
* Table alias should be considered when checking for equalityPratik Naik2010-01-121-2/+3
* Make sure not to use alias if it's same as the table namePratik Naik2010-01-121-1/+1
* Add support for table aliasingPratik Naik2010-01-011-3/+15
* Remove every new line when generating queries, this may build invalid queries...Emilio Tagua2009-12-312-5/+5
* Added having to use in combination with group to filter records.Emilio Tagua2009-12-281-0/+6
* Don't try to lock reads when using any SQLite adapter, it's redundantEmilio Tagua2009-12-281-1/+1
* Added lock to Arel, allowing a locking read if required.Emilio Tagua2009-12-271-2/+4
* Don't split sql logging across multiple lines.Emilio Tagua2009-12-271-1/+1
* Added "from" method, allowing to specify custom from clauses.Emilio Tagua2009-12-271-2/+6
* Don't split sql logging across multiple lines.Emilio Tagua2009-12-261-1/+1
* Ruby 1.9: Array#to_s behaves like inspect now, so we don't want to use it her...Bryan Helmkamp2009-11-101-1/+1
* Ruby 1.9: Sort attributes deterministically so specs always passBryan Helmkamp2009-11-091-3/+19
* Removing unused params from #to_sql methods on writesBryan Helmkamp2009-10-011-3/+4
* WhitespaceBryan Helmkamp2009-09-301-9/+9
* Allow joining a StringJoin with another join relation.Emilio Tagua2009-08-141-2/+2
* Allow SQL strings to insert query. Insert should better return engine's result.Emilio Tagua2009-07-011-3/+8
* If the class or method isn't defined use "id" as primary_key.Emilio Tagua2009-06-231-1/+6
* Build valid SQL query when using PostreSQL with given order and DISTINCTEmilio Tagua2009-06-231-0/+24
* Build valid SQL query for SQLite3 and PostgreSQL when updating records with l...Emilio Tagua2009-06-231-2/+18
* Allow strings as update assignmentsEmilio Tagua2009-06-101-3/+7
* Expand usages of #hash_on. The #hash definition it produces looks broken, but...Bryan Helmkamp2009-05-181-1/+8
* Extracting #build_query method for creating SQL from partsBryan Helmkamp2009-05-173-16/+25
* Refactor #select_sql. Extract methods to generate clausesBryan Helmkamp2009-05-171-7/+27