| Class | TapKit::SQLExpression |
| In: |
lib/tapkit/access/sql.rb
|
| Parent: | Object |
| NULL | = | 'NULL' |
| NAME_KEY | = | :name_key |
| PLACEHOLDER_KEY | = | :placeholder_key |
| ATTRIBUTE_KEY | = | :attribute_key |
| VALUE_KEY | = | :value_key |
| READ_FORMAT | = | '%P' |
| WRITE_FORMAT | = | '%V' |
| aliases | [R] | |
| bind_variables | [R] | |
| encoding | [RW] | |
| entity | [R] | |
| group_by_string | [R] | |
| join_entities | [R] | |
| join_on | [R] | |
| join_relationships | [R] | |
| join_semantic | [R] | |
| list_string | [R] | |
| lock_clause | [R] | |
| order_by_string | [R] | |
| statement | [RW] | |
| use_aliases | [W] | |
| use_bind_variables | [W] | |
| value_list | [R] | |
| where_clause | [R] |
SELECT group_by column_list FROM table_list join_semantic JOIN join_clause WHERE where_clause GROUP BY group_by HAVING having_clause ORDER BY order_clause
attributes, lock, qualifier, fetchorder are unsupported.
SELECT column_list FROM table_list lock_clause join_semantic JOIN join_clause WHERE where_clause ORDER BY order_clause
UPDATE table_list SET update_list WHERE where_clause
Generates a DELETE statement by the following steps:
Generates a INSERT statement by the following steps:
Generates a SELECT statement by the following steps:
Generates a UPDATE statement by the following steps:
left - sql_for_attribute_named, format_sql_string
<left> <operator> <right>
key - sql_for_attribute_named, format_sql_string value - sql_for_value, format_value(sql_pattern)
<key> <operator> <value>