Class/Module Index [+]

Quicksearch

Sequel::JDBC::Postgres::Dataset

Dataset subclass used for datasets that connect to PostgreSQL via JDBC.

Public Instance Methods

literal_string(v) click to toggle source

Literalize strings similar to the native postgres adapter

# File lib/sequel/adapters/jdbc/postgresql.rb, line 95
def literal_string(v)
  db.synchronize{|c| "'#{c.escape_string(v)}'"}
end
prepare(*args) click to toggle source

Add the shared PostgreSQL prepared statement methods

# File lib/sequel/adapters/jdbc/postgresql.rb, line 88
def prepare(*args)
  ps = super
  ps.extend(::Sequel::Postgres::DatasetMethods::PreparedStatementMethods)
  ps
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.