Package CUBRIDdb
[hide private]
[frames] | no frames]

Package CUBRIDdb

CUBRIDdb - A DB API v2.0 compatible interface to CUBRID.

This package is a wrapper around _cubrid.

connect() -- connects to server

Submodules [hide private]

Classes [hide private]
  DBAPISet
A special type of set for which A == x is true if A is a DBAPISet and x is a member of that set.
  Error
  InterfaceError
  DatabaseError
  NotSupportedError
Functions [hide private]
 
DateFromTicks(ticks)
 
TimeFromTicks(ticks)
 
TimestampFromTicks(ticks)
 
Connect(*args, **kwargs)
Factory function for connections.Connection.
 
connection(*args, **kwargs)
Factory function for connections.Connection.
 
connect(*args, **kwargs)
Factory function for connections.Connection.
Variables [hide private]
  threadsafety = 2
  apilevel = '2.0'
  paramstyle = 'qmark'
  STRING = DBAPISet([1, 2, 3])
  BINARY = DBAPISet([5, 6])
  NUMBER = DBAPISet([8, 9, 21, 7])
  DATETIME = DBAPISet([13, 14, 15])
  FLOAT = DBAPISet([11, 12])
  SET = DBAPISet([32, 64, 96])
  BLOB = DBAPISet([254])
  CLOB = DBAPISet([255])
  ROWID = DBAPISet([])
  CUBRID_COMMIT_CLASS_COMMIT_INSTANCE = 2
  CUBRID_COMMIT_CLASS_UNCOMMIT_INSTANCE = 1
  CUBRID_EXEC_ASYNC = 1
  CUBRID_EXEC_ONLY_QUERY_PLAN = 8
  CUBRID_EXEC_QUERY_ALL = 2
  CUBRID_EXEC_QUERY_INFO = 4
  CUBRID_EXEC_THREAD = 16
  CUBRID_REP_CLASS_COMMIT_INSTANCE = 4
  CUBRID_REP_CLASS_REP_INSTANCE = 5
  CUBRID_REP_CLASS_UNCOMMIT_INSTANCE = 3
  CUBRID_SCH_ATTRIBUTE = 4
  CUBRID_SCH_COLUMN_PRIVILEGE = 14
  CUBRID_SCH_CONSTRAINT = 11
  CUBRID_SCH_CROSS_REFERENCE = 19
  CUBRID_SCH_DIRECT_SUPER_TABLE = 15
  CUBRID_SCH_EXPORTED_KEYS = 18
  CUBRID_SCH_IMPORTED_KEYS = 17
  CUBRID_SCH_METHOD = 6
  CUBRID_SCH_METHOD_FILE = 8
  CUBRID_SCH_PRIMARY_KEY = 16
  CUBRID_SCH_QUERY_SPEC = 3
  CUBRID_SCH_SUBTABLE = 10
  CUBRID_SCH_SUPERTABLE = 9
  CUBRID_SCH_TABLE = 1
  CUBRID_SCH_TABLE_ATTRIBUTE = 5
  CUBRID_SCH_TABLE_METHOD = 7
  CUBRID_SCH_TABLE_PRIVILEGE = 13
  CUBRID_SCH_TRIGGER = 12
  CUBRID_SCH_VIEW = 2
  CUBRID_SERIALIZABLE = 6
  SEEK_CUR = 1
  SEEK_END = 2
  SEEK_SET = 0
  __package__ = 'CUBRIDdb'