summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/qsqlquery.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/qsqlquery.3qt')
-rw-r--r--doc/man/man3/qsqlquery.3qt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/man/man3/qsqlquery.3qt b/doc/man/man3/qsqlquery.3qt
index f1a6553a..978e47e9 100644
--- a/doc/man/man3/qsqlquery.3qt
+++ b/doc/man/man3/qsqlquery.3qt
@@ -178,7 +178,7 @@ For example:
.PP
To access the data returned by a query, use the value() method. Each field in the data returned by a SELECT statement is accessed by passing the field's position in the statement, starting from 0. Information about the fields can be obtained via QSqlDatabase::record(). For the sake of efficiency there are no functions to access a field by name. (The QSqlCursor class provides a higher-level interface with field access by name and automatic SQL generation.)
.PP
-QSqlQuery supports prepared query execution and the binding of parameter values to placeholders. Some databases don't support these features, so for them Qt emulates the retquired functionality. For example, the Oracle and ODBC drivers have proper prepared query support, and Qt makes use of it; but for databases that don't have this support, Qt implements the feature itself, e.g. by replacing placeholders with actual values when a query is executed. The exception is positional binding using named placeholders, which retquires that the database supports prepared queries.
+QSqlQuery supports prepared query execution and the binding of parameter values to placeholders. Some databases don't support these features, so for them Qt emulates the required functionality. For example, the Oracle and ODBC drivers have proper prepared query support, and Qt makes use of it; but for databases that don't have this support, Qt implements the feature itself, e.g. by replacing placeholders with actual values when a query is executed. The exception is positional binding using named placeholders, which requires that the database supports prepared queries.
.PP
Oracle databases identify placeholders by using a colon-name syntax, e.g \fC:name\fR. ODBC simply uses \fC?\fR characters. Qt supports both syntaxes (although you can't mix them in the same query).
.PP