Module: PGB::Shortcuts
- Extended by:
- Shortcuts
- Included in:
- EvaluationContext, Model, Model, Shortcuts
- Defined in:
- lib/pgb/shortcuts.rb
Overview
TODO Support dynamic param evaluation
Instance Method Summary collapse
Instance Method Details
#[] ⇒ Object
28 29 30 |
# File 'lib/pgb/shortcuts.rb', line 28 def [](...) PGB::Identifier.new(...) end |
#execute ⇒ Object
8 9 10 |
# File 'lib/pgb/shortcuts.rb', line 8 def execute(...) PGB.execute(...) end |
#from(table) ⇒ Object
16 17 18 |
# File 'lib/pgb/shortcuts.rb', line 16 def from(table) PGB::Query.new(table) end |
#func ⇒ Object
20 21 22 |
# File 'lib/pgb/shortcuts.rb', line 20 def func(...) PGB::FunctionCall.new(...) end |