Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.UserMeta) predicate.UserMeta
- func CreatedAt(v time.Time) predicate.UserMeta
- func CreatedAtEQ(v time.Time) predicate.UserMeta
- func CreatedAtGT(v time.Time) predicate.UserMeta
- func CreatedAtGTE(v time.Time) predicate.UserMeta
- func CreatedAtIn(vs ...time.Time) predicate.UserMeta
- func CreatedAtLT(v time.Time) predicate.UserMeta
- func CreatedAtLTE(v time.Time) predicate.UserMeta
- func CreatedAtNEQ(v time.Time) predicate.UserMeta
- func CreatedAtNotIn(vs ...time.Time) predicate.UserMeta
- func CreatedBy(v string) predicate.UserMeta
- func CreatedByContains(v string) predicate.UserMeta
- func CreatedByContainsFold(v string) predicate.UserMeta
- func CreatedByEQ(v string) predicate.UserMeta
- func CreatedByEqualFold(v string) predicate.UserMeta
- func CreatedByGT(v string) predicate.UserMeta
- func CreatedByGTE(v string) predicate.UserMeta
- func CreatedByHasPrefix(v string) predicate.UserMeta
- func CreatedByHasSuffix(v string) predicate.UserMeta
- func CreatedByIn(vs ...string) predicate.UserMeta
- func CreatedByLT(v string) predicate.UserMeta
- func CreatedByLTE(v string) predicate.UserMeta
- func CreatedByNEQ(v string) predicate.UserMeta
- func CreatedByNotIn(vs ...string) predicate.UserMeta
- func HasUser() predicate.UserMeta
- func HasUserWith(preds ...predicate.User) predicate.UserMeta
- func ID(id string) predicate.UserMeta
- func IDEQ(id string) predicate.UserMeta
- func IDGT(id string) predicate.UserMeta
- func IDGTE(id string) predicate.UserMeta
- func IDIn(ids ...string) predicate.UserMeta
- func IDLT(id string) predicate.UserMeta
- func IDLTE(id string) predicate.UserMeta
- func IDNEQ(id string) predicate.UserMeta
- func IDNotIn(ids ...string) predicate.UserMeta
- func Not(p predicate.UserMeta) predicate.UserMeta
- func Or(predicates ...predicate.UserMeta) predicate.UserMeta
- func Profile(v string) predicate.UserMeta
- func ProfileContains(v string) predicate.UserMeta
- func ProfileContainsFold(v string) predicate.UserMeta
- func ProfileEQ(v string) predicate.UserMeta
- func ProfileEqualFold(v string) predicate.UserMeta
- func ProfileGT(v string) predicate.UserMeta
- func ProfileGTE(v string) predicate.UserMeta
- func ProfileHasPrefix(v string) predicate.UserMeta
- func ProfileHasSuffix(v string) predicate.UserMeta
- func ProfileIn(vs ...string) predicate.UserMeta
- func ProfileLT(v string) predicate.UserMeta
- func ProfileLTE(v string) predicate.UserMeta
- func ProfileNEQ(v string) predicate.UserMeta
- func ProfileNotIn(vs ...string) predicate.UserMeta
- func UpdatedAt(v time.Time) predicate.UserMeta
- func UpdatedAtEQ(v time.Time) predicate.UserMeta
- func UpdatedAtGT(v time.Time) predicate.UserMeta
- func UpdatedAtGTE(v time.Time) predicate.UserMeta
- func UpdatedAtIn(vs ...time.Time) predicate.UserMeta
- func UpdatedAtLT(v time.Time) predicate.UserMeta
- func UpdatedAtLTE(v time.Time) predicate.UserMeta
- func UpdatedAtNEQ(v time.Time) predicate.UserMeta
- func UpdatedAtNotIn(vs ...time.Time) predicate.UserMeta
- func UpdatedBy(v string) predicate.UserMeta
- func UpdatedByContains(v string) predicate.UserMeta
- func UpdatedByContainsFold(v string) predicate.UserMeta
- func UpdatedByEQ(v string) predicate.UserMeta
- func UpdatedByEqualFold(v string) predicate.UserMeta
- func UpdatedByGT(v string) predicate.UserMeta
- func UpdatedByGTE(v string) predicate.UserMeta
- func UpdatedByHasPrefix(v string) predicate.UserMeta
- func UpdatedByHasSuffix(v string) predicate.UserMeta
- func UpdatedByIn(vs ...string) predicate.UserMeta
- func UpdatedByLT(v string) predicate.UserMeta
- func UpdatedByLTE(v string) predicate.UserMeta
- func UpdatedByNEQ(v string) predicate.UserMeta
- func UpdatedByNotIn(vs ...string) predicate.UserMeta
- func UserID(v string) predicate.UserMeta
- func UserIDContains(v string) predicate.UserMeta
- func UserIDContainsFold(v string) predicate.UserMeta
- func UserIDEQ(v string) predicate.UserMeta
- func UserIDEqualFold(v string) predicate.UserMeta
- func UserIDGT(v string) predicate.UserMeta
- func UserIDGTE(v string) predicate.UserMeta
- func UserIDHasPrefix(v string) predicate.UserMeta
- func UserIDHasSuffix(v string) predicate.UserMeta
- func UserIDIn(vs ...string) predicate.UserMeta
- func UserIDLT(v string) predicate.UserMeta
- func UserIDLTE(v string) predicate.UserMeta
- func UserIDNEQ(v string) predicate.UserMeta
- func UserIDNotIn(vs ...string) predicate.UserMeta
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the usermeta type in the database. Label = "user_meta" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldCreatedBy holds the string denoting the created_by field in the database. FieldCreatedBy = "created_by" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldUpdatedBy holds the string denoting the updated_by field in the database. FieldUpdatedBy = "updated_by" // FieldProfile holds the string denoting the profile field in the database. FieldProfile = "profile" // EdgeUser holds the string denoting the user edge name in mutations. EdgeUser = "user" // Table holds the table name of the usermeta in the database. Table = "user_meta" // UserTable is the table that holds the user relation/edge. UserTable = "user_meta" // UserInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. UserInverseTable = "users" // UserColumn is the table column denoting the user relation/edge. UserColumn = "user_id" )
Variables ¶
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time )
var Columns = []string{ FieldID, FieldUserID, FieldCreatedAt, FieldCreatedBy, FieldUpdatedAt, FieldUpdatedBy, FieldProfile, }
Columns holds all SQL columns for usermeta 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 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 CreatedBy ¶
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByLT ¶
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func HasUserWith ¶
HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).
func Profile ¶
Profile applies equality check predicate on the "profile" field. It's identical to ProfileEQ.
func ProfileContains ¶
ProfileContains applies the Contains predicate on the "profile" field.
func ProfileContainsFold ¶
ProfileContainsFold applies the ContainsFold predicate on the "profile" field.
func ProfileEqualFold ¶
ProfileEqualFold applies the EqualFold predicate on the "profile" field.
func ProfileGTE ¶
ProfileGTE applies the GTE predicate on the "profile" field.
func ProfileHasPrefix ¶
ProfileHasPrefix applies the HasPrefix predicate on the "profile" field.
func ProfileHasSuffix ¶
ProfileHasSuffix applies the HasSuffix predicate on the "profile" field.
func ProfileLTE ¶
ProfileLTE applies the LTE predicate on the "profile" field.
func ProfileNEQ ¶
ProfileNEQ applies the NEQ predicate on the "profile" field.
func ProfileNotIn ¶
ProfileNotIn applies the NotIn predicate on the "profile" 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 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 UpdatedBy ¶
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByLT ¶
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UserID ¶
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDContains ¶
UserIDContains applies the Contains predicate on the "user_id" field.
func UserIDContainsFold ¶
UserIDContainsFold applies the ContainsFold predicate on the "user_id" field.
func UserIDEqualFold ¶
UserIDEqualFold applies the EqualFold predicate on the "user_id" field.
func UserIDHasPrefix ¶
UserIDHasPrefix applies the HasPrefix predicate on the "user_id" field.
func UserIDHasSuffix ¶
UserIDHasSuffix applies the HasSuffix predicate on the "user_id" field.
func UserIDNotIn ¶
UserIDNotIn applies the NotIn predicate on the "user_id" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.