KDb
SybaseCursor.cpp
155 // 1. the length used internally in dblib for allocating data to each column in function dbprrow()
156 // 2. it's greater than all the values returned in the dblib internal function _get_printable_size
162 dbconvert(d->dbProcess , dbcoltype(d->dbProcess , pos), dbdata(d->dbProcess , pos), columnDataLength , (SYBCHAR), columnValue, -2);
164 QVariant returnValue = KDbcstringToVariant((const char*)columnValue , f, strlen((const char*)columnValue));
192 // 1. the length used internally in dblib for allocating data to each column in function dbprrow()
193 // 2. it's greater than all the values returned in the dblib internal function _get_printable_size
199 dbconvert(d->dbProcess , dbcoltype(d->dbProcess , i + 1), dbdata(d->dbProcess , i + 1), columnDataLength , (SYBCHAR), columnValue, -2);
201 (*data)[i] = KDbcstringToVariant((const char*)columnValue , f, strlen((const char*)columnValue));
Provides database connection, allowing queries and data modification.
Definition KDbConnection.h:52
int m_fieldsToStoreInRecord
Used by storeCurrentRecord(), reimplement if needed (e.g.
Definition KDbCursor.h:302
bool m_buffering_completed
true if we already have all records stored in the buffer
Definition KDbCursor.h:320
KDbQueryColumnInfo::Vector * m_visibleFieldsExpanded
Useful e.g. for value(int) method to obtain access to schema definition.
Definition KDbCursor.h:324
KDbQuerySchema provides information about database query.
Definition KDbQuerySchema.h:46
Structure for storing single record with type information.
Definition KDbRecordData.h:37
Provides database connection, allowing queries and data modification.
Definition SybaseConnection.h:33
std::optional< QSqlQuery > query(const QString &queryStatement)
const_reference at(qsizetype i) const const
qsizetype count() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:00:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:00:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.