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

Public Member Functions

def __init__ (self, host, user, passwd, db)
 
def alterTableToMatch (self, table, cursor)
 
def createTable (self, sql, cursor)
 
def cursor (self)
 
def escape (self, str)
 
def getConnType (self)
 
def listFieldsDict (self, table_name, cursor)
 
def listIndices (self, tableName, cursor)
 
def listTables (self, cursor)
 
def supportsTriggers (self)
 
- Public Member Functions inherited from pyclearsilver.odb.Connection
def __init__ (self)
 
def auto_increment (self, coltype)
 
def begin (self)
 
def close (self)
 
def commit (self)
 
def createTable (self, sql, cursor)
 
def cursor (self)
 
def listTriggers (self)
 
def rollback (self)
 
def supportsTriggers (self)
 

Public Attributes

 SQLError
 

Private Attributes

 _conn
 

Detailed Description

Definition at line 18 of file odb_mysql.py.

Constructor & Destructor Documentation

def pyclearsilver.odb_mysql.Connection.__init__ (   self,
  host,
  user,
  passwd,
  db 
)

Definition at line 19 of file odb_mysql.py.

Member Function Documentation

def pyclearsilver.odb_mysql.Connection.alterTableToMatch (   self,
  table,
  cursor 
)

Definition at line 59 of file odb_mysql.py.

def pyclearsilver.odb_mysql.Connection.createTable (   self,
  sql,
  cursor 
)

Definition at line 80 of file odb_mysql.py.

def pyclearsilver.odb_mysql.Connection.cursor (   self)

Definition at line 26 of file odb_mysql.py.

def pyclearsilver.odb_mysql.Connection.escape (   self,
  str 
)

Definition at line 29 of file odb_mysql.py.

def pyclearsilver.odb_mysql.Connection.getConnType (   self)

Definition at line 24 of file odb_mysql.py.

def pyclearsilver.odb_mysql.Connection.listFieldsDict (   self,
  table_name,
  cursor 
)

Definition at line 47 of file odb_mysql.py.

def pyclearsilver.odb_mysql.Connection.listIndices (   self,
  tableName,
  cursor 
)

Definition at line 41 of file odb_mysql.py.

def pyclearsilver.odb_mysql.Connection.listTables (   self,
  cursor 
)

Definition at line 33 of file odb_mysql.py.

def pyclearsilver.odb_mysql.Connection.supportsTriggers (   self)

Definition at line 85 of file odb_mysql.py.

Member Data Documentation

pyclearsilver.odb_mysql.Connection._conn
private

Definition at line 21 of file odb_mysql.py.

pyclearsilver.odb_mysql.Connection.SQLError

Definition at line 22 of file odb_mysql.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