diff options
Diffstat (limited to 'doc/html/tqsqlquery.html')
-rw-r--r-- | doc/html/tqsqlquery.html | 20 |
1 files changed, 10 insertions, 10 deletions
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. <p> <pre> TQSqlQuery query( "SELECT name FROM customer" ); while ( query.<a href="#next">next</a>() ) { - <a href="ntqstring.html">TQString</a> name = query.<a href="#value">value</a>(0).toString(); + <a href="tqstring.html">TQString</a> name = query.<a href="#value">value</a>(0).toString(); doSomething( name ); } </pre> @@ -220,7 +220,7 @@ the out parameter. Creates a TQSqlQuery object which uses the <a href="tqsqlresult.html">TQSqlResult</a> <em>r</em> to communicate with a database. -<h3 class=fn><a name="TQSqlQuery-2"></a>TQSqlQuery::TQSqlQuery ( const <a href="ntqstring.html">TQString</a> & query = TQString::null, <a href="tqsqldatabase.html">TQSqlDatabase</a> * db = 0 ) +<h3 class=fn><a name="TQSqlQuery-2"></a>TQSqlQuery::TQSqlQuery ( const <a href="tqstring.html">TQString</a> & query = TQString::null, <a href="tqsqldatabase.html">TQSqlDatabase</a> * db = 0 ) </h3> Creates a TQSqlQuery object using the SQL <em>query</em> and the database <em>db</em>. If <em>db</em> 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. -<h3 class=fn>void <a name="bindValue"></a>TQSqlQuery::bindValue ( const <a href="ntqstring.html">TQString</a> & placeholder, const <a href="ntqvariant.html">TQVariant</a> & val, <a href="tqsql.html#ParameterType-enum">TQSql::ParameterType</a> type ) +<h3 class=fn>void <a name="bindValue"></a>TQSqlQuery::bindValue ( const <a href="tqstring.html">TQString</a> & placeholder, const <a href="ntqvariant.html">TQVariant</a> & val, <a href="tqsql.html#ParameterType-enum">TQSql::ParameterType</a> type ) </h3> Set the placeholder <em>placeholder</em> to be bound to value <em>val</em> in the prepared statement. Note that the placeholder mark (e.g <tt>:</tt>) @@ -285,7 +285,7 @@ is <a href="tqsql.html#ParameterType-enum">TQSql::Out</a> or <a href="tqsql.html overwritten with data from the database after the <a href="#exec">exec</a>() call. <p> <p>See also <a href="#addBindValue">addBindValue</a>(), <a href="#prepare">prepare</a>(), and <a href="#exec">exec</a>(). -<h3 class=fn>void <a name="bindValue-2"></a>TQSqlQuery::bindValue ( const <a href="ntqstring.html">TQString</a> & placeholder, const <a href="ntqvariant.html">TQVariant</a> & val ) +<h3 class=fn>void <a name="bindValue-2"></a>TQSqlQuery::bindValue ( const <a href="tqstring.html">TQString</a> & placeholder, const <a href="ntqvariant.html">TQVariant</a> & val ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Binds the placeholder with type <a href="tqsql.html#ParameterType-enum">TQSql::In</a>. @@ -304,7 +304,7 @@ is <a href="tqsql.html#ParameterType-enum">TQSql::Out</a> or <a href="tqsql.html overwritten with data from the database after the <a href="#exec">exec</a>() call. <p> <p>See also <a href="#addBindValue">addBindValue</a>(), <a href="#prepare">prepare</a>(), and <a href="#exec">exec</a>(). -<h3 class=fn><a href="ntqvariant.html">TQVariant</a> <a name="boundValue"></a>TQSqlQuery::boundValue ( const <a href="ntqstring.html">TQString</a> & placeholder ) const +<h3 class=fn><a href="ntqvariant.html">TQVariant</a> <a name="boundValue"></a>TQSqlQuery::boundValue ( const <a href="tqstring.html">TQString</a> & placeholder ) const </h3> Returns the value for the <em>placeholder</em>. @@ -342,7 +342,7 @@ Returns a map of the bound values. </h3> Returns the database driver associated with the query. -<h3 class=fn>bool <a name="exec"></a>TQSqlQuery::exec ( const <a href="ntqstring.html">TQString</a> & query )<tt> [virtual]</tt> +<h3 class=fn>bool <a name="exec"></a>TQSqlQuery::exec ( const <a href="tqstring.html">TQString</a> & query )<tt> [virtual]</tt> </h3> Executes the SQL in <em>query</em>. 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. <p> <p>See also <a href="#prepare">prepare</a>(), <a href="#bindValue">bindValue</a>(), and <a href="#addBindValue">addBindValue</a>(). -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="executedQuery"></a>TQSqlQuery::executedQuery () const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="executedQuery"></a>TQSqlQuery::executedQuery () const </h3> Returns the last query that was executed. <p> In most cases this function returns the same as <a href="#lastQuery">lastQuery</a>(). If a @@ -432,9 +432,9 @@ Returns error information about the last error (if any) that occurred. <p> <p>See also <a href="tqsqlerror.html">TQSqlError</a>. -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="lastQuery"></a>TQSqlQuery::lastQuery () const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="lastQuery"></a>TQSqlQuery::lastQuery () const </h3> -Returns the text of the current query being used, or <a href="ntqstring.html#TQString-null">TQString::null</a> +Returns the text of the current query being used, or <a href="tqstring.html#TQString-null">TQString::null</a> if there is no current query text. <p> <p>See also <a href="#executedQuery">executedQuery</a>(). @@ -473,7 +473,7 @@ query is not active (<a href="#isActive">isActive</a>() returns FALSE), -1 is re </h3> Assigns <em>other</em> to the query. -<h3 class=fn>bool <a name="prepare"></a>TQSqlQuery::prepare ( const <a href="ntqstring.html">TQString</a> & query ) +<h3 class=fn>bool <a name="prepare"></a>TQSqlQuery::prepare ( const <a href="tqstring.html">TQString</a> & query ) </h3> Prepares the SQL query <em>query</em> for execution. The query may contain placeholders for binding values. Both Oracle style |