diff options
Diffstat (limited to 'doc/html/tqsqlquery.html')
| -rw-r--r-- | doc/html/tqsqlquery.html | 22 | 
1 files changed, 11 insertions, 11 deletions
| diff --git a/doc/html/tqsqlquery.html b/doc/html/tqsqlquery.html index dfffac41e..474c49682 100644 --- a/doc/html/tqsqlquery.html +++ b/doc/html/tqsqlquery.html @@ -212,7 +212,7 @@ the out parameter.      int i = query.<a href="#boundValue">boundValue</a>( 1 ).toInt(); // i is 65.      </pre> -<p> <p>See also <a href="tqsqldatabase.html">TQSqlDatabase</a>, <a href="tqsqlcursor.html">TQSqlCursor</a>, <a href="ntqvariant.html">TQVariant</a>, and <a href="database.html">Database Classes</a>. +<p> <p>See also <a href="tqsqldatabase.html">TQSqlDatabase</a>, <a href="tqsqlcursor.html">TQSqlCursor</a>, <a href="tqvariant.html">TQVariant</a>, and <a href="database.html">Database Classes</a>.  <hr><h2>Member Function Documentation</h2>  <h3 class=fn><a name="TQSqlQuery"></a>TQSqlQuery::TQSqlQuery ( <a href="tqsqlresult.html">TQSqlResult</a> * r ) @@ -242,7 +242,7 @@ Constructs a copy of <em>other</em>.  </h3>  Destroys the object and frees any allocated resources. -<h3 class=fn>void <a name="addBindValue"></a>TQSqlQuery::addBindValue ( const <a href="ntqvariant.html">TQVariant</a> & val, <a href="tqsql.html#ParameterType-enum">TQSql::ParameterType</a> type ) +<h3 class=fn>void <a name="addBindValue"></a>TQSqlQuery::addBindValue ( const <a href="tqvariant.html">TQVariant</a> & val, <a href="tqsql.html#ParameterType-enum">TQSql::ParameterType</a> type )  </h3>  Adds the value <em>val</em> to the list of values when using positional  value binding. The order of the <a href="#addBindValue">addBindValue</a>() calls determines @@ -251,7 +251,7 @@ If <em>type</em> is <a href="tqsql.html#ParameterType-enum">TQSql::Out</a> or <a  be overwritten with data from the database after the <a href="#exec">exec</a>() call.  <p> <p>See also <a href="#bindValue">bindValue</a>(), <a href="#prepare">prepare</a>(), and <a href="#exec">exec</a>(). -<h3 class=fn>void <a name="addBindValue-2"></a>TQSqlQuery::addBindValue ( const <a href="ntqvariant.html">TQVariant</a> & val ) +<h3 class=fn>void <a name="addBindValue-2"></a>TQSqlQuery::addBindValue ( const <a href="tqvariant.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>. @@ -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="tqstring.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="tqvariant.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,17 +285,17 @@ 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="tqstring.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="tqvariant.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>. -<h3 class=fn>void <a name="bindValue-3"></a>TQSqlQuery::bindValue ( int pos, const <a href="ntqvariant.html">TQVariant</a> & val ) +<h3 class=fn>void <a name="bindValue-3"></a>TQSqlQuery::bindValue ( int pos, const <a href="tqvariant.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 at position <em>pos</em> with type <a href="tqsql.html#ParameterType-enum">TQSql::In</a>. -<h3 class=fn>void <a name="bindValue-4"></a>TQSqlQuery::bindValue ( int pos, 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-4"></a>TQSqlQuery::bindValue ( int pos, const <a href="tqvariant.html">TQVariant</a> & val, <a href="tqsql.html#ParameterType-enum">TQSql::ParameterType</a> type )  </h3>  This is an overloaded member function, provided for convenience. It behaves essentially like the above function.  <p> Set the placeholder in position <em>pos</em> to be bound to value <em>val</em> @@ -304,11 +304,11 @@ 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="tqstring.html">TQString</a> & placeholder ) const +<h3 class=fn><a href="tqvariant.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>. -<h3 class=fn><a href="ntqvariant.html">TQVariant</a> <a name="boundValue-2"></a>TQSqlQuery::boundValue ( int pos ) const +<h3 class=fn><a href="tqvariant.html">TQVariant</a> <a name="boundValue-2"></a>TQSqlQuery::boundValue ( int pos ) const  </h3>  This is an overloaded member function, provided for convenience. It behaves essentially like the above function.  <p> Returns the value for the placeholder at position <em>pos</em>. @@ -568,7 +568,7 @@ statement, use <a href="#numRowsAffected">numRowsAffected</a>().  <p> <p>See also <a href="#isActive">isActive</a>(), <a href="#numRowsAffected">numRowsAffected</a>(), and <a href="tqsqldriver.html#hasFeature">TQSqlDriver::hasFeature</a>().  <p>Example: <a href="sql.html#x2174">sql/overview/navigating/main.cpp</a>. -<h3 class=fn><a href="ntqvariant.html">TQVariant</a> <a name="value"></a>TQSqlQuery::value ( int i ) const<tt> [virtual]</tt> +<h3 class=fn><a href="tqvariant.html">TQVariant</a> <a name="value"></a>TQSqlQuery::value ( int i ) const<tt> [virtual]</tt>  </h3>  Returns the value of the <em>i</em>-th field in the query (zero based).  <p> The fields are numbered from left to right using the text of the @@ -576,7 +576,7 @@ Returns the value of the <em>i</em>-th field in the query (zero based).  field 0 is <tt>forename</tt> and field 1 is <tt>surname</tt>. Using <tt>SELECT *</tt>  is not recommended because the order of the fields in the query is  undefined. -<p> An invalid <a href="ntqvariant.html">TQVariant</a> is returned if field <em>i</em> does not exist, if +<p> An invalid <a href="tqvariant.html">TQVariant</a> is returned if field <em>i</em> does not exist, if  the query is inactive, or if the query is positioned on an invalid  record.  <p> <p>See also <a href="#prev">prev</a>(), <a href="#next">next</a>(), <a href="#first">first</a>(), <a href="#last">last</a>(), <a href="#seek">seek</a>(), <a href="#isActive">isActive</a>(), and <a href="#isValid">isValid</a>(). | 
