MCPcopy Create free account
hub / github.com/chris2511/xca / schemaVersion

Method schemaVersion

lib/sql.cpp:114–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112QString XSqlQuery::table_prefix;
113
114int XSqlQuery::schemaVersion()
115{
116 qDebug() << "table_prefix:" << table_prefix;;
117 return QSqlDatabase::database().tables()
118 .contains(table_prefix + "settings") ?
119 Settings["schema"] : 0;
120}
121
122QString XSqlQuery::rewriteQuery(QString _q)
123{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected