Class: DBI::DBD::Pg::PgExecutor

### Home Classes Methods

### In Files

- lib/dbd/pg/exec.rb

### Parent

Object

### Methods

- ::new
- #exec
- #exec_prepared
- #prepare

### Files

- ChangeLog
- LICENSE
- README

### Class/Module Index

Quicksearch

- DBI
- DBI::DBD
- DBI::DBD::Pg
- DBI::DBD::Pg::Database
- DBI::DBD::Pg::Driver
- DBI::DBD::Pg::PgExecutor
- DBI::DBD::Pg::PgExecutorAsync
- DBI::DBD::Pg::Statement
- DBI::DBD::Pg::Statement::DummyQuoter
- DBI::DBD::Pg::Tuples
- DBI::DBD::Pg::Type
- DBI::DBD::Pg::Type::Array
- DBI::DBD::Pg::Type::ByteA

No matching classes.

# DBI::DBD::Pg::PgExecutor

Convenience adaptor to hide details command execution API calls. See PgExecutorAsync subclass

### Public Class Methods

new(pg_conn) click to toggle source

    # File lib/dbd/pg/exec.rb, line 6
    def initialize(pg_conn)
        @pg_conn = pg_conn
    end

### Public Instance Methods

exec(sql, parameters = nil) click to toggle source

    # File lib/dbd/pg/exec.rb, line 10
    def exec(sql, parameters = nil)
        @pg_conn.exec(sql, parameters)
    end

exec_prepared(stmt_name, parameters = nil) click to toggle source

    # File lib/dbd/pg/exec.rb, line 14
    def exec_prepared(stmt_name, parameters = nil)
        @pg_conn.exec_prepared(stmt_name, parameters)
    end

prepare(stmt_name, sql) click to toggle source

    # File lib/dbd/pg/exec.rb, line 18
    def prepare(stmt_name, sql)
        @pg_conn.prepare(stmt_name, sql)
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.