testmodel

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2023 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 int `exql:"column:id;primary;auto_increment"`
}

func (BadTableName) TableName

func (BadTableName) TableName() string

type BadTag

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

func (BadTag) TableName

func (BadTag) 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   int    `exql:"column:id;primary"`
	Name string `exql:"column:name"`
}

func (*NoAutoIncrementKey) TableName

func (s *NoAutoIncrementKey) TableName() string

type NoColumnTag

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

func (NoColumnTag) TableName

func (NoColumnTag) TableName() string

type NoPrimaryKey

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

func (NoPrimaryKey) TableName

func (NoPrimaryKey) TableName() string

type NoTag

type NoTag struct {
}

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

Jump to

Keyboard shortcuts

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