Public Member Functions | Public Attributes | Private Attributes | List of all members
pyclearsilver.odb.Database Class Reference
Inheritance diagram for pyclearsilver.odb.Database:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, conn, debug=0)
 
def addTable (self, attrname, tblname, tblclass, rowClass=None, check=0, create=0, rowListClass=None, replication=None)
 
def close (self)
 
def decode (self, str)
 
def defaultCursor (self)
 
def defaultRowClass (self)
 
def defaultRowListClass (self)
 
def enabledCompression (self)
 
def encode (self, str)
 
def escape (self, str)
 
def escape_string (self, str)
 
def getDefaultRowClass (self)
 
def getDefaultRowListClass (self)
 
def getTableList (self)
 
def hasReplication (self)
 
def setDefaultRowClass (self, clss)
 
def setDefaultRowListClass (self, clss)
 
def unescape_string (self, str)
 

Public Attributes

 compression_enabled
 
 conn
 
 debug
 
 SQLError
 

Private Attributes

 __defaultRowClass
 
 __defaultRowListClass
 
 _cursor
 
 _tables
 

Detailed Description

Definition at line 414 of file odb.py.

Constructor & Destructor Documentation

def pyclearsilver.odb.Database.__init__ (   self,
  conn,
  debug = 0 
)

Definition at line 415 of file odb.py.

Member Function Documentation

def pyclearsilver.odb.Database.addTable (   self,
  attrname,
  tblname,
  tblclass,
  rowClass = None,
  check = 0,
  create = 0,
  rowListClass = None,
  replication = None 
)

Definition at line 483 of file odb.py.

def pyclearsilver.odb.Database.close (   self)

Definition at line 490 of file odb.py.

def pyclearsilver.odb.Database.decode (   self,
  str 
)

Definition at line 463 of file odb.py.

def pyclearsilver.odb.Database.defaultCursor (   self)

Definition at line 440 of file odb.py.

def pyclearsilver.odb.Database.defaultRowClass (   self)

Definition at line 471 of file odb.py.

def pyclearsilver.odb.Database.defaultRowListClass (   self)

Definition at line 474 of file odb.py.

def pyclearsilver.odb.Database.enabledCompression (   self)

Definition at line 437 of file odb.py.

def pyclearsilver.odb.Database.encode (   self,
  str 
)

Definition at line 461 of file odb.py.

def pyclearsilver.odb.Database.escape (   self,
  str 
)

Definition at line 459 of file odb.py.

def pyclearsilver.odb.Database.escape_string (   self,
  str 
)

Definition at line 445 of file odb.py.

def pyclearsilver.odb.Database.getDefaultRowClass (   self)

Definition at line 466 of file odb.py.

def pyclearsilver.odb.Database.getDefaultRowListClass (   self)

Definition at line 468 of file odb.py.

def pyclearsilver.odb.Database.getTableList (   self)

Definition at line 426 of file odb.py.

def pyclearsilver.odb.Database.hasReplication (   self)

Definition at line 433 of file odb.py.

def pyclearsilver.odb.Database.setDefaultRowClass (   self,
  clss 
)

Definition at line 467 of file odb.py.

def pyclearsilver.odb.Database.setDefaultRowListClass (   self,
  clss 
)

Definition at line 469 of file odb.py.

def pyclearsilver.odb.Database.unescape_string (   self,
  str 
)

Definition at line 452 of file odb.py.

Member Data Documentation

pyclearsilver.odb.Database.__defaultRowClass
private

Definition at line 423 of file odb.py.

pyclearsilver.odb.Database.__defaultRowListClass
private

Definition at line 424 of file odb.py.

pyclearsilver.odb.Database._cursor
private

Definition at line 418 of file odb.py.

pyclearsilver.odb.Database._tables
private

Definition at line 416 of file odb.py.

pyclearsilver.odb.Database.compression_enabled

Definition at line 419 of file odb.py.

pyclearsilver.odb.Database.conn

Definition at line 417 of file odb.py.

pyclearsilver.odb.Database.debug

Definition at line 420 of file odb.py.

pyclearsilver.odb.Database.SQLError

Definition at line 421 of file odb.py.


The documentation for this class was generated from the following file:


pyclearsilver
Author(s): Scott Noob Hassan
autogenerated on Mon Jun 10 2019 15:51:13