FireDAC.Phys.MongoDBWrapper.TMongoPipeline.Sample

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

function Sample(const AValue: Integer): TMongoPipeline;

C++

TMongoPipeline* __fastcall Sample(const int AValue);

Eigenschaften

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


Beschreibung

Definiert das Stadium $sample, in dem zufällig die angegebene Anzahl von Dokumenten aus der Eingabe ausgewählt werden.

Weitere Informationen finden Sie unter $sample (aggregation) (EN) in der MongoDB-Dokumentation.

Siehe auch