columndef

package
v0.0.0-...-0a9b489 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package columndef GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ColumnDef

type ColumnDef struct {
	Type              typex.Type
	DataType          string
	Length            uint64
	Decimal           uint64
	Default           *string
	OnUpdate          *string
	Null              bool
	AutoIncrement     bool
	DeprecatedActions *DeprecatedActions
	Comment           string
	Description       []string
	Relation          []string
	StructTag         reflect.StructTag
}

func FromTypeAndTag

func FromTypeAndTag(typ typex.Type, nameAndFlags string, st reflect.StructTag) *ColumnDef

func (*ColumnDef) RuntimeDoc

func (v *ColumnDef) RuntimeDoc(names ...string) ([]string, bool)

type DeprecatedActions

type DeprecatedActions struct {
	RenameTo string `name:"rename"`
}

func (*DeprecatedActions) RuntimeDoc

func (v *DeprecatedActions) RuntimeDoc(names ...string) ([]string, bool)

Jump to

Keyboard shortcuts

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