FireDAC.Phys.MongoDBWrapper.TMongoDocument.Iterate

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Iterate(AFunc: TJSONIterator.TIterateFunc);

C++

void __fastcall Iterate(System::Json::Builders::TJSONIterator::_di_TIterateFunc AFunc);

Properties

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

Description

Iterates through all document elements and calls the specified function for each item.

Iterates through all elements of this document and calls the AFunc function for each element.

AFunc gets a reference to an iterator that points to a current document element. The Iterate method works as follows:

  • When AFunc returns True, the method continues iterating through the document elements.
  • When AFunc returns False, the method immediately stops the iteration process.


See Also

Sample Projects