Classes | Namespaces | Functions | Variables
odb.py File Reference

Go to the source code of this file.

Classes

class  pyclearsilver.odb._ODB_BigString
 
class  pyclearsilver.odb._ODB_Blob
 
class  pyclearsilver.odb._ODB_CreatedStamp
 
class  pyclearsilver.odb._ODB_CreatedStampMS
 
class  pyclearsilver.odb._ODB_DateTime
 
class  pyclearsilver.odb._ODB_Enumeration
 
class  pyclearsilver.odb._ODB_FixedString
 
class  pyclearsilver.odb._ODB_GUID
 
class  pyclearsilver.odb._ODB_IncInteger
 
class  pyclearsilver.odb._ODB_Integer
 
class  pyclearsilver.odb._ODB_ModifiedStamp
 
class  pyclearsilver.odb._ODB_Object
 
class  pyclearsilver.odb._ODB_Real
 
class  pyclearsilver.odb._ODB_TimeStamp
 
class  pyclearsilver.odb._ODB_VarString
 
class  pyclearsilver.odb._ReflectTable
 
More...
 
class  pyclearsilver.odb.Connection
 
class  pyclearsilver.odb.Cursor
 
class  pyclearsilver.odb.Database
 
class  pyclearsilver.odb.eDuplicateKey
 
class  pyclearsilver.odb.eInternalError
 
class  pyclearsilver.odb.eInvalidData
 
class  pyclearsilver.odb.eInvalidJoinSpec
 
class  pyclearsilver.odb.eInvalidMatchSpec
 
class  pyclearsilver.odb.eNoMatchingRows
 
class  pyclearsilver.odb.eNonUniqueMatchSpec
 
class  pyclearsilver.odb.eNoSuchColumn
 
class  pyclearsilver.odb.eUnsavedObjectLost
 
class  pyclearsilver.odb.odb_Exception
 
class  pyclearsilver.odb.ODB_FixedPoint
 
class  pyclearsilver.odb.Replication_DeletedTable
 
class  pyclearsilver.odb.Replication_KeyValueTable
 
class  pyclearsilver.odb.Replication_LogRow
 
class  pyclearsilver.odb.Replication_LogTable
 
class  pyclearsilver.odb.ReplicationLog
 
More...
 
class  pyclearsilver.odb.Row
 
class  pyclearsilver.odb.Table
 Table. More...
 

Namespaces

 pyclearsilver.odb
 

Functions

def pyclearsilver.odb.__del__ (self)
 --— utility stuff -------------------------------— More...
 
def pyclearsilver.odb.__deleteRow (self, a_row, cursor=None)
 
def pyclearsilver.odb.__delitem__ (self, key, data)
 
def pyclearsilver.odb.__getattr__ (self,key)
 -— class emulation -----------------------------— More...
 
def pyclearsilver.odb.__getitem__ (self, tblname)
 
def pyclearsilver.odb.__insertRow (self, a_row_obj, cursor=None, replace=0)
 
def pyclearsilver.odb.__len__ (self)
 
def pyclearsilver.odb.__packVColumn (self)
 #warn(self) val2 = self.getDB().decode(val) warn("val2", repr(val2)) self.__vcoldata = marshal.loads(val2) More...
 
def pyclearsilver.odb.__repr__ (self)
 
def pyclearsilver.odb.__setattr__ (self, key, val)
 
def pyclearsilver.odb.__setitem__ (self, key, data)
 
def pyclearsilver.odb.__updateRowList (self, a_row_list, cursor=None)
 
def pyclearsilver.odb._getRaw (self, key, convert=1)
 -— dict emulation ------------------------------— More...
 
def pyclearsilver.odb.beginTransaction (self, cursor=None)
 
def pyclearsilver.odb.changedList (self)
 changedList() More...
 
def pyclearsilver.odb.checkRowActive (self)
 
def pyclearsilver.odb.commitTransaction (self, cursor=None)
 
def pyclearsilver.odb.copyFrom (self, source)
 
def pyclearsilver.odb.createIndices (self)
 self.alterTableToMatch(tbl) More...
 
def pyclearsilver.odb.createTables (self)
 schema creation code More...
 
def pyclearsilver.odb.createTrigger (self, triggerName, sql, cursor=None)
 
def pyclearsilver.odb.createTriggers (self)
 
def pyclearsilver.odb.databaseSizeForColumn (self, key)
 
def pyclearsilver.odb.delete (self, cursor=None)
 
def pyclearsilver.odb.deleteRow (self, col_match_spec, where=None)
 deleteRow(col_match_spec) More...
 
def pyclearsilver.odb.discard (self)
 
def pyclearsilver.odb.dropIndices (self)
 
def pyclearsilver.odb.dropTrigger (self, triggerName, cursor=None)
 
def pyclearsilver.odb.fetchAllRows (self, join2=None)
 fetchAllRows() More...
 
def pyclearsilver.odb.fetchRow (self, col_match_spec, cursor=None, join2=None)
 fetchRow(col_match_spec) More...
 
def pyclearsilver.odb.fetchRowCount (self, col_match_spec=None, cursor=None, where=None)
 
def pyclearsilver.odb.fetchRows (self, col_match_spec=None, cursor=None, where=None, order_by=None, limit_to=None, skip_to=None, join=None, join2=None, column_list=None, raw_rows=False)
 fetchRows(col_match_spec) More...
 
