Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
doc_src_sql-driver_snippet.cpp File Reference

Go to the source code of this file.

Functions

query setForwardOnly (true)
 
query exec ("SELECT * FROM table")
 
 while (query.next())
 

Variables

QSqlQuery query
 [36]
 
QVariant v
 

Function Documentation

◆ exec()

query exec ( "SELECT * FROM table"  )

◆ setForwardOnly()

query setForwardOnly ( true  )

Referenced by qMakeStatement().

+ Here is the caller graph for this function:

◆ while()

while ( query.  next())

Definition at line 8 of file doc_src_sql-driver_snippet.cpp.

References qstrcmp().

+ Here is the call graph for this function:

Variable Documentation

◆ query

[36]

Definition at line 4 of file doc_src_sql-driver_snippet.cpp.

◆ v

Definition at line 5 of file doc_src_sql-driver_snippet.cpp.