clear!() Instance Public methods Clears out internal caches
add(table_name) Instance Public methods Add internal cache for table with table_name.
new(conn) Class Public methods
type_cast(value, column) Instance Public methods Cast a value to a type that the database understands. For example, SQLite does not understand dates, so this method will convert a Date to a String.
quoted_true() Instance Public methods
quoted_false() Instance Public methods
quoted_date(value) Instance Public methods
quote_table_name_for_assignment(table, attr) Instance Public methods Override to return the quoted table name for assignment. Defaults to table quoting. This works for mysql and mysql2 where table.column can be used to resolve ambiguity. We override this in the sqlite and postgresql adapters to use only the column name (as per syntax requirements).
quote_table_name(table_name) Instance Public methods Quotes the table name. Defaults to column name quoting.
quote_string(s) Instance Public methods Quotes a string, escaping any ' (single quote) and \ (backslash) characters.
Page 223 of 2275