FireDAC.Phys.MongoDBWrapper.TMongoDocument

From RAD Studio API Documentation
Jump to: navigation, search

FireDAC.Phys.MongoDBWrapper.TMongoObjectSystem.TObjectTMongoDocument

Delphi

TMongoDocument = class(TMongoObject)

C++

class PASCALIMPLEMENTATION TMongoDocument : public TMongoObject

Properties

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

Description

Defines a document that is the key object in MongoDB API. Encapsulates MongoDB bson_t structure.


MongoDB stores all data in documents, which are JSON data structures composed of key-value pairs, for example:

{ "item": "pencil", "qty": 500, "type": "no.2" }

TMongoDocument is the key entity in MongoDB API that is responsible for exchanging data, building queries, processing errors, and more. TMongoDocument provides several methods and properties, such as:


See Also