--- title: "perform MongoDB operation()" slug: "basic-mongo-db" updated: 2026-08-12T07:58:59Z published: 2026-08-12T07:58:59Z canonical: "docs.lobstersoftware.com/basic-mongo-db" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # perform MongoDB operation() This function internally calls the class [MongoDBResponse](/v1/docs/en/mongo-db-response) (which internally calls the [MongoPostexecuter](/v1/docs/en/mongo-postexecutor)). See the documentation there. The return value is *true* on success, *false* otherwise, or what is set in parameter **h**. ## Parameters | Parameter | Description | | --- | --- | | a | See parameter "MongoDB-Alias". | | b | See parameter "Collection". | | c | See parameter "Operation". | | d | (optional) See parameter "Cast". | | e | (optional) See parameter "Adjust JSON". | | f | The JSON data. | | g | (optional) See parameter "Filter". | | h | (optional) If *true*, the return value is the number of changed documents or *-1* for an error. Default: *false*. |