Package osh :: Package external :: Package pg8000 :: Module pg8000 :: Class DBAPI
[frames] | no frames]

Class DBAPI

source code

object --+
         |
        DBAPI

Nested Classes
  Warning
  Error
  InterfaceError
  InternalError
  DatabaseError
  DataError
  OperationalError
  IntegrityError
  ProgrammingError
  NotSupportedError
  CursorWrapper
  ConnectionWrapper
Instance Methods

Inherited from object: __delattr__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Static Methods
 
convert_paramstyle(src_style, query, args) source code
 
connect(user, host=None, unix_sock=None, port=5432, database=None, password=None, socket_timeout=60, ssl=False) source code
 
Date(year, month, day) source code
 
Time(hour, minute, second) source code
 
Timestamp(year, month, day, hour, minute, second) source code
 
DateFromTicks(ticks) source code
 
TimeFromTicks(ticks) source code
 
TimestampFromTicks(ticks) source code
 
Binary(value) source code
Class Variables
  apilevel = '2.0'
  threadsafety = 3
  paramstyle = 'format'
  STRING = 25
  BINARY = 17
  NUMBER = 1700
  DATETIME = 1114
  ROWID = 26
Properties

Inherited from object: __class__