codec

package
v1.3.171 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 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 Codec

type Codec interface {
	ConstructModelTableName(vModel model.Model) string
	ConstructRelationTableName(vModel model.Model, vField model.Field, rModel model.Model) (string, *cd.Result)

	BuildModelValue(vModel model.Model) (model.RawVal, *cd.Result)
	BuildFieldValue(vField model.Field) (model.RawVal, *cd.Result)
	BuildOprValue(vField model.Field, vValue model.Value) (model.RawVal, *cd.Result)
	ExtractFiledValue(vField model.Field, eVal model.RawVal) (model.Value, *cd.Result)
}

func New

func New(modelProvider provider.Provider, prefix string) Codec

Jump to

Keyboard shortcuts

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