select_mapper

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Any

type Any = interface{}

type SelectAllMapper

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

func NewSelectAllMapper

func NewSelectAllMapper(table string, db *gorm.DB) *SelectAllMapper

func (*SelectAllMapper) SelectAll

func (s *SelectAllMapper) SelectAll(value Any) error

type SelectByPrimaryKeyMapper

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

func NewSelectByPrimaryKeyMapper

func NewSelectByPrimaryKeyMapper(table string, db *gorm.DB) *SelectByPrimaryKeyMapper

func (*SelectByPrimaryKeyMapper) SelectByPrimaryKey

func (s *SelectByPrimaryKeyMapper) SelectByPrimaryKey(pk Any, value Any) error

type SelectExampleMapper

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

func NewSelectExampleMapper

func NewSelectExampleMapper(table string, db *gorm.DB) *SelectExampleMapper

func (*SelectExampleMapper) SelectByExample

func (s *SelectExampleMapper) SelectByExample(example example.Example, value Any) error

type SelectMapper

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

func NewSelectMapper

func NewSelectMapper(table string, db *gorm.DB) *SelectMapper

func (*SelectMapper) Select

func (s *SelectMapper) Select(value Any) error

Jump to

Keyboard shortcuts

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