web.web.db.PostgresDB

Package web :: Package web :: Module db :: Class PostgresDB |
[hide private]
[frames] | no frames]

# Class PostgresDB

source code

    DB --+
         |
        PostgresDB

Postgres driver.

Instance Methods | [hide private]
__init__(self, **keywords) Creates a database. | source code
_process_insert_query(self, query, tablename, seqname) | source code
_get_all_sequences(self) Query postgres to find names of all sequences used in this database. | source code
_connect(self, keywords) | source code
_connect_with_pooling(self, keywords) | source code
Inherited from `DB`: `delete`, `gen_clause`, `insert`, `multiple_insert`, `query`, `select`, `sql_clauses`, `transaction`, `update`, `where` Inherited from `DB` (private): `_db_cursor`, `_db_execute`, `_getctx`, `_load_context`, `_param_marker`, `_unload_context`, `_where`

Properties | [hide private]
Inherited from `DB`: `ctx`

Method Details | [hide private]

### __init__(self, **keywords) (Constructor) | source code
Creates a database. Overrides: DB.__init__ (inherited documentation)

### _process_insert_query(self, query, tablename, seqname) | source code
Overrides: DB._process_insert_query

### _connect(self, keywords) | source code
Overrides: DB._connect

### _connect_with_pooling(self, keywords) | source code
Overrides: DB._connect_with_pooling