orm

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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectorColl

type ConnectorColl struct {
	*gorm.DB
	// contains filtered or unexported fields
}

func NewConnectorColl

func NewConnectorColl() *ConnectorColl

func (*ConnectorColl) Create

func (c *ConnectorColl) Create(obj *models.Connector) error

func (*ConnectorColl) Delete

func (c *ConnectorColl) Delete(id string) error

func (*ConnectorColl) Get

func (c *ConnectorColl) Get(id string) (*models.Connector, error)

func (*ConnectorColl) GetCollectionName

func (c *ConnectorColl) GetCollectionName() string

func (*ConnectorColl) List

func (c *ConnectorColl) List() ([]*models.Connector, error)

func (*ConnectorColl) Update

func (c *ConnectorColl) Update(obj *models.Connector) error

Jump to

Keyboard shortcuts

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