MCPcopy Create free account
hub / github.com/KangLin/RabbitRemoteControl / ExportIconToJson

Method ExportIconToJson

Src/Database/Database.cpp:630–640  ·  view source on GitHub ↗

bool CDatabaseIcon::ExportToJson(QJsonObject &obj) { QSqlQuery query(GetDatabase()); query.prepare( "SELECT id, name, hash, data FROM " + m_szTableName ); bool bRet = query.exec(); if(!bRet) { SetError("Failed to export icon to json. Error: " + query.lastError().text() + "; Sql: " + query.executedQuery()); qCritical(log) << GetError(

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

isEmptyMethod · 0.45

Tested by

no test coverage detected