Class: ViewData::PG::Handler
- Inherits:
-
Object
- Object
- ViewData::PG::Handler
- Includes:
- Log::Dependency, Messaging::Handle, Commands
- Defined in:
- lib/view_data/pg/handler.rb
Instance Method Summary collapse
Instance Method Details
#configure ⇒ Object
12 13 14 15 |
# File 'lib/view_data/pg/handler.rb', line 12 def configure Session.configure(self) PrimaryKey::GetColumns.configure(self, session: session) end |
#quote_column(column) ⇒ Object
138 139 140 |
# File 'lib/view_data/pg/handler.rb', line 138 def quote_column(column) session.connect.quote_ident(column.to_s) end |
#quote_table_name(name) ⇒ Object
142 143 144 |
# File 'lib/view_data/pg/handler.rb', line 142 def quote_table_name(name) session.connect.quote_ident(name.to_s.split('.')) end |