Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.User) predicate.User
- func CreatedAt(v time.Time) predicate.User
- func CreatedAtEQ(v time.Time) predicate.User
- func CreatedAtGT(v time.Time) predicate.User
- func CreatedAtGTE(v time.Time) predicate.User
- func CreatedAtIn(vs ...time.Time) predicate.User
- func CreatedAtIsNil() predicate.User
- func CreatedAtLT(v time.Time) predicate.User
- func CreatedAtLTE(v time.Time) predicate.User
- func CreatedAtNEQ(v time.Time) predicate.User
- func CreatedAtNotIn(vs ...time.Time) predicate.User
- func CreatedAtNotNil() predicate.User
- func DeletedAt(v time.Time) predicate.User
- func DeletedAtEQ(v time.Time) predicate.User
- func DeletedAtGT(v time.Time) predicate.User
- func DeletedAtGTE(v time.Time) predicate.User
- func DeletedAtIn(vs ...time.Time) predicate.User
- func DeletedAtIsNil() predicate.User
- func DeletedAtLT(v time.Time) predicate.User
- func DeletedAtLTE(v time.Time) predicate.User
- func DeletedAtNEQ(v time.Time) predicate.User
- func DeletedAtNotIn(vs ...time.Time) predicate.User
- func DeletedAtNotNil() predicate.User
- func ID(id int64) predicate.User
- func IDEQ(id int64) predicate.User
- func IDGT(id int64) predicate.User
- func IDGTE(id int64) predicate.User
- func IDIn(ids ...int64) predicate.User
- func IDLT(id int64) predicate.User
- func IDLTE(id int64) predicate.User
- func IDNEQ(id int64) predicate.User
- func IDNotIn(ids ...int64) predicate.User
- func Identity(v string) predicate.User
- func IdentityContains(v string) predicate.User
- func IdentityContainsFold(v string) predicate.User
- func IdentityEQ(v string) predicate.User
- func IdentityEqualFold(v string) predicate.User
- func IdentityGT(v string) predicate.User
- func IdentityGTE(v string) predicate.User
- func IdentityHasPrefix(v string) predicate.User
- func IdentityHasSuffix(v string) predicate.User
- func IdentityIn(vs ...string) predicate.User
- func IdentityIsNil() predicate.User
- func IdentityLT(v string) predicate.User
- func IdentityLTE(v string) predicate.User
- func IdentityNEQ(v string) predicate.User
- func IdentityNotIn(vs ...string) predicate.User
- func IdentityNotNil() predicate.User
- func IsDisable(v int32) predicate.User
- func IsDisableEQ(v int32) predicate.User
- func IsDisableGT(v int32) predicate.User
- func IsDisableGTE(v int32) predicate.User
- func IsDisableIn(vs ...int32) predicate.User
- func IsDisableLT(v int32) predicate.User
- func IsDisableLTE(v int32) predicate.User
- func IsDisableNEQ(v int32) predicate.User
- func IsDisableNotIn(vs ...int32) predicate.User
- func Not(p predicate.User) predicate.User
- func Or(predicates ...predicate.User) predicate.User
- func Type(v int32) predicate.User
- func TypeEQ(v int32) predicate.User
- func TypeGT(v int32) predicate.User
- func TypeGTE(v int32) predicate.User
- func TypeIn(vs ...int32) predicate.User
- func TypeLT(v int32) predicate.User
- func TypeLTE(v int32) predicate.User
- func TypeNEQ(v int32) predicate.User
- func TypeNotIn(vs ...int32) predicate.User
- func UpdatedAt(v time.Time) predicate.User
- func UpdatedAtEQ(v time.Time) predicate.User
- func UpdatedAtGT(v time.Time) predicate.User
- func UpdatedAtGTE(v time.Time) predicate.User
- func UpdatedAtIn(vs ...time.Time) predicate.User
- func UpdatedAtIsNil() predicate.User
- func UpdatedAtLT(v time.Time) predicate.User
- func UpdatedAtLTE(v time.Time) predicate.User
- func UpdatedAtNEQ(v time.Time) predicate.User
- func UpdatedAtNotIn(vs ...time.Time) predicate.User
- func UpdatedAtNotNil() predicate.User
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the user type in the database. Label = "user" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldIdentity holds the string denoting the identity field in the database. FieldIdentity = "identity" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldIsDisable holds the string denoting the is_disable field in the database. FieldIsDisable = "is_disable" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // Table holds the table name of the user in the database. Table = "user" )
Variables ¶
var ( // DefaultType holds the default value on creation for the type field. DefaultType int32 // DefaultIsDisable holds the default value on creation for the is_disable field. DefaultIsDisable int32 )
var Columns = []string{ FieldID, FieldIdentity, FieldType, FieldIsDisable, FieldCreatedAt, FieldUpdatedAt, FieldDeletedAt, }
Columns holds all SQL columns for user fields.
Functions ¶
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIsNil ¶
CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotNil ¶
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func DeletedAt ¶
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func Identity ¶
Identity applies equality check predicate on the "identity" field. It's identical to IdentityEQ.
func IdentityContains ¶
IdentityContains applies the Contains predicate on the "identity" field.
func IdentityContainsFold ¶
IdentityContainsFold applies the ContainsFold predicate on the "identity" field.
func IdentityEQ ¶
IdentityEQ applies the EQ predicate on the "identity" field.
func IdentityEqualFold ¶
IdentityEqualFold applies the EqualFold predicate on the "identity" field.
func IdentityGT ¶
IdentityGT applies the GT predicate on the "identity" field.
func IdentityGTE ¶
IdentityGTE applies the GTE predicate on the "identity" field.
func IdentityHasPrefix ¶
IdentityHasPrefix applies the HasPrefix predicate on the "identity" field.
func IdentityHasSuffix ¶
IdentityHasSuffix applies the HasSuffix predicate on the "identity" field.
func IdentityIn ¶
IdentityIn applies the In predicate on the "identity" field.
func IdentityIsNil ¶
IdentityIsNil applies the IsNil predicate on the "identity" field.
func IdentityLT ¶
IdentityLT applies the LT predicate on the "identity" field.
func IdentityLTE ¶
IdentityLTE applies the LTE predicate on the "identity" field.
func IdentityNEQ ¶
IdentityNEQ applies the NEQ predicate on the "identity" field.
func IdentityNotIn ¶
IdentityNotIn applies the NotIn predicate on the "identity" field.
func IdentityNotNil ¶
IdentityNotNil applies the NotNil predicate on the "identity" field.
func IsDisable ¶
IsDisable applies equality check predicate on the "is_disable" field. It's identical to IsDisableEQ.
func IsDisableEQ ¶
IsDisableEQ applies the EQ predicate on the "is_disable" field.
func IsDisableGT ¶
IsDisableGT applies the GT predicate on the "is_disable" field.
func IsDisableGTE ¶
IsDisableGTE applies the GTE predicate on the "is_disable" field.
func IsDisableIn ¶
IsDisableIn applies the In predicate on the "is_disable" field.
func IsDisableLT ¶
IsDisableLT applies the LT predicate on the "is_disable" field.
func IsDisableLTE ¶
IsDisableLTE applies the LTE predicate on the "is_disable" field.
func IsDisableNEQ ¶
IsDisableNEQ applies the NEQ predicate on the "is_disable" field.
func IsDisableNotIn ¶
IsDisableNotIn applies the NotIn predicate on the "is_disable" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.