Language Reference Guide : System Classes : QueryObject Class
 
Share this page          
QueryObject Class
The QueryObject class supports partitioning a query and allows for database update, insert, and delete operations.
If you create the QueryObject in 4GL code, use the attributes that comprise the underlying query to populate it.
Updates and inserts are permitted for all table columns in the target list, unless they are used in an expression or aggregate. Expression or aggregate values are not updated to reflect changes made to column values. Updates and inserts are not allowed on any target list expressions or aggregates defined by the query object.
When you create a QueryObject in 4GL code, you specify values only for the RunTimeWhere attribute. For a detailed discussion about creating query objects in 4GL code, see the Programming Guide.
Inherits From
Object Class
DataStream Class
SQLSelect Class
Inherited By
ColumnCross
CrossTable
RowCross
Attributes
DesignTimeWhere
HavingClause
IsDistinct
RunTimeWhere
Tables
Methods
CommitToCache
DBDelete
DBInsert
DBUpdate