mongodb

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FeatureColl

type FeatureColl struct {
	*mongo.Collection
	// contains filtered or unexported fields
}

func NewFeatureColl

func NewFeatureColl() *FeatureColl

func (*FeatureColl) GetCollectionName

func (c *FeatureColl) GetCollectionName() string

func (*FeatureColl) ListFeatures

func (c *FeatureColl) ListFeatures() ([]*models.Feature, error)

func (*FeatureColl) UpdateOrCreateFeature

func (c *FeatureColl) UpdateOrCreateFeature(ctx context.Context, obj *models.Feature) error

Jump to

Keyboard shortcuts

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