Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Extract `sanitize_as_sql_comment` from SQL visitor into connection | Ryuta Kamizono | 2019-03-19 | 1 | -1/+2 |
| | | | | Probably that is useful for any other feature as well. | ||||
* | Support Optimizer Hints | Ryuta Kamizono | 2019-03-16 | 1 | -0/+12 |
| | | | | | | | | | | | | | | | | | | We as Arm Treasure Data are using Optimizer Hints with a monkey patch (https://gist.github.com/kamipo/4c8539f0ce4acf85075cf5a6b0d9712e), especially in order to use `MAX_EXECUTION_TIME` (refer #31129). Example: ```ruby class Job < ApplicationRecord default_scope { optimizer_hints("MAX_EXECUTION_TIME(50000) NO_INDEX_MERGE(jobs)") } end ``` Optimizer Hints is supported not only for MySQL but also for most databases (PostgreSQL on RDS, Oracle, SQL Server, etc), it is really helpful to turn heavy queries for large scale applications. | ||||
* | Arel: Implemented DB-aware NULL-safe comparison (#34451) | Dmytro Shteflyuk | 2018-11-15 | 1 | -0/+6 |
| | | | | | | | | | * Arel: Implemented DB-aware NULL-safe comparison * Fixed where clause inversion for NULL-safe comparison * Renaming "null_safe_eq" to "is_not_distinct_from", "null_safe_not_eq" to "is_distinct_from" [Dmytro Shteflyuk + Rafael Mendonça França] | ||||
* | Arel: :nodoc: all | Matthew Draper | 2018-02-24 | 1 | -1/+1 |
| | |||||
* | Arel: rubocop -a | Matthew Draper | 2018-02-24 | 1 | -6/+6 |
| | |||||
* | Merge Arel into Active Record | Matthew Draper | 2018-02-24 | 1 | -0/+15 |