OPSI.Backend.MySQL module

MySQL-Backend

copyright:uib GmbH <info@uib.de>
author:Jan Schneider <j.schneider@uib.de>
author:Erol Ueluekmen <e.ueluekmen@uib.de>
author:Niko Wenselowski <n.wenselowski@uib.de>
license:GNU Affero GPL version 3
class OPSI.Backend.MySQL.ConnectionPool(**kwargs)

Bases: object

destroy()
class OPSI.Backend.MySQL.MySQL(**kwargs)

Bases: OPSI.Backend.SQL.SQL

ALTER_TABLE_CHANGE_SUPPORTED = True
AUTOINCREMENT = 'AUTO_INCREMENT'
ESCAPED_APOSTROPHE = "\\'"
ESCAPED_ASTERISK = '\\*'
ESCAPED_BACKSLASH = '\\\\'
close(conn, cursor)
connect(cursorType=None)
delete(table, where, conn=None, cursor=None)
doCommit = True
execute(query, conn=None, cursor=None)
getRow(query, conn=None, cursor=None)
getRows(query)
getSet(query)
getTableCreationOptions(table)
getTables()
insert(table, valueHash, conn=None, cursor=None)
update(table, where, valueHash, updateWhereNone=False)
class OPSI.Backend.MySQL.MySQLBackend(**kwargs)

Bases: OPSI.Backend.SQL.SQLBackend

productProperty_insertObject(productProperty)
class OPSI.Backend.MySQL.MySQLBackendObjectModificationTracker(**kwargs)

Bases: OPSI.Backend.SQL.SQLBackendObjectModificationTracker