From e6077c30d14e9d662e8843c554db86c0d366d0b6 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 6 Jun 2024 13:44:12 +0900 Subject: Rename str nt* related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/tqsqlquery.html | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'doc/html/tqsqlquery.html') diff --git a/doc/html/tqsqlquery.html b/doc/html/tqsqlquery.html index d6624bbd3..dfffac41e 100644 --- a/doc/html/tqsqlquery.html +++ b/doc/html/tqsqlquery.html @@ -124,7 +124,7 @@ TQVariants.

     TQSqlQuery query( "SELECT name FROM customer" );
     while ( query.next() ) {
-        TQString name = query.value(0).toString();
+        TQString name = query.value(0).toString();
         doSomething( name );
     }
     
@@ -220,7 +220,7 @@ the out parameter. Creates a TQSqlQuery object which uses the TQSqlResult r to communicate with a database. -

TQSqlQuery::TQSqlQuery ( const TQString & query = TQString::null, TQSqlDatabase * db = 0 ) +

TQSqlQuery::TQSqlQuery ( const TQString & query = TQString::null, TQSqlDatabase * db = 0 )

Creates a TQSqlQuery object using the SQL query and the database db. If db is 0, (the default), the application's default @@ -276,7 +276,7 @@ Protected virtual function called before the internal record pointer is moved to a new record. The default implementation does nothing. -

void TQSqlQuery::bindValue ( const TQString & placeholder, const TQVariant & val, TQSql::ParameterType type ) +

void TQSqlQuery::bindValue ( const TQString & placeholder, const TQVariant & val, TQSql::ParameterType type )

Set the placeholder placeholder to be bound to value val in the prepared statement. Note that the placeholder mark (e.g :) @@ -285,7 +285,7 @@ is TQSql::Out or exec() call.

See also addBindValue(), prepare(), and exec(). -

void TQSqlQuery::bindValue ( const TQString & placeholder, const TQVariant & val ) +

void TQSqlQuery::bindValue ( const TQString & placeholder, const TQVariant & val )

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

Binds the placeholder with type TQSql::In. @@ -304,7 +304,7 @@ is TQSql::Out or exec() call.

See also addBindValue(), prepare(), and exec(). -

TQVariant TQSqlQuery::boundValue ( const TQString & placeholder ) const +

TQVariant TQSqlQuery::boundValue ( const TQString & placeholder ) const

Returns the value for the placeholder. @@ -342,7 +342,7 @@ Returns a map of the bound values. Returns the database driver associated with the query. -

bool TQSqlQuery::exec ( const TQString & query ) [virtual] +

bool TQSqlQuery::exec ( const TQString & query ) [virtual]

Executes the SQL in query. Returns TRUE and sets the query state to active if the query was successful; otherwise returns @@ -363,7 +363,7 @@ This is an overloaded member function, provided for convenience. It behaves esse query executed successfully; otherwise returns FALSE.

See also prepare(), bindValue(), and addBindValue(). -

TQString TQSqlQuery::executedQuery () const +

TQString TQSqlQuery::executedQuery () const

Returns the last query that was executed.

In most cases this function returns the same as lastQuery(). If a @@ -432,9 +432,9 @@ Returns error information about the last error (if any) that occurred.

See also TQSqlError. -

TQString TQSqlQuery::lastQuery () const +

TQString TQSqlQuery::lastQuery () const

-Returns the text of the current query being used, or TQString::null +Returns the text of the current query being used, or TQString::null if there is no current query text.

See also executedQuery(). @@ -473,7 +473,7 @@ query is not active (isActive() returns FALSE), -1 is re Assigns other to the query. -

bool TQSqlQuery::prepare ( const TQString & query ) +

bool TQSqlQuery::prepare ( const TQString & query )

Prepares the SQL query query for execution. The query may contain placeholders for binding values. Both Oracle style -- cgit v1.2.3