datatype

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

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StringArray

type StringArray []string

func (StringArray) GormDBDataType

func (StringArray) GormDBDataType(db *gorm.DB, field *schema.Field) string

GormDBDataType gorm db data type

func (StringArray) GormDataType

func (StringArray) GormDataType() string

GormDataType gorm common data type

func (StringArray) GormValue

func (j StringArray) GormValue(ctx context.Context, db *gorm.DB) clause.Expr

func (*StringArray) Scan

func (j *StringArray) Scan(value interface{}) error

implements sql.Scanner interface

func (StringArray) Value

func (j StringArray) Value() (driver.Value, error)

Value return json value, implement driver.Valuer interface

Jump to

Keyboard shortcuts

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