Show: Object Pascal C++
Display Preferences

FireDAC.Phys.MongoDBWrapper.TMongoCollection.Command

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

function Command(ACommand: TMongoCommand; AFlags: TMongoQueryFlags = []): IMongoCursor; overload;
function Command(const AJSON: String; AFlags: TMongoQueryFlags = []): IMongoCursor; overload;

C++

_di_IMongoCursor __fastcall Command(TMongoCommand* ACommand, TMongoQueryFlags AFlags = TMongoQueryFlags() )/* overload */;
_di_IMongoCursor __fastcall Command(const System::UnicodeString AJSON, TMongoQueryFlags AFlags = TMongoQueryFlags() )/* overload */;

Properties

Type Visibility Source Unit Parent
function public
FireDAC.Phys.MongoDBWrapper.pas
FireDAC.Phys.MongoDBWrapper.hpp
FireDAC.Phys.MongoDBWrapper TMongoCollection

Description

Executes the specified database command on the collection and returns a cursor to access the results.

You may specify the database command to execute as an instance of TMongoCommand or as a string containing a database command defined in JSON format.

You can optionally specify a set of query flags.

See Also

Personal tools
Translations