Driver Package
GeminiDB Mongo allows you to operate data using Go. You can connect to an instance through an SSL connection or an unencrypted connection. SSL connection is more secure.
SSL is disabled by default for a new GeminiDB Mongo instance. To enable SSL, see Enabling SSL.
Downloading the Driver
To download the driver, go.mod is recommended.
require go.mongodb.org/mongo-driver v1.7.6
Import the go files.
import ( "go.mongodb.org/mongo-driver/bson" "go.mongodb.org/mongo-driver/mongo" "go.mongodb.org/mongo-driver/mongo/options" "go.mongodb.org/mongo-driver/mongo/readpref" )
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot