MCPcopy Create free account
hub / github.com/copperspice/copperspice / value

Method value

src/sql/kernel/qsqlquery.cpp:192–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190}
191
192QVariant QSqlQuery::value(int index) const
193{
194 if (isActive() && isValid() && (index > -1)) {
195 return d->sqlResult->data(index);
196 }
197 qWarning("QSqlQuery::value: not positioned on a valid record");
198
199 return QVariant();
200}
201
202QVariant QSqlQuery::value(const QString &name) const
203{

Callers 15

insertCountMethod · 0.45
revertCachedRowMethod · 0.45
execMethod · 0.45
selectRowMethod · 0.45
dataMethod · 0.45
headerDataMethod · 0.45
isDirtyMethod · 0.45
setDataMethod · 0.45
submitAllMethod · 0.45
revertAllMethod · 0.45
removeRowsMethod · 0.45
insertRowsMethod · 0.45

Calls 8

QVariantClass · 0.70
valueFunction · 0.70
isActiveFunction · 0.50
isValidFunction · 0.50
qWarningFunction · 0.50
dataMethod · 0.45
indexOfMethod · 0.45
recordMethod · 0.45

Tested by

no test coverage detected