diff options
Diffstat (limited to 'doc/man/man3/tqsqlcursor.3qt')
-rw-r--r-- | doc/man/man3/tqsqlcursor.3qt | 88 |
1 files changed, 44 insertions, 44 deletions
diff --git a/doc/man/man3/tqsqlcursor.3qt b/doc/man/man3/tqsqlcursor.3qt index 9a243f91c..6dcb1d271 100644 --- a/doc/man/man3/tqsqlcursor.3qt +++ b/doc/man/man3/tqsqlcursor.3qt @@ -18,7 +18,7 @@ Inherited by TQSqlSelectCursor. .SS "Public Members" .in +1c .ti -1c -.BI "\fBTQSqlCursor\fR ( const TQString & name = TQString::null, bool autopopulate = TRUE, TQSqlDatabase * db = 0 )" +.BI "\fBTQSqlCursor\fR ( const TQString & name = TQString::null, bool autopopulate = true, TQSqlDatabase * db = 0 )" .br .ti -1c .BI "\fBTQSqlCursor\fR ( const TQSqlCursor & other )" @@ -33,7 +33,7 @@ Inherited by TQSqlSelectCursor. .BI "enum \fBMode\fR { ReadOnly = 0, Insert = 1, Update = 2, Delete = 4, Writable = 7 }" .br .ti -1c -.BI "virtual TQSqlIndex \fBprimaryIndex\fR ( bool setFromCursor = TRUE ) const" +.BI "virtual TQSqlIndex \fBprimaryIndex\fR ( bool setFromCursor = true ) const" .br .ti -1c .BI "virtual TQSqlIndex \fBindex\fR ( const TQStringList & fieldNames ) const" @@ -66,7 +66,7 @@ Inherited by TQSqlSelectCursor. .BI "virtual void \fBsetGenerated\fR ( int i, bool generated )" .br .ti -1c -.BI "virtual TQSqlRecord * \fBeditBuffer\fR ( bool copy = FALSE )" +.BI "virtual TQSqlRecord * \fBeditBuffer\fR ( bool copy = false )" .br .ti -1c .BI "virtual TQSqlRecord * \fBprimeInsert\fR ()" @@ -78,13 +78,13 @@ Inherited by TQSqlSelectCursor. .BI "virtual TQSqlRecord * \fBprimeDelete\fR ()" .br .ti -1c -.BI "virtual int \fBinsert\fR ( bool invalidate = TRUE )" +.BI "virtual int \fBinsert\fR ( bool invalidate = true )" .br .ti -1c -.BI "virtual int \fBupdate\fR ( bool invalidate = TRUE )" +.BI "virtual int \fBupdate\fR ( bool invalidate = true )" .br .ti -1c -.BI "virtual int \fBdel\fR ( bool invalidate = TRUE )" +.BI "virtual int \fBdel\fR ( bool invalidate = true )" .br .ti -1c .BI "virtual void \fBsetMode\fR ( int mode )" @@ -141,7 +141,7 @@ Inherited by TQSqlSelectCursor. .BI "TQString \fBfilter\fR () const" .br .ti -1c -.BI "virtual void \fBsetName\fR ( const TQString & name, bool autopopulate = TRUE )" +.BI "virtual void \fBsetName\fR ( const TQString & name, bool autopopulate = true )" .br .ti -1c .BI "TQString \fBname\fR () const" @@ -159,10 +159,10 @@ Inherited by TQSqlSelectCursor. .BI "virtual TQVariant \fBcalculateField\fR ( const TQString & name )" .br .ti -1c -.BI "virtual int \fBupdate\fR ( const TQString & filter, bool invalidate = TRUE )" +.BI "virtual int \fBupdate\fR ( const TQString & filter, bool invalidate = true )" .br .ti -1c -.BI "virtual int \fBdel\fR ( const TQString & filter, bool invalidate = TRUE )" +.BI "virtual int \fBdel\fR ( const TQString & filter, bool invalidate = true )" .br .ti -1c .BI "virtual TQString \fBtoString\fR ( const TQString & prefix, TQSqlField * field, const TQString & fieldSep ) const" @@ -181,7 +181,7 @@ A TQSqlCursor is a database record (see TQSqlRecord) that corresponds to a table .PP When positioned on a valid record, the browse buffer contains the values of the current record's fields from the database. The edit buffer is separate, and is used for editing existing records and inserting new records. .PP -For browsing data, a cursor must first select() data from the database. After a successful select() the cursor is active (isActive() returns TRUE), but is initially not positioned on a valid record (isValid() returns FALSE). To position the cursor on a valid record, use one of the navigation functions, next(), prev(), first(), last(), or seek(). Once positioned on a valid record, data can be retrieved from the browse buffer using value(). If a navigation function is not successful, it returns FALSE, the cursor will no longer be positioned on a valid record and the values returned by value() are undefined. +For browsing data, a cursor must first select() data from the database. After a successful select() the cursor is active (isActive() returns true), but is initially not positioned on a valid record (isValid() returns false). To position the cursor on a valid record, use one of the navigation functions, next(), prev(), first(), last(), or seek(). Once positioned on a valid record, data can be retrieved from the browse buffer using value(). If a navigation function is not successful, it returns false, the cursor will no longer be positioned on a valid record and the values returned by value() are undefined. .PP For example: .PP @@ -202,7 +202,7 @@ For example: } .fi .PP -In the above example, a cursor is created specifying a table or view name in the database. Then, select() is called, which can be optionally parameterised to filter and order the records retrieved. Each record in the cursor is retrieved using next(). When next() returns FALSE, there are no more records to process, and the loop terminates. +In the above example, a cursor is created specifying a table or view name in the database. Then, select() is called, which can be optionally parameterised to filter and order the records retrieved. Each record in the cursor is retrieved using next(). When next() returns false, there are no more records to process, and the loop terminates. .PP For editing records (rows of data), a cursor contains a separate edit buffer which is independent of the fields used when browsing. The functions insert(), update() and del() operate on the edit buffer. This allows the cursor to be repositioned to other records while simultaneously maintaining a separate buffer for edits. You can get a pointer to the edit buffer using editBuffer(). The primeInsert(), primeUpdate() and primeDelete() functions also return a pointer to the edit buffer and prepare it for insert, update and delete respectively. Edit operations only affect a single row at a time. Note that update() and del() require that the table or view contain a primaryIndex() to ensure that edit operations affect a unique record within the database. .PP @@ -235,7 +235,7 @@ Similarly, when deleting an existing database record, first move to the record y .PP To insert a new record, call primeInsert() to get the pointer to the edit buffer. Use this pointer to populate the edit buffer with new values and then insert() the record into the database. .PP -After calling insert(), update() or del(), the cursor is no longer positioned on a valid record and can no longer be navigated (isValid() return FALSE). The reason for this is that any changes made to the database will not be visible until select() is called to refresh the cursor. You can change this behavior by passing FALSE to insert(), update() or del() which will prevent the cursor from becoming invalid. The edits will still not be visible when navigating the cursor until select() is called. +After calling insert(), update() or del(), the cursor is no longer positioned on a valid record and can no longer be navigated (isValid() return false). The reason for this is that any changes made to the database will not be visible until select() is called to refresh the cursor. You can change this behavior by passing false to insert(), update() or del() which will prevent the cursor from becoming invalid. The edits will still not be visible when navigating the cursor until select() is called. .PP TQSqlCursor contains virtual methods which allow editing behavior to be customized by subclasses. This allows custom cursors to be created that encapsulate the editing behavior of a database table for an entire application. For example, a cursor can be customized to always auto-number primary index fields, or provide fields with suitable default values, when inserting new records. TQSqlCursor generates SQL statements which are sent to the database engine; you can control which fields are included in these statements using setGenerated(). .PP @@ -256,10 +256,10 @@ This enum type describes how TQSqlCursor operates on records in the database. .TP \fCTQSqlCursor::Writable\fR - the cursor can INSERT, UPDATE and DELETE records in the database. .SH MEMBER FUNCTION DOCUMENTATION -.SH "TQSqlCursor::TQSqlCursor ( const TQString & name = TQString::null, bool autopopulate = TRUE, TQSqlDatabase * db = 0 )" +.SH "TQSqlCursor::TQSqlCursor ( const TQString & name = TQString::null, bool autopopulate = true, TQSqlDatabase * db = 0 )" Constructs a cursor on database \fIdb\fR using table or view \fIname\fR. .PP -If \fIautopopulate\fR is TRUE (the default), the \fIname\fR of the cursor must correspond to an existing table or view name in the database so that field information can be automatically created. If the table or view does not exist, the cursor will not be functional. +If \fIautopopulate\fR is true (the default), the \fIname\fR of the cursor must correspond to an existing table or view name in the database so that field information can be automatically created. If the table or view does not exist, the cursor will not be functional. .PP The cursor is created with an initial mode of TQSqlCursor::Writable (meaning that records can be inserted, updated or deleted using the cursor). If the cursor does not have a unique primary index, update and deletes cannot be performed. .PP @@ -280,25 +280,25 @@ See also setCalculated(). Examples: .)l sql/overview/subclass3/main.cpp and sql/overview/subclass4/main.cpp. .SH "bool TQSqlCursor::canDelete () const" -Returns TRUE if the cursor will perform deletes; otherwise returns FALSE. +Returns true if the cursor will perform deletes; otherwise returns false. .PP See also setMode(). .SH "bool TQSqlCursor::canInsert () const" -Returns TRUE if the cursor will perform inserts; otherwise returns FALSE. +Returns true if the cursor will perform inserts; otherwise returns false. .PP See also setMode(). .SH "bool TQSqlCursor::canUpdate () const" -Returns TRUE if the cursor will perform updates; otherwise returns FALSE. +Returns true if the cursor will perform updates; otherwise returns false. .PP See also setMode(). .SH "void TQSqlCursor::clear ()\fC [virtual]\fR" Removes all fields from the cursor. Note that all references to the cursor edit buffer become invalidated. .PP Reimplemented from TQSqlRecord. -.SH "int TQSqlCursor::del ( bool invalidate = TRUE )\fC [virtual]\fR" +.SH "int TQSqlCursor::del ( bool invalidate = true )\fC [virtual]\fR" Deletes a record from the database using the cursor's primary index and the contents of the cursor edit buffer. Returns the number of records which were deleted. For error information, use lastError(). .PP -Only records which meet the filter criteria specified by the cursor's primary index are deleted. If the cursor does not contain a primary index, no delete is performed and 0 is returned. If \fIinvalidate\fR is TRUE (the default), the current cursor can no longer be navigated. A new select() call must be made before you can move to a valid record. For example: +Only records which meet the filter criteria specified by the cursor's primary index are deleted. If the cursor does not contain a primary index, no delete is performed and 0 is returned. If \fIinvalidate\fR is true (the default), the current cursor can no longer be navigated. A new select() call must be made before you can move to a valid record. For example: .PP .nf .br @@ -320,16 +320,16 @@ In the above example, a cursor is created on the 'prices' table and positioned t See also primeDelete(), setMode(), and lastError(). .PP Example: sql/overview/delete/main.cpp. -.SH "int TQSqlCursor::del ( const TQString & filter, bool invalidate = TRUE )\fC [virtual protected]\fR" +.SH "int TQSqlCursor::del ( const TQString & filter, bool invalidate = true )\fC [virtual protected]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -Deletes the current cursor record from the database using the filter \fIfilter\fR. Only records which meet the filter criteria are deleted. Returns the number of records which were deleted. If \fIinvalidate\fR is TRUE (the default), the current cursor can no longer be navigated. A new select() call must be made before you can move to a valid record. For error information, use lastError(). +Deletes the current cursor record from the database using the filter \fIfilter\fR. Only records which meet the filter criteria are deleted. Returns the number of records which were deleted. If \fIinvalidate\fR is true (the default), the current cursor can no longer be navigated. A new select() call must be made before you can move to a valid record. For error information, use lastError(). .PP The \fIfilter\fR is an SQL \fCWHERE\fR clause, e.g. \fCid=500\fR. .PP See also setMode() and lastError(). -.SH "TQSqlRecord * TQSqlCursor::editBuffer ( bool copy = FALSE )\fC [virtual]\fR" -Returns the current internal edit buffer. If \fIcopy\fR is TRUE (the default is FALSE), the current cursor field values are first copied into the edit buffer. The edit buffer is valid as long as the cursor remains valid. The cursor retains ownership of the returned pointer, so it must not be deleted or modified. +.SH "TQSqlRecord * TQSqlCursor::editBuffer ( bool copy = false )\fC [virtual]\fR" +Returns the current internal edit buffer. If \fIcopy\fR is true (the default is false), the current cursor field values are first copied into the edit buffer. The edit buffer is valid as long as the cursor remains valid. The cursor retains ownership of the returned pointer, so it must not be deleted or modified. .PP See also primeInsert(), primeUpdate(), and primeDelete(). .SH "TQString TQSqlCursor::filter () const" @@ -354,12 +354,12 @@ Insert a copy of \fIfieldInfo\fR at position \fIpos\fR. If a field already exist .PP Examples: .)l sql/overview/insert/main.cpp and sql/overview/insert2/main.cpp. -.SH "int TQSqlCursor::insert ( bool invalidate = TRUE )\fC [virtual]\fR" +.SH "int TQSqlCursor::insert ( bool invalidate = true )\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts the current contents of the cursor's edit record buffer into the database, if the cursor allows inserts. Returns the number of rows affected by the insert. For error information, use lastError(). .PP -If \fIinvalidate\fR is TRUE (the default), the cursor will no longer be positioned on a valid record and can no longer be navigated. A new select() call must be made before navigating to a valid record. +If \fIinvalidate\fR is true (the default), the cursor will no longer be positioned on a valid record and can no longer be navigated. A new select() call must be made before navigating to a valid record. .PP .nf .br @@ -380,25 +380,25 @@ In the above example, a cursor is created on the 'prices' table and a pointer to .PP See also setMode() and lastError(). .SH "bool TQSqlCursor::isCalculated ( const TQString & name ) const" -Returns TRUE if the field \fIname\fR exists and is calculated; otherwise returns FALSE. +Returns true if the field \fIname\fR exists and is calculated; otherwise returns false. .PP See also setCalculated(). .SH "bool TQSqlCursor::isNull ( int i ) const" -Returns TRUE if the field \fIi\fR is NULL or if there is no field at position \fIi\fR; otherwise returns FALSE. +Returns true if the field \fIi\fR is NULL or if there is no field at position \fIi\fR; otherwise returns false. .PP This is the same as calling TQSqlRecord::isNull( \fIi\fR ) .SH "bool TQSqlCursor::isNull ( const TQString & name ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -Returns TRUE if the field called \fIname\fR is NULL or if there is no field called \fIname\fR; otherwise returns FALSE. +Returns true if the field called \fIname\fR is NULL or if there is no field called \fIname\fR; otherwise returns false. .PP This is the same as calling TQSqlRecord::isNull( \fIname\fR ) .SH "bool TQSqlCursor::isReadOnly () const" -Returns TRUE if the cursor is read-only; otherwise returns FALSE. The default is FALSE. Read-only cursors cannot be edited using insert(), update() or del(). +Returns true if the cursor is read-only; otherwise returns false. The default is false. Read-only cursors cannot be edited using insert(), update() or del(). .PP See also setMode(). .SH "bool TQSqlCursor::isTrimmed ( const TQString & name ) const" -Returns TRUE if the field \fIname\fR exists and is trimmed; otherwise returns FALSE. +Returns true if the field \fIname\fR exists and is trimmed; otherwise returns false. .PP When a trimmed field of type string or cstring is read from the database any trailing (right-most) spaces are removed. .PP @@ -411,10 +411,10 @@ See also setMode(). Returns the name of the cursor. .SH "TQSqlCursor & TQSqlCursor::operator= ( const TQSqlCursor & other )" Sets the cursor equal to \fIother\fR. -.SH "TQSqlIndex TQSqlCursor::primaryIndex ( bool setFromCursor = TRUE ) const\fC [virtual]\fR" -Returns the primary index associated with the cursor as defined in the database, or an empty index if there is no primary index. If \fIsetFromCursor\fR is TRUE (the default), the index fields are populated with the corresponding values in the cursor's current record. +.SH "TQSqlIndex TQSqlCursor::primaryIndex ( bool setFromCursor = true ) const\fC [virtual]\fR" +Returns the primary index associated with the cursor as defined in the database, or an empty index if there is no primary index. If \fIsetFromCursor\fR is true (the default), the index fields are populated with the corresponding values in the cursor's current record. .SH "TQSqlRecord * TQSqlCursor::primeDelete ()\fC [virtual]\fR" -This function primes the edit buffer's field values for delete and returns the edit buffer. The default implementation copies the field values from the current cursor record into the edit buffer (therefore, this function is equivalent to calling editBuffer( TRUE ) ). The cursor retains ownership of the returned pointer, so it must not be deleted or modified. +This function primes the edit buffer's field values for delete and returns the edit buffer. The default implementation copies the field values from the current cursor record into the edit buffer (therefore, this function is equivalent to calling editBuffer( true ) ). The cursor retains ownership of the returned pointer, so it must not be deleted or modified. .PP See also editBuffer() and del(). .PP @@ -427,7 +427,7 @@ See also editBuffer() and insert(). Examples: .)l sql/overview/insert/main.cpp, sql/overview/insert2/main.cpp, sql/overview/subclass5/main.cpp, and sql/sqltable/main.cpp. .SH "TQSqlRecord * TQSqlCursor::primeUpdate ()\fC [virtual]\fR" -This function primes the edit buffer's field values for update and returns the edit buffer. The default implementation copies the field values from the current cursor record into the edit buffer (therefore, this function is equivalent to calling editBuffer( TRUE ) ). The cursor retains ownership of the returned pointer, so it must not be deleted or modified. +This function primes the edit buffer's field values for update and returns the edit buffer. The default implementation copies the field values from the current cursor record into the edit buffer (therefore, this function is equivalent to calling editBuffer( true ) ). The cursor retains ownership of the returned pointer, so it must not be deleted or modified. .PP See also editBuffer() and update(). .PP @@ -438,7 +438,7 @@ Removes the field at \fIpos\fR. If \fIpos\fR does not exist, nothing happens. No .PP Reimplemented from TQSqlRecord. .SH "bool TQSqlCursor::select ( const TQString & filter, const TQSqlIndex & sort = TQSqlIndex ( ) )\fC [virtual]\fR" -Selects all fields in the cursor from the database matching the filter criteria \fIfilter\fR. The data is returned in the order specified by the index \fIsort\fR. Returns TRUE if the data was successfully selected; otherwise returns FALSE. +Selects all fields in the cursor from the database matching the filter criteria \fIfilter\fR. The data is returned in the order specified by the index \fIsort\fR. Returns true if the data was successfully selected; otherwise returns false. .PP The \fIfilter\fR is a string containing a SQL \fCWHERE\fR clause but without the 'WHERE' keyword. The cursor is initially positioned at an invalid row after this function is called. To move to a valid row, use seek(), first(), last(), prev() or next(). .PP @@ -529,7 +529,7 @@ Sets the current filter to \fIfilter\fR. Note that no new records are selected. .PP The filter is a SQL \fCWHERE\fR clause without the keyword 'WHERE', e.g. \fCname='Dave'\fR which will be processed by the DBMS. .SH "void TQSqlCursor::setGenerated ( const TQString & name, bool generated )\fC [virtual]\fR" -Sets the generated flag for the field \fIname\fR to \fIgenerated\fR. If the field does not exist, nothing happens. Only fields that have \fIgenerated\fR set to TRUE are included in the SQL that is generated by insert(), update() or del(). +Sets the generated flag for the field \fIname\fR to \fIgenerated\fR. If the field does not exist, nothing happens. Only fields that have \fIgenerated\fR set to true are included in the SQL that is generated by insert(), update() or del(). .PP See also isGenerated(). .PP @@ -561,8 +561,8 @@ Sets the cursor mode to \fImode\fR. This value can be an OR'ed combination of TQ .br .br .fi -.SH "void TQSqlCursor::setName ( const TQString & name, bool autopopulate = TRUE )\fC [virtual]\fR" -Sets the name of the cursor to \fIname\fR. If \fIautopopulate\fR is TRUE (the default), the \fIname\fR must correspond to a valid table or view name in the database. Also, note that all references to the cursor edit buffer become invalidated when fields are auto-populated. See the TQSqlCursor constructor documentation for more information. +.SH "void TQSqlCursor::setName ( const TQString & name, bool autopopulate = true )\fC [virtual]\fR" +Sets the name of the cursor to \fIname\fR. If \fIautopopulate\fR is true (the default), the \fIname\fR must correspond to a valid table or view name in the database. Also, note that all references to the cursor edit buffer become invalidated when fields are auto-populated. See the TQSqlCursor constructor documentation for more information. .SH "void TQSqlCursor::setPrimaryIndex ( const TQSqlIndex & idx )\fC [virtual]\fR" Sets the primary index associated with the cursor to the index \fIidx\fR. Note that this index must contain a field or set of fields which identify a unique record within the underlying database table or view so that update() and del() will execute as expected. .PP @@ -580,7 +580,7 @@ Returns the current sort, or an empty index if there is no current sort. .SH "TQString TQSqlCursor::toString ( TQSqlRecord * rec, const TQString & prefix, const TQString & fieldSep, const TQString & sep ) const\fC [virtual protected]\fR" Returns a formatted string composed of all the fields in \fIrec\fR. Each field is composed of the \fIprefix\fR (e.g. table or view name)," .", the field name, the \fIfieldSep\fR and the field value. If the -\fIprefix\fR is empty then each field will begin with the field name. The fields are then joined together separated by \fIsep\fR. Fields where isGenerated() returns FALSE are not included. This function is useful for generating SQL statements. +\fIprefix\fR is empty then each field will begin with the field name. The fields are then joined together separated by \fIsep\fR. Fields where isGenerated() returns false are not included. This function is useful for generating SQL statements. .SH "TQString TQSqlCursor::toString ( const TQString & prefix, TQSqlField * field, const TQString & fieldSep ) const\fC [virtual protected]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP @@ -588,13 +588,13 @@ Returns a formatted string composed of the \fIprefix\fR (e.g. table or view name .SH "TQString TQSqlCursor::toString ( const TQSqlIndex & i, TQSqlRecord * rec, const TQString & prefix, const TQString & fieldSep, const TQString & sep ) const\fC [virtual protected]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -Returns a formatted string composed of all the fields in the index \fIi\fR. Each field is composed of the \fIprefix\fR (e.g. table or view name), ".", the field name, the \fIfieldSep\fR and the field value. If the \fIprefix\fR is empty then each field will begin with the field name. The field values are taken from \fIrec\fR. The fields are then joined together separated by \fIsep\fR. Fields where isGenerated() returns FALSE are ignored. This function is useful for generating SQL statements. -.SH "int TQSqlCursor::update ( bool invalidate = TRUE )\fC [virtual]\fR" +Returns a formatted string composed of all the fields in the index \fIi\fR. Each field is composed of the \fIprefix\fR (e.g. table or view name), ".", the field name, the \fIfieldSep\fR and the field value. If the \fIprefix\fR is empty then each field will begin with the field name. The field values are taken from \fIrec\fR. The fields are then joined together separated by \fIsep\fR. Fields where isGenerated() returns false are ignored. This function is useful for generating SQL statements. +.SH "int TQSqlCursor::update ( bool invalidate = true )\fC [virtual]\fR" Updates the database with the current contents of the edit buffer. Returns the number of records which were updated. For error information, use lastError(). .PP Only records which meet the filter criteria specified by the cursor's primary index are updated. If the cursor does not contain a primary index, no update is performed and 0 is returned. .PP -If \fIinvalidate\fR is TRUE (the default), the current cursor can no longer be navigated. A new select() call must be made before you can move to a valid record. For example: +If \fIinvalidate\fR is true (the default), the current cursor can no longer be navigated. A new select() call must be made before you can move to a valid record. For example: .PP .nf .br @@ -624,14 +624,14 @@ Note that if the primary index does not uniquely distinguish records the databas See also setMode() and lastError(). .PP Example: sql/overview/update/main.cpp. -.SH "int TQSqlCursor::update ( const TQString & filter, bool invalidate = TRUE )\fC [virtual protected]\fR" +.SH "int TQSqlCursor::update ( const TQString & filter, bool invalidate = true )\fC [virtual protected]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Updates the database with the current contents of the cursor edit buffer using the specified \fIfilter\fR. Returns the number of records which were updated. For error information, use lastError(). .PP Only records which meet the filter criteria are updated, otherwise all records in the table are updated. .PP -If \fIinvalidate\fR is TRUE (the default), the cursor can no longer be navigated. A new select() call must be made before you can move to a valid record. +If \fIinvalidate\fR is true (the default), the cursor can no longer be navigated. A new select() call must be made before you can move to a valid record. .PP See also primeUpdate(), setMode(), and lastError(). |