Method: Sequel::Dataset#qualified_identifier_sql_append
- Defined in:
- lib/sequel/dataset/sql.rb
permalink #qualified_identifier_sql_append(sql, table, column = (c = table.column; table = table.table; c)) ⇒ Object
Append literalization of qualified identifier to SQL string. If 3 arguments are given, the 2nd should be the table/qualifier and the third should be column/qualified. If 2 arguments are given, the 2nd should be an SQL::QualifiedIdentifier.
677 678 679 680 681 |
# File 'lib/sequel/dataset/sql.rb', line 677 def qualified_identifier_sql_append(sql, table, column=(c = table.column; table = table.table; c)) identifier_append(sql, table) sql << '.' identifier_append(sql, column) end |