method

quote_table_name_for_assignment

Importance_1
quote_table_name_for_assignment(table, attr) public

Override to return the quoted table name for assignment. Defaults to table quoting.

This works for mysql2 where table.column can be used to resolve ambiguity.

We override this in the sqlite3 and postgresql adapters to use only the column name (as per syntax requirements).

Show source
Register or log in to add new notes.