Class: LogicaCompiler::SqlDialect::Postgres
- Inherits:
-
Object
- Object
- LogicaCompiler::SqlDialect::Postgres
- Defined in:
- lib/logica_compiler/sql_dialect/postgres.rb
Instance Method Summary collapse
Instance Method Details
#placeholder(index) ⇒ Object
6 |
# File 'lib/logica_compiler/sql_dialect/postgres.rb', line 6 def placeholder(index) = "$#{index}" |
#statement_timeout_sql(connection, timeout) ⇒ Object
8 9 10 |
# File 'lib/logica_compiler/sql_dialect/postgres.rb', line 8 def statement_timeout_sql(connection, timeout) "SET LOCAL statement_timeout = #{connection.quote(timeout)}" end |