Trees | Indices | Help |
|
---|
|
util.ComparableMixin --+ | DBConnector
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
Class Variables | |
compare_attrs =
|
|
synchronized =
|
|
MAX_QUERY_TIMES = 1000
|
|
__hook_post_buildbot_db_connector_DBConnector__end_operation__ =
|
|
__hook_post_buildbot_db_connector_DBConnector_notify__ =
|
|
__hook_pre_buildbot_db_connector_DBConnector__end_operation__ =
|
|
__hook_pre_buildbot_db_connector_DBConnector_notify__ =
|
|
Inherited from |
Method Details |
Given a query that contains qmark-style placeholders, like: INSERT INTO foo (col1, col2) VALUES (?,?) replace the '?' with '%s' if the backend uses format-style placeholders, like: INSERT INTO foo (col1, col2) VALUES (%s,%s) |
When passing long lists of values to e.g., an INSERT query, it is tedious to pass long strings of ? placeholders. This function will create a parenthesis-enclosed list of COUNT placeholders. Note that the placeholders have already had quoteq() applied. |
Return a Deferred that fires with a list of all Change instances with numbers greater than the given value, sorted by number. This is useful for catching up with everything that's happened since you last called this function. |
Given a SourceStamp (which may or may not have an ssid), make sure the contents are in the database, and return the ssid. If the SourceStamp originally came from the DB (and thus already has an ssid), just return the ssid. If not, create a new row for it. |
Class Variable Details |
__hook_post_buildbot_db_connector_DBConnector__end_operation__
|
__hook_post_buildbot_db_connector_DBConnector_notify__
|
__hook_pre_buildbot_db_connector_DBConnector__end_operation__
|
__hook_pre_buildbot_db_connector_DBConnector_notify__
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun Dec 19 18:26:44 2010 | http://epydoc.sourceforge.net |