Documentation ¶
Index ¶
- Constants
- Variables
- func BatchCursorFromCursor(c *Cursor) *driver.BatchCursor
- func IsDuplicateKeyError(err error) bool
- func IsNetworkError(err error) bool
- func IsTimeout(err error) bool
- func WithSession(ctx context.Context, sess Session, fn func(SessionContext) error) error
- type BSONAppender
- type BSONAppenderFunc
- type BulkWriteError
- type BulkWriteException
- type BulkWriteResult
- type ChangeStream
- type Client
- type ClientEncryption
- type Collection
- type CollectionSpecification
- type CommandError
- type Cursor
- type Database
- type DatabaseSpecification
- type DeleteManyModel
- type DeleteOneModel
- type DeleteResult
- type Dialer
- type EncryptionKeyVaultError
- type ErrMapForOrderedArgument
- type IndexModel
- type IndexOptionsBuilder
- type IndexSpecification
- type IndexView
- type InsertManyResult
- type InsertOneModel
- type InsertOneResult
- type ListDatabasesResult
- type MarshalError
- type MongocryptError
- type MongocryptdError
- type Pipeline
- type ReplaceOneModel
- type RewrapManyDataKeyResult
- type ServerError
- type Session
- type SessionContext
- type SingleResult
- type StreamType
- type UpdateManyModel
- type UpdateOneModel
- type UpdateResult
- type WriteConcernError
- type WriteError
- type WriteErrors
- type WriteException
- type WriteModel
- type XSession
Constants ¶
View Source
const ClientStream = originalMongo.ClientStream
View Source
const CollectionStream = originalMongo.CollectionStream
View Source
const DatabaseStream = originalMongo.DatabaseStream
Variables ¶
View Source
var ErrClientDisconnected = originalMongo.ErrClientDisconnected
View Source
var ErrEmptySlice = originalMongo.ErrEmptySlice
View Source
var ErrInvalidIndexValue = originalMongo.ErrInvalidIndexValue
View Source
var ErrMissingResumeToken = originalMongo.ErrMissingResumeToken
View Source
var ErrMultipleIndexDrop = originalMongo.ErrMultipleIndexDrop
View Source
var ErrNilCursor = originalMongo.ErrNilCursor
View Source
var ErrNilDocument = originalMongo.ErrNilDocument
View Source
var ErrNilValue = originalMongo.ErrNilValue
View Source
var ErrNoDocuments = originalMongo.ErrNoDocuments
View Source
var ErrNonStringIndexName = originalMongo.ErrNonStringIndexName
View Source
var ErrUnacknowledgedWrite = originalMongo.ErrUnacknowledgedWrite
View Source
var ErrWrongClient = originalMongo.ErrWrongClient
Functions ¶
func BatchCursorFromCursor ¶
func BatchCursorFromCursor(c *Cursor) *driver.BatchCursor
func IsDuplicateKeyError ¶
func IsNetworkError ¶
func WithSession ¶
Types ¶
type BSONAppender ¶
type BSONAppender = originalMongo.BSONAppender
type BSONAppenderFunc ¶
type BSONAppenderFunc = originalMongo.BSONAppenderFunc
type BulkWriteError ¶
type BulkWriteError = originalMongo.BulkWriteError
type BulkWriteException ¶
type BulkWriteException = originalMongo.BulkWriteException
type BulkWriteResult ¶
type BulkWriteResult = originalMongo.BulkWriteResult
type ChangeStream ¶
type ChangeStream = originalMongo.ChangeStream
type Client ¶
type Client = originalMongo.Client
type ClientEncryption ¶
type ClientEncryption = originalMongo.ClientEncryption
func NewClientEncryption ¶
func NewClientEncryption(keyVaultClient *Client, opts ...*options.ClientEncryptionOptions) (*ClientEncryption, error)
type Collection ¶
type Collection = originalMongo.Collection
type CollectionSpecification ¶
type CollectionSpecification = originalMongo.CollectionSpecification
type CommandError ¶
type CommandError = originalMongo.CommandError
type Cursor ¶
type Cursor = originalMongo.Cursor
type Database ¶
type Database = originalMongo.Database
type DatabaseSpecification ¶
type DatabaseSpecification = originalMongo.DatabaseSpecification
type DeleteManyModel ¶
type DeleteManyModel = originalMongo.DeleteManyModel
func NewDeleteManyModel ¶
func NewDeleteManyModel() *DeleteManyModel
type DeleteOneModel ¶
type DeleteOneModel = originalMongo.DeleteOneModel
func NewDeleteOneModel ¶
func NewDeleteOneModel() *DeleteOneModel
type DeleteResult ¶
type DeleteResult = originalMongo.DeleteResult
type Dialer ¶
type Dialer = originalMongo.Dialer
type EncryptionKeyVaultError ¶
type EncryptionKeyVaultError = originalMongo.EncryptionKeyVaultError
type ErrMapForOrderedArgument ¶
type ErrMapForOrderedArgument = originalMongo.ErrMapForOrderedArgument
type IndexModel ¶
type IndexModel = originalMongo.IndexModel
type IndexOptionsBuilder ¶
type IndexOptionsBuilder = originalMongo.IndexOptionsBuilder
func NewIndexOptionsBuilder ¶
func NewIndexOptionsBuilder() *IndexOptionsBuilder
type IndexSpecification ¶
type IndexSpecification = originalMongo.IndexSpecification
type IndexView ¶
type IndexView = originalMongo.IndexView
type InsertManyResult ¶
type InsertManyResult = originalMongo.InsertManyResult
type InsertOneModel ¶
type InsertOneModel = originalMongo.InsertOneModel
func NewInsertOneModel ¶
func NewInsertOneModel() *InsertOneModel
type InsertOneResult ¶
type InsertOneResult = originalMongo.InsertOneResult
type ListDatabasesResult ¶
type ListDatabasesResult = originalMongo.ListDatabasesResult
type MarshalError ¶
type MarshalError = originalMongo.MarshalError
type MongocryptError ¶
type MongocryptError = originalMongo.MongocryptError
type MongocryptdError ¶
type MongocryptdError = originalMongo.MongocryptdError
type Pipeline ¶
type Pipeline = originalMongo.Pipeline
type ReplaceOneModel ¶
type ReplaceOneModel = originalMongo.ReplaceOneModel
func NewReplaceOneModel ¶
func NewReplaceOneModel() *ReplaceOneModel
type RewrapManyDataKeyResult ¶
type RewrapManyDataKeyResult = originalMongo.RewrapManyDataKeyResult
type ServerError ¶
type ServerError = originalMongo.ServerError
type SessionContext ¶
type SessionContext = originalMongo.SessionContext
func NewSessionContext ¶
func NewSessionContext(ctx context.Context, sess Session) SessionContext
type SingleResult ¶
type SingleResult = originalMongo.SingleResult
func NewSingleResultFromDocument ¶
func NewSingleResultFromDocument(document interface{}, err error, registry *bsoncodec.Registry) *SingleResult
type StreamType ¶
type StreamType = originalMongo.StreamType
type UpdateManyModel ¶
type UpdateManyModel = originalMongo.UpdateManyModel
func NewUpdateManyModel ¶
func NewUpdateManyModel() *UpdateManyModel
type UpdateOneModel ¶
type UpdateOneModel = originalMongo.UpdateOneModel
func NewUpdateOneModel ¶
func NewUpdateOneModel() *UpdateOneModel
type UpdateResult ¶
type UpdateResult = originalMongo.UpdateResult
type WriteConcernError ¶
type WriteConcernError = originalMongo.WriteConcernError
type WriteError ¶
type WriteError = originalMongo.WriteError
type WriteErrors ¶
type WriteErrors = originalMongo.WriteErrors
type WriteException ¶
type WriteException = originalMongo.WriteException
type WriteModel ¶
type WriteModel = originalMongo.WriteModel
type XSession ¶
type XSession = originalMongo.XSession
Click to show internal directories.
Click to hide internal directories.