testmodel

package
v3.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BadTableName

type BadTableName struct {
	Id int64 `exql:"column:id;primary;auto_increment"`
}

func (BadTableName) TableName

func (BadTableName) TableName() string

type BadTag

type BadTag struct {
	Id int64 `exql:"a;a:1"`
}

func (BadTag) TableName

func (BadTag) TableName() string

type InvalidAutoIncrement

type InvalidAutoIncrement struct {
	Id string `exql:"column:id;primary;auto_increment"`
}

func (*InvalidAutoIncrement) TableName

func (s *InvalidAutoIncrement) TableName() string

type MultiplePrimaryKey

type MultiplePrimaryKey struct {
	Pk1   string `exql:"column:pk1;primary"`
	Pk2   string `exql:"column:pk2;primary"`
	Other int    `exql:"column:other"`
}

func (*MultiplePrimaryKey) TableName

func (*MultiplePrimaryKey) TableName() string

type NoAutoIncrementKey

type NoAutoIncrementKey struct {
	Id   int64  `exql:"column:id;primary"`
	Name string `exql:"column:name"`
}

func (*NoAutoIncrementKey) TableName

func (s *NoAutoIncrementKey) TableName() string

type NoColumnTag

type NoColumnTag struct {
	Id int64 `exql:"primary;auto_increment"`
}

func (NoColumnTag) TableName

func (NoColumnTag) TableName() string

type NoPrimaryKey

type NoPrimaryKey struct {
	Id int64 `exql:"column:id;auto_increment"`
}

func (NoPrimaryKey) TableName

func (NoPrimaryKey) TableName() string

type NoTag

type NoTag struct {
	Id int64
}

func (*NoTag) TableName

func (*NoTag) TableName() string

type PrimaryUint64

type PrimaryUint64 struct {
	Id   uint64 `exql:"column:id;primary;auto_increment"`
	Name string `exql:"column:name"`
}

func (*PrimaryUint64) TableName

func (s *PrimaryUint64) TableName() string

type UpdateSample

type UpdateSample struct {
	Id *int64 `exql:"column:id;primary"`
}

func (UpdateSample) UpdateTableName

func (UpdateSample) UpdateTableName() string

type UpdateSampleInvalidTag

type UpdateSampleInvalidTag struct {
	Id *int `exql:"column::"`
}

func (UpdateSampleInvalidTag) UpdateTableName

func (UpdateSampleInvalidTag) UpdateTableName() string

type UpdateSampleNoColumn

type UpdateSampleNoColumn struct {
	Id *int `exql:"row:id"`
}

func (UpdateSampleNoColumn) UpdateTableName

func (UpdateSampleNoColumn) UpdateTableName() string

type UpdateSampleNoFields

type UpdateSampleNoFields struct {
}

func (UpdateSampleNoFields) UpdateTableName

func (UpdateSampleNoFields) UpdateTableName() string

type UpdateSampleNotPtr

type UpdateSampleNotPtr struct {
	Id int64 `exql:"column:id;primary"`
}

func (UpdateSampleNotPtr) UpdateTableName

func (UpdateSampleNotPtr) UpdateTableName() string

Jump to

Keyboard shortcuts

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