sqlkv

package
v0.0.0-...-3f1ab7e Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// MetaKVTableName is the explicitly defined table name for the metakv
	// To avoid misinterpretation of table name when jobID is empty
	MetaKVTableName = "meta_kvs"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MetaKV

type MetaKV struct {
	ormModel.Model
	metaModel.KeyValue
	JobID metaModel.JobID `gorm:"column:job_id;type:varchar(64) not null;uniqueIndex:uidx_jk,priority:1"`
}

MetaKV is the model for business meta kv DON'T ADD soft-delete for metakv

Jump to

Keyboard shortcuts

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