Sha256: 5643c94bc78c1f9251f137a257f54f2ea1da5fda1ea1aed2a75694450ab1ed65

Contents?: true

Size: 518 Bytes

Versions: 2

Compression:

Stored size: 518 Bytes

Contents

class Upsert
  class Connection
    # @private
    class SQLite3_Database < Connection
      def execute(sql, params = nil)
        if params
          Upsert.logger.debug { %{[upsert] #{sql} with #{params.inspect}} }
          raw_connection.execute sql, params
        else
          Upsert.logger.debug { %{[upsert] #{sql}} }
          raw_connection.execute sql
        end
      end
      
      def quote_ident(k)
        DOUBLE_QUOTE + SQLite3::Database.quote(k.to_s) + DOUBLE_QUOTE
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
upsert-1.0.2 lib/upsert/connection/SQLite3_Database.rb
upsert-0.5.0 lib/upsert/connection/sqlite3_database.rb