FireDAC.Phys.MongoDBWrapper.TMongoDatabase Methods
InheritedProtected
| AddUser | public | Adds a user to the database. |
| AfterConstruction | public | Responds after the last constructor has executed. |
| BeforeDestruction | public | Responds before the first destructor executes. |
| CheckDisposed | protected | This method is deprecated. |
| ClassInfo | public | Returns a pointer to the run-time type information (RTTI) table for the object type. |
| ClassName | public | Returns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument). |
| ClassNameIs | public | Determines whether an object is of a specific type. |
| ClassParent | public | Returns the type of the immediate ancestor of a class. |
| ClassType | public | Returns the class reference for the object's class. |
| CleanupInstance | public | Performs finalization on long strings, variants, and interface variables within a class. |
| Command | public | Executes the specified database command on the database and returns a cursor to access the results. |
| CommandSimple | public | Executes the specified database command on the database and returns a document that contains the response from the server. |
| Create | protected | |
| CreateCollection | public | Creates a collection in the current database with the specified name and options. |
| DefaultHandler | public | Provides the interface for a method that processes message records. |
| Dereference | public | Returns a document from the database that matches the specified DBRef. |
| Destroy | public | |
| Dispatch | public | Calls message-handling methods for the object, based on the contents of the Message parameter. |
| DisposeOf (deprecated) | public | DisposeOf forces the execution of the destructor code in an object. |
| Drop | public | Removes the database from the MongoDB server. |
| DropAllUsers | public | Removes all users from the database. |
| DropCollection | public | Removes the collection with the specified name from the database. |
| DropUser | public | Removes the user that has the specified name from the database. |
| Equals | public | Checks whether the current instance and the Obj parameter are equal. |
| FieldAddress | public | Returns the address of a published object field. |
| Free | public | Destroys an object and frees its associated memory, if necessary. |
| FreeHandle | protected | Clears the existing handle, and optionally releases the API handle, when it is owned by this object. |
| FreeInstance | public | Deallocates memory allocated by a previous call to the NewInstance method. |
| GetCollection | public | Returns a collection of the database that has the specified name. |
| GetDisposed | protected | Getter for the Disposed property. |
| GetHashCode | public | Returns an integer containing the hash code. |
| GetInterface | public | Retrieves a specified interface. |
| GetInterfaceEntry | public | Returns the entry for a specific interface implemented in a class. |
| GetInterfaceTable | public | Returns a pointer to a structure containing all of the interfaces implemented by a given class. |
| HandleAllocated | protected | Provides an additional API handle setup. |
| HasCollection | public | Returns True if a collection with the specified name exists in the database. It returns False otherwise. |
| InheritsFrom | public | Determines the relationship of two object types. |
| InitInstance | public | Initializes a newly allocated object instance to all zeros and initializes the instance's virtual method table pointer. |
| InstanceSize | public | Returns the size in bytes of each instance of the object type. |
| InternalFreeHandle | protected | Releases the MongoDB API handle. |
| ListCollections | public | Returns a list of collections that match the specified selector. |
| MethodAddress | public | Returns the address of a class method by name. |
| MethodName | public | Returns the name of a class method by address. |
| NewInstance | public | Allocates memory for an instance of an object type and returns a pointer to that new instance. |
| operator [] | public | Gives you access to the contents of the Collections property using the [] operator directly on this instance of TMongoDatabase. |
| QualifiedClassName | public | Returns the qualified name of the class. |
| SafeCallException | public | Handles exceptions in methods declared using the safecall calling convention. |
| ToString | public | Returns a string containing the class name. |
| UnitName | public | Returns the name of the unit where the class is defined. |
| UnitScope | public | Returns the class's unit scope. |