Module: PGTrunk::Operation::SQLHelpers

Extended by:
ActiveSupport::Concern
Included in:
PGTrunk::Operation
Defined in:
lib/pg_trunk/core/operation/sql_helpers.rb

Overview

Add helpers for building SQL queries

Instance Method Summary collapse

Instance Method Details

#quote(str) ⇒ Object



40
41
42
# File 'lib/pg_trunk/core/operation/sql_helpers.rb', line 40

def quote(str)
  PGTrunk.database.quote(str)
end