FireDAC.Phys.MongoDBWrapper.TMongoDatabase.CommandSimple

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

function CommandSimple(ACommand: TMongoDocument): TMongoDocument; overload;
function CommandSimple(const AJSON: String): TMongoDocument; overload;

C++

TMongoDocument* __fastcall CommandSimple(TMongoDocument* ACommand)/* overload */;
TMongoDocument* __fastcall CommandSimple(const System::UnicodeString AJSON)/* overload */;

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
function public
FireDAC.Phys.MongoDBWrapper.pas
FireDAC.Phys.MongoDBWrapper.hpp
FireDAC.Phys.MongoDBWrapper TMongoDatabase


Beschreibung

Führt den angegebenen Datenbankbefehl in der Datenbank aus und gibt ein Dokument zurück, das die Serverantwort enthält.

Sie können den Datenbankbefehl so festlegen, dass er entweder als eine Instanz von TMongoCommand oder als ein in JSON-Format definierter String, der einen Datenbankbefehl enthält, ausgeführt wird.

Verwenden Sie zur Angabe einer Menge von Abfrage-Flags Command anstelle von CommandSimple.

Siehe auch