mongodb

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JiraColl

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

func NewJiraColl

func NewJiraColl() *JiraColl

func (*JiraColl) AddJira

func (c *JiraColl) AddJira(iJira *models.Jira) (*models.Jira, error)

func (*JiraColl) DeleteJira

func (c *JiraColl) DeleteJira() error

func (*JiraColl) EnsureIndex

func (c *JiraColl) EnsureIndex(ctx context.Context) error

func (*JiraColl) GetCollectionName

func (c *JiraColl) GetCollectionName() string

func (*JiraColl) GetJira

func (c *JiraColl) GetJira() (*models.Jira, error)

func (*JiraColl) UpdateJira

func (c *JiraColl) UpdateJira(iJira *models.Jira) (*models.Jira, error)

Jump to

Keyboard shortcuts

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