mongodb

package
v1.1.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

New new mongodb datastore instance

Types

type Iterator

type Iterator struct {
	// contains filtered or unexported fields
}

Iterator mongo iterator implementation

func (*Iterator) Close

func (i *Iterator) Close(ctx context.Context) error

Close iterator close

func (*Iterator) Decode

func (i *Iterator) Decode(entity interface{}) error

Decode decode data

func (*Iterator) Next

func (i *Iterator) Next(ctx context.Context) bool

Next read next data

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL