Xbasic
MongoDB Functions
Description
These low-level xbasic MongoDB functions and the MongoDB Explorer allow you to interact with MongoDB directly, without defining a schema.
- Name
- Description
- mongo_createDocument Function
Creates a new document in a MongoDB collection and returns the new document ID.
- mongo_deleteCollection Function
Deletes an entire collection from a MongoDB database.
- mongo_deleteDocument Function
Deletes a specific document from a MongoDB collection.
- mongo_getDocument Function
Retrieves a single document from a MongoDB collection by ID.
- mongo_listCollections Function
Lists all collections within a specific MongoDB database.
- mongo_listDatabases Function
Lists all databases available on the MongoDB server.
- mongo_query Function
Executes a query to find documents in a collection using SQL or native Mongo syntax.
- mongo_updateDocument Function
Updates an existing document in a MongoDB collection.