Public Member Functions | |
def | __init__ (self, url) |
def | get_dbtype (self, theType) |
def | init (self, drop=False) |
def | is_frontier (self) |
def | is_official (self) |
def | is_oracle (self) |
def | is_read_only (self) |
def | is_sqlite (self) |
def | is_valid (self) |
def | metadata (self) |
def | session (self) |
Public Attributes | |
engine | |
Private Attributes | |
_backendName | |
_is_frontier | |
_is_official | |
_is_oracle | |
_is_read_only | |
_is_sqlite | |
_is_valid | |
_schemaName | |
_session | |
_url | |
Definition at line 321 of file conddblib.py.
def conddblib.Connection.__init__ | ( | self, | |
url | |||
) |
Definition at line 323 of file conddblib.py.
def conddblib.Connection.get_dbtype | ( | self, | |
theType | |||
) |
Definition at line 375 of file conddblib.py.
References conddblib.Connection._backendName, conddblib.Connection._schemaName, relativeConstraints.keys, and conddblib.make_dbtype().
Referenced by conddblib.Connection.init(), conddblib.Connection.is_valid(), and conddblib.Connection.session().
Initializes a database.
Definition at line 425 of file conddblib.py.
References conddblib.Connection._is_valid, querying.connection.engine, conddblib.Connection.engine, and conddblib.Connection.get_dbtype().
def conddblib.Connection.is_frontier | ( | self | ) |
def conddblib.Connection.is_official | ( | self | ) |
def conddblib.Connection.is_oracle | ( | self | ) |
def conddblib.Connection.is_read_only | ( | self | ) |
def conddblib.Connection.is_sqlite | ( | self | ) |
def conddblib.Connection.is_valid | ( | self | ) |
Tests whether the current DB looks like a valid CMS Conditions one.
Definition at line 413 of file conddblib.py.
References Vispa.Plugins.EdmBrowser.EdmDataAccessor.all(), conddblib.Connection.get_dbtype(), and conddblib.getSchema().
def conddblib.Connection.metadata | ( | self | ) |
Definition at line 390 of file conddblib.py.
def conddblib.Connection.session | ( | self | ) |
Definition at line 382 of file conddblib.py.
References conddblib.Connection._is_sqlite, conddblib.Connection._session, url_query.url_query._url, conddblib.Connection._url, and conddblib.Connection.get_dbtype().
|
private |
Definition at line 362 of file conddblib.py.
Referenced by conddblib.Connection.get_dbtype().
|
private |
Definition at line 344 of file conddblib.py.
Referenced by conddblib.Connection.is_frontier().
|
private |
Definition at line 353 of file conddblib.py.
Referenced by conddblib.Connection.is_official().
|
private |
Definition at line 345 of file conddblib.py.
Referenced by conddblib.Connection.is_oracle().
|
private |
Definition at line 348 of file conddblib.py.
Referenced by conddblib.Connection.is_read_only().
|
private |
Definition at line 346 of file conddblib.py.
Referenced by conddblib.Connection.is_sqlite(), and conddblib.Connection.session().
|
private |
Definition at line 373 of file conddblib.py.
Referenced by conddblib.Connection.init().
|
private |
Definition at line 363 of file conddblib.py.
Referenced by conddblib.Connection.get_dbtype().
|
private |
Definition at line 342 of file conddblib.py.
Referenced by conddblib.Connection.session().
|
private |
Definition at line 361 of file conddblib.py.
Referenced by cmstc.TagCollector._open(), and conddblib.Connection.session().
conddblib.Connection.engine |
Definition at line 330 of file conddblib.py.
Referenced by o2o_db_manager.DbManager.connect(), and conddblib.Connection.init().