Trees Indices Help
Trac
trac :: db :: mysql_backend :: MySQLConnection :: Class MySQLConnection

Class MySQLConnection

source code

 object --+ 
 | 
util.ConnectionWrapper --+
 |
 MySQLConnection
Known Subclasses:

Connection wrapper for MySQL.
Instance Methods
__init__(self, path, log, user=None, password=None, host=None, port=None, params={})
x.__init__(...) initializes x; see help(type(x)) for signature source code
cast(self, column, type) source code
close(self) source code
concat(self, *args) source code
cursor(self) source code
drop_table(self, table) source code
get_last_id(self, cursor, table, column='id') source code
like(self)
Return a case-insensitive LIKE clause. source code
like_escape(self, text) source code
prefix_match(self)
Return a case sensitive prefix-matching operator. source code
prefix_match_value(self, prefix)
Return a value for case sensitive prefix-matching operator. source code
quote(self, identifier)
Return the quoted identifier. source code
rollback(self) source code
update_sequence(self, cursor, table, column='id') source code

Inherited from util.ConnectionWrapper : __getattr__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
poolable = True
Properties

Inherited from util.ConnectionWrapper : cnx , log

Inherited from object: __class__

Method Details

__init__(self, path, log, user=None, password=None, host=None, port=None, params={})
(Constructor)

source code
x.__init__(...) initializes x; see help(type(x)) for signature
Overrides: object.__init__
(inherited documentation)

Trees Indices Help
Trac

AltStyle によって変換されたページ (->オリジナル) /