Esta página aún no está disponible en su idioma local. Estamos trabajando arduamente para agregar más versiones de idiomas. Gracias por tu apoyo.

On this page

Driver Package

Updated on 2023-10-08 GMT+08:00

DDS allows you to operate data using Go. You can connect to a DB instance through an SSL connection or an unencrypted connection. SSL connection is more secure.

SSL is disabled by default for a new DDS 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.12.1

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

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback