FireDAC.Phys.MongoDBWrapper.TMongoQuery.Open
Delphi
function Open: IMongoCursor;
C++
_di_IMongoCursor __fastcall Open(void);
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| function | public | FireDAC.Phys.MongoDBWrapper.pas FireDAC.Phys.MongoDBWrapper.hpp | FireDAC.Phys.MongoDBWrapper | TMongoQuery | 
Description
Explicitly executes this query and returns a cursor.
When using this method, consider the following:
- Casting a TMongoQuery object to IMongoCursor implicitly executes the query.
- This method may be used only when a query object was created with the appropriate TMongoCollection.Find overloaded method.