def pyclearsilver.odb.fetchRowUsingPrimaryKey (self, args)
 
def pyclearsilver.odb.fillDefaults (self)
 

real interface More...

 
def pyclearsilver.odb.get (self, key, default=None)
 
def pyclearsilver.odb.has_key (self, key)
 
def pyclearsilver.odb.inc (self, key, count=1)
 
def pyclearsilver.odb.items (self)
 
def pyclearsilver.odb.keys (self)
 
def pyclearsilver.odb.listFields (self, table_name, cursor=None)
 
def pyclearsilver.odb.listFieldsDict (self, table_name, cursor=None)
 
def pyclearsilver.odb.listIndices (self, tableName, cursor=None)
 
def pyclearsilver.odb.listTables (self, cursor=None)
 
def pyclearsilver.odb.listTriggers (self, cursor=None)
 
def pyclearsilver.odb.lookup (self, join2=None, kws)
 
def pyclearsilver.odb.lookupCreate (self, kws)
 
def pyclearsilver.odb.lookupRows (self, join2=None, kws)
 
def pyclearsilver.odb.newRow (self, replace=0, save=0, kws)
 
def pyclearsilver.odb.parseFieldType (dataStr)
 
def pyclearsilver.odb.r_deleteRow (self, a_row_obj, cursor=None)
 r_deleteRow(a_row_obj,cursor = None) More...
 
def pyclearsilver.odb.r_insertRow (self, a_row_obj, cursor=None, replace=0)
 InsertRow(a_row_obj,cursor = None) More...
 
def pyclearsilver.odb.r_updateRow (self, a_row_obj, cursor=None)
 r_updateRow(a_row_obj,cursor = None) More...
 
def pyclearsilver.odb.reflect (self)
 parse the schema of an existing db and build table objects to reflect the schema. More...
 
def pyclearsilver.odb.repl_parsePrimaryKey (key)
 
def pyclearsilver.odb.rollbackTransaction (self, cursor=None)
 
def pyclearsilver.odb.save (self, cursor=None)
 
def pyclearsilver.odb.synchronizeSchema (self)
 
def pyclearsilver.odb.values (elf)
 

Variables

 pyclearsilver.odb.__colchanged_dict
 
 pyclearsilver.odb.__coldata
 
 pyclearsilver.odb.__vcolchanged
 
 pyclearsilver.odb.__vcoldata
 
 pyclearsilver.odb._cursor
 
 pyclearsilver.odb._inside_getattr
 
 pyclearsilver.odb._rowInactive
 
 pyclearsilver.odb._should_insert
 
 pyclearsilver.odb._should_replace
 
 pyclearsilver.odb._tables
 for name, tbl in self._tables.items(): tbl.db = None More...
 
 pyclearsilver.odb.all_rows = cursor.fetchall()
 
 pyclearsilver.odb.aval = a_row[col_num]
 
 pyclearsilver.odb.c_name
 
 pyclearsilver.odb.c_options
 
 pyclearsilver.odb.c_type
 
int pyclearsilver.odb.col_num = 0
 
 pyclearsilver.odb.conn
 
 pyclearsilver.odb.cursor = self.defaultCursor()
 
dictionary pyclearsilver.odb.data_dict = {}
 bug out is the user justs want the raw rows More...
 
int pyclearsilver.odb.DEBUG = 0
 kInteger = "kInteger" # - kFixedString = "kFixedString" # size kVarString = "kVarString" # maxsize kBigString = "kBigString" # - kIncInteger = "kIncInteger" # - kDateTime = "kDateTime" kTimeStamp = "kTimeStamp" kReal = "kReal" More...
 
 pyclearsilver.odb.kBigString = _ODB_BigString()
 
 pyclearsilver.odb.kBlob = _ODB_Blob()
 
 pyclearsilver.odb.kCreatedStamp = _ODB_CreatedStamp()
 
 pyclearsilver.odb.kCreatedStampMS = _ODB_CreatedStampMS()
 
 pyclearsilver.odb.kDateTime = _ODB_DateTime()
 
 pyclearsilver.odb.kEnumeration = _ODB_Enumeration()
 
 pyclearsilver.odb.kFixedPoint = ODB_FixedPoint()
 
 pyclearsilver.odb.kFixedString = _ODB_FixedString()
 
 pyclearsilver.odb.kGUID = _ODB_GUID()
 
 pyclearsilver.odb.kIncInteger = _ODB_IncInteger()
 
 pyclearsilver.odb.kInteger = _ODB_Integer()
 
 pyclearsilver.odb.kModifiedStamp = _ODB_ModifiedStamp()
 
 pyclearsilver.odb.kReal = _ODB_Real()
 
 pyclearsilver.odb.kTimeStamp = _ODB_TimeStamp()
 
 pyclearsilver.odb.kVarString = _ODB_VarString()
 
 pyclearsilver.odb.name = parts[1]
 
 pyclearsilver.odb.newrowobj = self.__defaultRowClass(self,data_dict,joined_cols = joined_cols)
 
 pyclearsilver.odb.parts = string.split(fullname, ".", 1)
 
 pyclearsilver.odb.return_rows = self.__defaultRowListClass()
 
string pyclearsilver.odb.sql = sql+" LIMIT %s OFFSET %s "
 log("limit,skip = %s,%s" % (limit_to,skip_to)) More...
 
 pyclearsilver.odb.table = parts[0]
 


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