package
0.5.6
Repository: https://github.com/ralvarezdev/go-databases.git
Documentation: pkg.go.dev

# Functions

CreateSession creates a new session.
CreateTransaction creates a new transaction.
CreateTransactionOptions creates the transaction options.
GetObjectIdFromString gets the object ID from the string.
NewCollection creates a new MongoDB collection.
NewCompoundFieldIndex creates a new compound field index model.
NewConnConfig creates a new MongoDB connection configuration.
NewDefaultConnHandler creates a new connection.
NewFieldIndex creates a new field index.
NewTTLIndex creates a new TTL index model.
NewUniqueIndex creates a new unique field index model.
PrepareFindOneAndUpdateOptions prepares the find one and update options.
PrepareFindOneOptions prepares the find one options.
PrepareFindOptions prepares the find options.
PrepareUpdateOptions prepares the update options.

# Constants

Ascending order.
Descending order.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Collection represents a MongoDB collection.
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author

# Type aliases

Order represents the order of the index.