gormop

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataOperatorBuilder

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

func DataOperator

func DataOperator(db *gorm.DB) (r *DataOperatorBuilder)

func (*DataOperatorBuilder) Delete

func (op *DataOperatorBuilder) Delete(obj interface{}, id string, ctx *web.EventContext) (err error)

func (*DataOperatorBuilder) Fetch

func (op *DataOperatorBuilder) Fetch(obj interface{}, id string, ctx *web.EventContext) (r interface{}, err error)

func (*DataOperatorBuilder) Save

func (op *DataOperatorBuilder) Save(obj interface{}, id string, ctx *web.EventContext) (err error)

func (*DataOperatorBuilder) Search

func (op *DataOperatorBuilder) Search(obj interface{}, params *presets.SearchParams, ctx *web.EventContext) (r interface{}, totalCount int, err error)

Jump to

Keyboard shortcuts

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