package
2.1.0
Repository: https://github.com/mongodb/mongo-go-driver.git
Documentation: pkg.go.dev

# Functions

CompareTopologyVersions compares the receiver, which represents the currently known TopologyVersion for a server, to an incoming TopologyVersion extracted from a server command response.
EqualServers compares two server descriptions and returns true if they are equal.
GetFaasEnvName parses the FaaS environment variable name and returns the corresponding name used by the client.
IsServerLoadBalanced checks if a description.Server describes a server that is load balanced.
NewServerDescription creates a new server description from the given hello command response.
NewTopologyVersion creates a TopologyVersion based on doc.
NewVersionRange creates a new VersionRange given a min and a max.
VersionRangeIncludes returns a bool indicating whether the supplied integer is included in the range.

# Constants

AbortTransactionOp is the name for aborting a transaction.
AggregateOp is the name for aggregating.
No description provided by the author
BulkWriteOp is the name for client-level bulk write.
CommitTransactionOp is the name for committing a transaction.
CountOp is the name for counting.
CreateIndexesOp is the name for creating indexes.
CreateOp is the name for creating.
DeleteOp is the name for deleting.
DistinctOp is the name for distinct.
DropDatabaseOp is the name for dropping a database.
DropIndexesOp is the name for dropping indexes.
DropOp is the name for dropping.
EndSessionsOp is the name for ending sessions.
EnvNameAWSLambda is the AWS Lambda environment name.
EnvNameAzureFunc is the Azure Function environment name.
EnvNameGCPFunc is the Google Cloud Function environment name.
EnvNameVercel is the Vercel environment name.
EnvVarAWSExecutionEnv is the AWS Execution environment variable.
EnvVarAWSLambdaFunctionMemorySize is the AWS Lambda function memory size variable.
EnvVarAWSLambdaRuntimeAPI is the AWS Lambda runtime API variable.
EnvVarAWSRegion is the AWS region variable.
EnvVarFunctionMemoryMB is the function memory in megabytes variable.
EnvVarFunctionName is the function name variable.
EnvVarFunctionRegion is the function region variable.
EnvVarFunctionsWorkerRuntime is the functions worker runtime variable.
EnvVarFunctionTimeoutSec is the function timeout in seconds variable.
EnvVarK8s is the K8s variable.
EnvVarKService is the K Service variable.
EnvVarVercel is the Vercel variable.
EnvVarVercelRegion is the Vercel region variable.
FindAndModifyOp is the name for finding and modifying.
FindOp is the name for finding.
InsertOp is the name for inserting.
ListCollectionsOp is the name for listing collections.
ListDatabasesOp is the name for listing databases.
ListIndexesOp is the name for listing indexes.
No description provided by the author
No description provided by the author
UpdateOp is the name for updating.