Location:
D32DBMS.H
Link against: edbms.lib
class RDbRowConstraint;
Represents a pre-compiled SQL search-condition, which can be used to test against the current row in a rowset.
The constraint is compiled against a specific rowset, and can only be matched against the same rowset using the RDbRowSet::MatchL()
function.
Defined in RDbRowConstraint
:
Close()
, Open()
Capability: | Security policy note: | For a secure shared database, the caller must satisfy the read access policy for the table. |
IMPORT_C TInt Open(const RDbRowSet &aView, TDbQuery aCriteria);
Compiles the specified SQL search-condition for matching against rows in the specified rowset. The text comparison supplied in aCriteria is used for all text columns in the constraint.
|
|
IMPORT_C void Close();
Releases the resources used by the constraint before discarding the constraint object.