12 KiB
12 KiB
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
</head>
The documentation for this class was generated from the following files:
Generated by 1.10.0 </html>
LogDoctor 4.00
Parse Apache2/Nginx/IIS logs and view dinamically generated statistics
|
Loading...
Searching...
No Matches
QueryWrapper Class Referencefinal
#include <database.h>
Public Member Functions | |
QSqlQuery * | operator-> () noexcept |
Returns a pointer to the underlying QSqlQuery instance. | |
void | operator<< (const char *text) noexcept |
Appends the given text to the internal statement. | |
void | operator<< (const QString &text) noexcept |
Appends the given text to the internal statement. | |
void | operator() () |
Executes the query using the internal statement. | |
void | operator() (const QString &text) |
Executes the query using the given statement. | |
QVariant | operator[] (const int idx) const noexcept |
Returns the query value at the given index of the current record. | |
size_t | size () |
Returns the number of records in the query result. | |
const QString & | dbName () const noexcept |
Returns the name of the associated database. | |
Detailed Description
A wrapper around a QSqlQuery, associated with a database
Member Function Documentation
◆ operator()() [1/2]
|
inline |
◆ operator()() [2/2]
void QueryWrapper::operator() | ( | const QString & | text | ) |
◆ size()
size_t QueryWrapper::size | ( | ) |
Returns the number of records in the query result.
Throws if the query cannot be restored at the initial position
- Exceptions
-
DatabaseException
The documentation for this class was generated from the following files:
- logdoctor/modules/database/database.h
- logdoctor/modules/database/database.cpp
Generated by 1.10.0 </html>