Stored Procedures
Stored procedures are function-like interfaces that extend the functionality of the driver beyond simple SELECT/INSERT/UPDATE/DELETE operations with MongoDB.
Stored procedures accept a list of parameters, perform their intended function, and then return, if applicable, any relevant response data from MongoDB, along with an indication of whether the procedure succeeded or failed.
CData JDBC Driver for MongoDB Stored Procedures
Name | Description |
AddDocument | Insert entire JSON documents to MongoDB as-is. |
CreateSchema | Creates a schema file for the collection. |
CreateUserTable | Creates a schema file for the collection. |
Eval | Provides the ability to run JavaScript code on the MongoDB server. |
GetDocument | Take a pass-through query to retrieve documents. |
SearchDocument | Get the entire document as a string. |