Documentation ¶
Overview ¶
This file is generated by exql. DO NOT edit.
This file is generated by exql. DO NOT edit.
This file is generated by exql. DO NOT edit.
This file is generated by exql. DO NOT edit.
This file is generated by exql. DO NOT edit.
Index ¶
Constants ¶
View Source
const FieldsTableName = "fields"
View Source
const GroupUsersTableName = "group_users"
View Source
const UserGroupsTableName = "user_groups"
View Source
const UserLoginHistoriesTableName = "user_login_histories"
View Source
const UsersTableName = "users"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fields ¶
type Fields struct { Id int64 `exql:"column:id;type:int;primary;not null;auto_increment" json:"id"` TinyintField int64 `exql:"column:tinyint_field;type:tinyint;not null" json:"tinyint_field"` TinyintUnsignedField int64 `exql:"column:tinyint_unsigned_field;type:tinyint unsigned;not null" json:"tinyint_unsigned_field"` TinyintNullableField null.Int64 `exql:"column:tinyint_nullable_field;type:tinyint" json:"tinyint_nullable_field"` TinyintUnsignedNullableField null.Int64 `exql:"column:tinyint_unsigned_nullable_field;type:tinyint unsigned" json:"tinyint_unsigned_nullable_field"` SmallintField int64 `exql:"column:smallint_field;type:smallint;not null" json:"smallint_field"` SmallintUnsignedField int64 `exql:"column:smallint_unsigned_field;type:smallint unsigned;not null" json:"smallint_unsigned_field"` SmallintNullableField null.Int64 `exql:"column:smallint_nullable_field;type:smallint" json:"smallint_nullable_field"` SmallintUnsignedNullableField null.Int64 `exql:"column:smallint_unsigned_nullable_field;type:smallint unsigned" json:"smallint_unsigned_nullable_field"` MediumintField int64 `exql:"column:mediumint_field;type:mediumint;not null" json:"mediumint_field"` MediumintUnsignedField int64 `exql:"column:mediumint_unsigned_field;type:mediumint unsigned;not null" json:"mediumint_unsigned_field"` MediumintNullableField null.Int64 `exql:"column:mediumint_nullable_field;type:mediumint" json:"mediumint_nullable_field"` MediumintUnsignedNullableField null.Int64 `exql:"column:mediumint_unsigned_nullable_field;type:mediumint unsigned" json:"mediumint_unsigned_nullable_field"` IntField int64 `exql:"column:int_field;type:int;not null" json:"int_field"` IntUnsignedField int64 `exql:"column:int_unsigned_field;type:int unsigned;not null" json:"int_unsigned_field"` IntNullableField null.Int64 `exql:"column:int_nullable_field;type:int" json:"int_nullable_field"` IntUnsignedNullableField null.Int64 `exql:"column:int_unsigned_nullable_field;type:int unsigned" json:"int_unsigned_nullable_field"` BigintField int64 `exql:"column:bigint_field;type:bigint;not null" json:"bigint_field"` BigintUnsignedField uint64 `exql:"column:bigint_unsigned_field;type:bigint unsigned;not null" json:"bigint_unsigned_field"` BigintNullableField null.Int64 `exql:"column:bigint_nullable_field;type:bigint" json:"bigint_nullable_field"` BigintUnsignedNullableField null.Uint64 `exql:"column:bigint_unsigned_nullable_field;type:bigint unsigned" json:"bigint_unsigned_nullable_field"` FloatField float32 `exql:"column:float_field;type:float;not null" json:"float_field"` FloatNullField null.Float32 `exql:"column:float_null_field;type:float" json:"float_null_field"` DoubleField float64 `exql:"column:double_field;type:double;not null" json:"double_field"` DoubleNullField null.Float64 `exql:"column:double_null_field;type:double" json:"double_null_field"` TinytextField string `exql:"column:tinytext_field;type:tinytext;not null" json:"tinytext_field"` TinytextNullField null.String `exql:"column:tinytext_null_field;type:tinytext" json:"tinytext_null_field"` MediumtextField string `exql:"column:mediumtext_field;type:mediumtext;not null" json:"mediumtext_field"` MediumtextNullField null.String `exql:"column:mediumtext_null_field;type:mediumtext" json:"mediumtext_null_field"` TextField string `exql:"column:text_field;type:text;not null" json:"text_field"` TextNullField null.String `exql:"column:text_null_field;type:text" json:"text_null_field"` LongtextField string `exql:"column:longtext_field;type:longtext;not null" json:"longtext_field"` LongtextNullField null.String `exql:"column:longtext_null_field;type:longtext" json:"longtext_null_field"` VarcharFiledField string `exql:"column:varchar_filed_field;type:varchar(255);not null" json:"varchar_filed_field"` VarcharNullField null.String `exql:"column:varchar_null_field;type:varchar(255)" json:"varchar_null_field"` CharFiledField string `exql:"column:char_filed_field;type:char(10);not null" json:"char_filed_field"` CharFiledNullField null.String `exql:"column:char_filed_null_field;type:char(10)" json:"char_filed_null_field"` DateField time.Time `exql:"column:date_field;type:date;not null" json:"date_field"` DateNullField null.Time `exql:"column:date_null_field;type:date" json:"date_null_field"` DatetimeField time.Time `exql:"column:datetime_field;type:datetime;not null" json:"datetime_field"` DatetimeNullField null.Time `exql:"column:datetime_null_field;type:datetime" json:"datetime_null_field"` TimeField string `exql:"column:time_field;type:time;not null" json:"time_field"` TimeNullField null.String `exql:"column:time_null_field;type:time" json:"time_null_field"` TimestampField time.Time `exql:"column:timestamp_field;type:timestamp;not null" json:"timestamp_field"` TimestampNullField null.Time `exql:"column:timestamp_null_field;type:timestamp" json:"timestamp_null_field"` TinyblobField []byte `exql:"column:tinyblob_field;type:tinyblob;not null" json:"tinyblob_field"` TinyblobNullField null.Bytes `exql:"column:tinyblob_null_field;type:tinyblob" json:"tinyblob_null_field"` MediumblobField []byte `exql:"column:mediumblob_field;type:mediumblob;not null" json:"mediumblob_field"` MediumblobNullField null.Bytes `exql:"column:mediumblob_null_field;type:mediumblob" json:"mediumblob_null_field"` BlobField []byte `exql:"column:blob_field;type:blob;not null" json:"blob_field"` BlobNullField null.Bytes `exql:"column:blob_null_field;type:blob" json:"blob_null_field"` LongblobField []byte `exql:"column:longblob_field;type:longblob;not null" json:"longblob_field"` LongblobNullField null.Bytes `exql:"column:longblob_null_field;type:longblob" json:"longblob_null_field"` JsonField json.RawMessage `exql:"column:json_field;type:json;not null" json:"json_field"` JsonNullField null.JSON `exql:"column:json_null_field;type:json" json:"json_null_field"` }
type GroupUsers ¶
type GroupUsers struct { Id int64 `exql:"column:id;type:int;primary;not null;auto_increment" json:"id"` UserId int64 `exql:"column:user_id;type:int;not null" json:"user_id"` GroupId int64 `exql:"column:group_id;type:int;not null" json:"group_id"` }
func (*GroupUsers) TableName ¶
func (g *GroupUsers) TableName() string
type UpdateFields ¶
type UpdateFields struct { Id *int64 `exql:"column:id;type:int;primary;not null;auto_increment" json:"id"` TinyintField *int64 `exql:"column:tinyint_field;type:tinyint;not null" json:"tinyint_field"` TinyintUnsignedField *int64 `exql:"column:tinyint_unsigned_field;type:tinyint unsigned;not null" json:"tinyint_unsigned_field"` TinyintNullableField *null.Int64 `exql:"column:tinyint_nullable_field;type:tinyint" json:"tinyint_nullable_field"` TinyintUnsignedNullableField *null.Int64 `exql:"column:tinyint_unsigned_nullable_field;type:tinyint unsigned" json:"tinyint_unsigned_nullable_field"` SmallintField *int64 `exql:"column:smallint_field;type:smallint;not null" json:"smallint_field"` SmallintUnsignedField *int64 `exql:"column:smallint_unsigned_field;type:smallint unsigned;not null" json:"smallint_unsigned_field"` SmallintNullableField *null.Int64 `exql:"column:smallint_nullable_field;type:smallint" json:"smallint_nullable_field"` SmallintUnsignedNullableField *null.Int64 `exql:"column:smallint_unsigned_nullable_field;type:smallint unsigned" json:"smallint_unsigned_nullable_field"` MediumintField *int64 `exql:"column:mediumint_field;type:mediumint;not null" json:"mediumint_field"` MediumintUnsignedField *int64 `exql:"column:mediumint_unsigned_field;type:mediumint unsigned;not null" json:"mediumint_unsigned_field"` MediumintNullableField *null.Int64 `exql:"column:mediumint_nullable_field;type:mediumint" json:"mediumint_nullable_field"` MediumintUnsignedNullableField *null.Int64 `exql:"column:mediumint_unsigned_nullable_field;type:mediumint unsigned" json:"mediumint_unsigned_nullable_field"` IntField *int64 `exql:"column:int_field;type:int;not null" json:"int_field"` IntUnsignedField *int64 `exql:"column:int_unsigned_field;type:int unsigned;not null" json:"int_unsigned_field"` IntNullableField *null.Int64 `exql:"column:int_nullable_field;type:int" json:"int_nullable_field"` IntUnsignedNullableField *null.Int64 `exql:"column:int_unsigned_nullable_field;type:int unsigned" json:"int_unsigned_nullable_field"` BigintField *int64 `exql:"column:bigint_field;type:bigint;not null" json:"bigint_field"` BigintUnsignedField *uint64 `exql:"column:bigint_unsigned_field;type:bigint unsigned;not null" json:"bigint_unsigned_field"` BigintNullableField *null.Int64 `exql:"column:bigint_nullable_field;type:bigint" json:"bigint_nullable_field"` BigintUnsignedNullableField *null.Uint64 `exql:"column:bigint_unsigned_nullable_field;type:bigint unsigned" json:"bigint_unsigned_nullable_field"` FloatField *float32 `exql:"column:float_field;type:float;not null" json:"float_field"` FloatNullField *null.Float32 `exql:"column:float_null_field;type:float" json:"float_null_field"` DoubleField *float64 `exql:"column:double_field;type:double;not null" json:"double_field"` DoubleNullField *null.Float64 `exql:"column:double_null_field;type:double" json:"double_null_field"` TinytextField *string `exql:"column:tinytext_field;type:tinytext;not null" json:"tinytext_field"` TinytextNullField *null.String `exql:"column:tinytext_null_field;type:tinytext" json:"tinytext_null_field"` MediumtextField *string `exql:"column:mediumtext_field;type:mediumtext;not null" json:"mediumtext_field"` MediumtextNullField *null.String `exql:"column:mediumtext_null_field;type:mediumtext" json:"mediumtext_null_field"` TextField *string `exql:"column:text_field;type:text;not null" json:"text_field"` TextNullField *null.String `exql:"column:text_null_field;type:text" json:"text_null_field"` LongtextField *string `exql:"column:longtext_field;type:longtext;not null" json:"longtext_field"` LongtextNullField *null.String `exql:"column:longtext_null_field;type:longtext" json:"longtext_null_field"` VarcharFiledField *string `exql:"column:varchar_filed_field;type:varchar(255);not null" json:"varchar_filed_field"` VarcharNullField *null.String `exql:"column:varchar_null_field;type:varchar(255)" json:"varchar_null_field"` CharFiledField *string `exql:"column:char_filed_field;type:char(10);not null" json:"char_filed_field"` CharFiledNullField *null.String `exql:"column:char_filed_null_field;type:char(10)" json:"char_filed_null_field"` DateField *time.Time `exql:"column:date_field;type:date;not null" json:"date_field"` DateNullField *null.Time `exql:"column:date_null_field;type:date" json:"date_null_field"` DatetimeField *time.Time `exql:"column:datetime_field;type:datetime;not null" json:"datetime_field"` DatetimeNullField *null.Time `exql:"column:datetime_null_field;type:datetime" json:"datetime_null_field"` TimeField *string `exql:"column:time_field;type:time;not null" json:"time_field"` TimeNullField *null.String `exql:"column:time_null_field;type:time" json:"time_null_field"` TimestampField *time.Time `exql:"column:timestamp_field;type:timestamp;not null" json:"timestamp_field"` TimestampNullField *null.Time `exql:"column:timestamp_null_field;type:timestamp" json:"timestamp_null_field"` TinyblobField *[]byte `exql:"column:tinyblob_field;type:tinyblob;not null" json:"tinyblob_field"` TinyblobNullField *null.Bytes `exql:"column:tinyblob_null_field;type:tinyblob" json:"tinyblob_null_field"` MediumblobField *[]byte `exql:"column:mediumblob_field;type:mediumblob;not null" json:"mediumblob_field"` MediumblobNullField *null.Bytes `exql:"column:mediumblob_null_field;type:mediumblob" json:"mediumblob_null_field"` BlobField *[]byte `exql:"column:blob_field;type:blob;not null" json:"blob_field"` BlobNullField *null.Bytes `exql:"column:blob_null_field;type:blob" json:"blob_null_field"` LongblobField *[]byte `exql:"column:longblob_field;type:longblob;not null" json:"longblob_field"` LongblobNullField *null.Bytes `exql:"column:longblob_null_field;type:longblob" json:"longblob_null_field"` JsonField *json.RawMessage `exql:"column:json_field;type:json;not null" json:"json_field"` JsonNullField *null.JSON `exql:"column:json_null_field;type:json" json:"json_null_field"` }
func (*UpdateFields) UpdateTableName ¶
func (f *UpdateFields) UpdateTableName() string
type UpdateGroupUsers ¶
type UpdateGroupUsers struct { Id *int64 `exql:"column:id;type:int;primary;not null;auto_increment" json:"id"` UserId *int64 `exql:"column:user_id;type:int;not null" json:"user_id"` GroupId *int64 `exql:"column:group_id;type:int;not null" json:"group_id"` }
func (*UpdateGroupUsers) UpdateTableName ¶
func (g *UpdateGroupUsers) UpdateTableName() string
type UpdateUserGroups ¶
type UpdateUserGroups struct { Id *int64 `exql:"column:id;type:int;primary;not null;auto_increment" json:"id"` Name *string `exql:"column:name;type:varchar(255);not null" json:"name"` }
func (*UpdateUserGroups) UpdateTableName ¶
func (u *UpdateUserGroups) UpdateTableName() string
type UpdateUserLoginHistories ¶
type UpdateUserLoginHistories struct { Id *int64 `exql:"column:id;type:int;primary;not null;auto_increment" json:"id"` UserId *int64 `exql:"column:user_id;type:int;not null" json:"user_id"` CreatedAt *time.Time `exql:"column:created_at;type:datetime;primary;not null" json:"created_at"` }
func (*UpdateUserLoginHistories) UpdateTableName ¶
func (u *UpdateUserLoginHistories) UpdateTableName() string
type UpdateUsers ¶
type UpdateUsers struct { Id *int64 `exql:"column:id;type:int;primary;not null;auto_increment" json:"id"` Name *string `exql:"column:name;type:varchar(255);not null" json:"name"` Age *int64 `exql:"column:age;type:int;not null" json:"age"` }
func (*UpdateUsers) UpdateTableName ¶
func (u *UpdateUsers) UpdateTableName() string
type UserGroups ¶
type UserGroups struct { Id int64 `exql:"column:id;type:int;primary;not null;auto_increment" json:"id"` Name string `exql:"column:name;type:varchar(255);not null" json:"name"` }
func (*UserGroups) TableName ¶
func (u *UserGroups) TableName() string
type UserLoginHistories ¶
type UserLoginHistories struct { Id int64 `exql:"column:id;type:int;primary;not null;auto_increment" json:"id"` UserId int64 `exql:"column:user_id;type:int;not null" json:"user_id"` CreatedAt time.Time `exql:"column:created_at;type:datetime;primary;not null" json:"created_at"` }
func (*UserLoginHistories) TableName ¶
func (u *UserLoginHistories) TableName() string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.