Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Users) predicate.Users
- func HasInGroup() predicate.Users
- func HasInGroupWith(preds ...predicate.Groups) predicate.Users
- func ID(id int) predicate.Users
- func IDEQ(id int) predicate.Users
- func IDGT(id int) predicate.Users
- func IDGTE(id int) predicate.Users
- func IDIn(ids ...int) predicate.Users
- func IDLT(id int) predicate.Users
- func IDLTE(id int) predicate.Users
- func IDNEQ(id int) predicate.Users
- func IDNotIn(ids ...int) predicate.Users
- func Not(p predicate.Users) predicate.Users
- func Or(predicates ...predicate.Users) predicate.Users
- func UCreatedAt(v time.Time) predicate.Users
- func UCreatedAtEQ(v time.Time) predicate.Users
- func UCreatedAtGT(v time.Time) predicate.Users
- func UCreatedAtGTE(v time.Time) predicate.Users
- func UCreatedAtIn(vs ...time.Time) predicate.Users
- func UCreatedAtIsNil() predicate.Users
- func UCreatedAtLT(v time.Time) predicate.Users
- func UCreatedAtLTE(v time.Time) predicate.Users
- func UCreatedAtNEQ(v time.Time) predicate.Users
- func UCreatedAtNotIn(vs ...time.Time) predicate.Users
- func UCreatedAtNotNil() predicate.Users
- func UExpiredAt(v time.Time) predicate.Users
- func UExpiredAtEQ(v time.Time) predicate.Users
- func UExpiredAtGT(v time.Time) predicate.Users
- func UExpiredAtGTE(v time.Time) predicate.Users
- func UExpiredAtIn(vs ...time.Time) predicate.Users
- func UExpiredAtIsNil() predicate.Users
- func UExpiredAtLT(v time.Time) predicate.Users
- func UExpiredAtLTE(v time.Time) predicate.Users
- func UExpiredAtNEQ(v time.Time) predicate.Users
- func UExpiredAtNotIn(vs ...time.Time) predicate.Users
- func UExpiredAtNotNil() predicate.Users
- func UFirstName(v string) predicate.Users
- func UFirstNameContains(v string) predicate.Users
- func UFirstNameContainsFold(v string) predicate.Users
- func UFirstNameEQ(v string) predicate.Users
- func UFirstNameEqualFold(v string) predicate.Users
- func UFirstNameGT(v string) predicate.Users
- func UFirstNameGTE(v string) predicate.Users
- func UFirstNameHasPrefix(v string) predicate.Users
- func UFirstNameHasSuffix(v string) predicate.Users
- func UFirstNameIn(vs ...string) predicate.Users
- func UFirstNameLT(v string) predicate.Users
- func UFirstNameLTE(v string) predicate.Users
- func UFirstNameNEQ(v string) predicate.Users
- func UFirstNameNotIn(vs ...string) predicate.Users
- func UIsActive(v bool) predicate.Users
- func UIsActiveEQ(v bool) predicate.Users
- func UIsActiveNEQ(v bool) predicate.Users
- func ULastName(v string) predicate.Users
- func ULastNameContains(v string) predicate.Users
- func ULastNameContainsFold(v string) predicate.Users
- func ULastNameEQ(v string) predicate.Users
- func ULastNameEqualFold(v string) predicate.Users
- func ULastNameGT(v string) predicate.Users
- func ULastNameGTE(v string) predicate.Users
- func ULastNameHasPrefix(v string) predicate.Users
- func ULastNameHasSuffix(v string) predicate.Users
- func ULastNameIn(vs ...string) predicate.Users
- func ULastNameLT(v string) predicate.Users
- func ULastNameLTE(v string) predicate.Users
- func ULastNameNEQ(v string) predicate.Users
- func ULastNameNotIn(vs ...string) predicate.Users
- func UOrgid(v string) predicate.Users
- func UOrgidContains(v string) predicate.Users
- func UOrgidContainsFold(v string) predicate.Users
- func UOrgidEQ(v string) predicate.Users
- func UOrgidEqualFold(v string) predicate.Users
- func UOrgidGT(v string) predicate.Users
- func UOrgidGTE(v string) predicate.Users
- func UOrgidHasPrefix(v string) predicate.Users
- func UOrgidHasSuffix(v string) predicate.Users
- func UOrgidIn(vs ...string) predicate.Users
- func UOrgidLT(v string) predicate.Users
- func UOrgidLTE(v string) predicate.Users
- func UOrgidNEQ(v string) predicate.Users
- func UOrgidNotIn(vs ...string) predicate.Users
- func UPasswordUpdatedAt(v time.Time) predicate.Users
- func UPasswordUpdatedAtEQ(v time.Time) predicate.Users
- func UPasswordUpdatedAtGT(v time.Time) predicate.Users
- func UPasswordUpdatedAtGTE(v time.Time) predicate.Users
- func UPasswordUpdatedAtIn(vs ...time.Time) predicate.Users
- func UPasswordUpdatedAtIsNil() predicate.Users
- func UPasswordUpdatedAtLT(v time.Time) predicate.Users
- func UPasswordUpdatedAtLTE(v time.Time) predicate.Users
- func UPasswordUpdatedAtNEQ(v time.Time) predicate.Users
- func UPasswordUpdatedAtNotIn(vs ...time.Time) predicate.Users
- func UPasswordUpdatedAtNotNil() predicate.Users
- func UPid(v string) predicate.Users
- func UPidContains(v string) predicate.Users
- func UPidContainsFold(v string) predicate.Users
- func UPidEQ(v string) predicate.Users
- func UPidEqualFold(v string) predicate.Users
- func UPidGT(v string) predicate.Users
- func UPidGTE(v string) predicate.Users
- func UPidHasPrefix(v string) predicate.Users
- func UPidHasSuffix(v string) predicate.Users
- func UPidIn(vs ...string) predicate.Users
- func UPidLT(v string) predicate.Users
- func UPidLTE(v string) predicate.Users
- func UPidNEQ(v string) predicate.Users
- func UPidNotIn(vs ...string) predicate.Users
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the users type in the database. Label = "users" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldUPid holds the string denoting the u_pid field in the database. FieldUPid = "u_pid" // FieldUOrgid holds the string denoting the u_orgid field in the database. FieldUOrgid = "u_orgid" // FieldUFirstName holds the string denoting the u_first_name field in the database. FieldUFirstName = "u_first_name" // FieldULastName holds the string denoting the u_last_name field in the database. FieldULastName = "u_last_name" // FieldUIsActive holds the string denoting the u_is_active field in the database. FieldUIsActive = "u_is_active" // FieldUCreatedAt holds the string denoting the u_created_at field in the database. FieldUCreatedAt = "u_created_at" // FieldUPasswordUpdatedAt holds the string denoting the u_password_updated_at field in the database. FieldUPasswordUpdatedAt = "u_password_updated_at" // FieldUExpiredAt holds the string denoting the u_expired_at field in the database. FieldUExpiredAt = "u_expired_at" // EdgeInGroup holds the string denoting the in_group edge name in mutations. EdgeInGroup = "in_group" // Table holds the table name of the users in the database. Table = "users" // InGroupTable is the table that holds the in_group relation/edge. InGroupTable = "users" // InGroupInverseTable is the table name for the Groups entity. // It exists in this package in order to avoid circular dependency with the "groups" package. InGroupInverseTable = "groups" // InGroupColumn is the table column denoting the in_group relation/edge. InGroupColumn = "groups_users" )
Variables ¶
var ( // UPidValidator is a validator for the "u_pid" field. It is called by the builders before save. UPidValidator func(string) error // UOrgidValidator is a validator for the "u_orgid" field. It is called by the builders before save. UOrgidValidator func(string) error // UFirstNameValidator is a validator for the "u_first_name" field. It is called by the builders before save. UFirstNameValidator func(string) error // ULastNameValidator is a validator for the "u_last_name" field. It is called by the builders before save. ULastNameValidator func(string) error // DefaultUIsActive holds the default value on creation for the "u_is_active" field. DefaultUIsActive bool // DefaultUCreatedAt holds the default value on creation for the "u_created_at" field. DefaultUCreatedAt func() time.Time )
var Columns = []string{ FieldID, FieldUPid, FieldUOrgid, FieldUFirstName, FieldULastName, FieldUIsActive, FieldUCreatedAt, FieldUPasswordUpdatedAt, FieldUExpiredAt, }
Columns holds all SQL columns for users fields.
var ForeignKeys = []string{
"groups_users",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "users" table and are not defined as standalone fields in the schema.
Functions ¶
func HasInGroup ¶
HasInGroup applies the HasEdge predicate on the "in_group" edge.
func HasInGroupWith ¶
HasInGroupWith applies the HasEdge predicate on the "in_group" edge with a given conditions (other predicates).
func UCreatedAt ¶
UCreatedAt applies equality check predicate on the "u_created_at" field. It's identical to UCreatedAtEQ.
func UCreatedAtEQ ¶
UCreatedAtEQ applies the EQ predicate on the "u_created_at" field.
func UCreatedAtGT ¶
UCreatedAtGT applies the GT predicate on the "u_created_at" field.
func UCreatedAtGTE ¶
UCreatedAtGTE applies the GTE predicate on the "u_created_at" field.
func UCreatedAtIn ¶
UCreatedAtIn applies the In predicate on the "u_created_at" field.
func UCreatedAtIsNil ¶
UCreatedAtIsNil applies the IsNil predicate on the "u_created_at" field.
func UCreatedAtLT ¶
UCreatedAtLT applies the LT predicate on the "u_created_at" field.
func UCreatedAtLTE ¶
UCreatedAtLTE applies the LTE predicate on the "u_created_at" field.
func UCreatedAtNEQ ¶
UCreatedAtNEQ applies the NEQ predicate on the "u_created_at" field.
func UCreatedAtNotIn ¶
UCreatedAtNotIn applies the NotIn predicate on the "u_created_at" field.
func UCreatedAtNotNil ¶
UCreatedAtNotNil applies the NotNil predicate on the "u_created_at" field.
func UExpiredAt ¶
UExpiredAt applies equality check predicate on the "u_expired_at" field. It's identical to UExpiredAtEQ.
func UExpiredAtEQ ¶
UExpiredAtEQ applies the EQ predicate on the "u_expired_at" field.
func UExpiredAtGT ¶
UExpiredAtGT applies the GT predicate on the "u_expired_at" field.
func UExpiredAtGTE ¶
UExpiredAtGTE applies the GTE predicate on the "u_expired_at" field.
func UExpiredAtIn ¶
UExpiredAtIn applies the In predicate on the "u_expired_at" field.
func UExpiredAtIsNil ¶
UExpiredAtIsNil applies the IsNil predicate on the "u_expired_at" field.
func UExpiredAtLT ¶
UExpiredAtLT applies the LT predicate on the "u_expired_at" field.
func UExpiredAtLTE ¶
UExpiredAtLTE applies the LTE predicate on the "u_expired_at" field.
func UExpiredAtNEQ ¶
UExpiredAtNEQ applies the NEQ predicate on the "u_expired_at" field.
func UExpiredAtNotIn ¶
UExpiredAtNotIn applies the NotIn predicate on the "u_expired_at" field.
func UExpiredAtNotNil ¶
UExpiredAtNotNil applies the NotNil predicate on the "u_expired_at" field.
func UFirstName ¶
UFirstName applies equality check predicate on the "u_first_name" field. It's identical to UFirstNameEQ.
func UFirstNameContains ¶
UFirstNameContains applies the Contains predicate on the "u_first_name" field.
func UFirstNameContainsFold ¶
UFirstNameContainsFold applies the ContainsFold predicate on the "u_first_name" field.
func UFirstNameEQ ¶
UFirstNameEQ applies the EQ predicate on the "u_first_name" field.
func UFirstNameEqualFold ¶
UFirstNameEqualFold applies the EqualFold predicate on the "u_first_name" field.
func UFirstNameGT ¶
UFirstNameGT applies the GT predicate on the "u_first_name" field.
func UFirstNameGTE ¶
UFirstNameGTE applies the GTE predicate on the "u_first_name" field.
func UFirstNameHasPrefix ¶
UFirstNameHasPrefix applies the HasPrefix predicate on the "u_first_name" field.
func UFirstNameHasSuffix ¶
UFirstNameHasSuffix applies the HasSuffix predicate on the "u_first_name" field.
func UFirstNameIn ¶
UFirstNameIn applies the In predicate on the "u_first_name" field.
func UFirstNameLT ¶
UFirstNameLT applies the LT predicate on the "u_first_name" field.
func UFirstNameLTE ¶
UFirstNameLTE applies the LTE predicate on the "u_first_name" field.
func UFirstNameNEQ ¶
UFirstNameNEQ applies the NEQ predicate on the "u_first_name" field.
func UFirstNameNotIn ¶
UFirstNameNotIn applies the NotIn predicate on the "u_first_name" field.
func UIsActive ¶
UIsActive applies equality check predicate on the "u_is_active" field. It's identical to UIsActiveEQ.
func UIsActiveEQ ¶
UIsActiveEQ applies the EQ predicate on the "u_is_active" field.
func UIsActiveNEQ ¶
UIsActiveNEQ applies the NEQ predicate on the "u_is_active" field.
func ULastName ¶
ULastName applies equality check predicate on the "u_last_name" field. It's identical to ULastNameEQ.
func ULastNameContains ¶
ULastNameContains applies the Contains predicate on the "u_last_name" field.
func ULastNameContainsFold ¶
ULastNameContainsFold applies the ContainsFold predicate on the "u_last_name" field.
func ULastNameEQ ¶
ULastNameEQ applies the EQ predicate on the "u_last_name" field.
func ULastNameEqualFold ¶
ULastNameEqualFold applies the EqualFold predicate on the "u_last_name" field.
func ULastNameGT ¶
ULastNameGT applies the GT predicate on the "u_last_name" field.
func ULastNameGTE ¶
ULastNameGTE applies the GTE predicate on the "u_last_name" field.
func ULastNameHasPrefix ¶
ULastNameHasPrefix applies the HasPrefix predicate on the "u_last_name" field.
func ULastNameHasSuffix ¶
ULastNameHasSuffix applies the HasSuffix predicate on the "u_last_name" field.
func ULastNameIn ¶
ULastNameIn applies the In predicate on the "u_last_name" field.
func ULastNameLT ¶
ULastNameLT applies the LT predicate on the "u_last_name" field.
func ULastNameLTE ¶
ULastNameLTE applies the LTE predicate on the "u_last_name" field.
func ULastNameNEQ ¶
ULastNameNEQ applies the NEQ predicate on the "u_last_name" field.
func ULastNameNotIn ¶
ULastNameNotIn applies the NotIn predicate on the "u_last_name" field.
func UOrgid ¶
UOrgid applies equality check predicate on the "u_orgid" field. It's identical to UOrgidEQ.
func UOrgidContains ¶
UOrgidContains applies the Contains predicate on the "u_orgid" field.
func UOrgidContainsFold ¶
UOrgidContainsFold applies the ContainsFold predicate on the "u_orgid" field.
func UOrgidEqualFold ¶
UOrgidEqualFold applies the EqualFold predicate on the "u_orgid" field.
func UOrgidHasPrefix ¶
UOrgidHasPrefix applies the HasPrefix predicate on the "u_orgid" field.
func UOrgidHasSuffix ¶
UOrgidHasSuffix applies the HasSuffix predicate on the "u_orgid" field.
func UOrgidNotIn ¶
UOrgidNotIn applies the NotIn predicate on the "u_orgid" field.
func UPasswordUpdatedAt ¶
UPasswordUpdatedAt applies equality check predicate on the "u_password_updated_at" field. It's identical to UPasswordUpdatedAtEQ.
func UPasswordUpdatedAtEQ ¶
UPasswordUpdatedAtEQ applies the EQ predicate on the "u_password_updated_at" field.
func UPasswordUpdatedAtGT ¶
UPasswordUpdatedAtGT applies the GT predicate on the "u_password_updated_at" field.
func UPasswordUpdatedAtGTE ¶
UPasswordUpdatedAtGTE applies the GTE predicate on the "u_password_updated_at" field.
func UPasswordUpdatedAtIn ¶
UPasswordUpdatedAtIn applies the In predicate on the "u_password_updated_at" field.
func UPasswordUpdatedAtIsNil ¶
UPasswordUpdatedAtIsNil applies the IsNil predicate on the "u_password_updated_at" field.
func UPasswordUpdatedAtLT ¶
UPasswordUpdatedAtLT applies the LT predicate on the "u_password_updated_at" field.
func UPasswordUpdatedAtLTE ¶
UPasswordUpdatedAtLTE applies the LTE predicate on the "u_password_updated_at" field.
func UPasswordUpdatedAtNEQ ¶
UPasswordUpdatedAtNEQ applies the NEQ predicate on the "u_password_updated_at" field.
func UPasswordUpdatedAtNotIn ¶
UPasswordUpdatedAtNotIn applies the NotIn predicate on the "u_password_updated_at" field.
func UPasswordUpdatedAtNotNil ¶
UPasswordUpdatedAtNotNil applies the NotNil predicate on the "u_password_updated_at" field.
func UPidContains ¶
UPidContains applies the Contains predicate on the "u_pid" field.
func UPidContainsFold ¶
UPidContainsFold applies the ContainsFold predicate on the "u_pid" field.
func UPidEqualFold ¶
UPidEqualFold applies the EqualFold predicate on the "u_pid" field.
func UPidHasPrefix ¶
UPidHasPrefix applies the HasPrefix predicate on the "u_pid" field.
func UPidHasSuffix ¶
UPidHasSuffix applies the HasSuffix predicate on the "u_pid" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.