Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.UserLevel) predicate.UserLevel
- func Code(v string) predicate.UserLevel
- func CodeContains(v string) predicate.UserLevel
- func CodeContainsFold(v string) predicate.UserLevel
- func CodeEQ(v string) predicate.UserLevel
- func CodeEqualFold(v string) predicate.UserLevel
- func CodeGT(v string) predicate.UserLevel
- func CodeGTE(v string) predicate.UserLevel
- func CodeHasPrefix(v string) predicate.UserLevel
- func CodeHasSuffix(v string) predicate.UserLevel
- func CodeIn(vs ...string) predicate.UserLevel
- func CodeLT(v string) predicate.UserLevel
- func CodeLTE(v string) predicate.UserLevel
- func CodeNEQ(v string) predicate.UserLevel
- func CodeNotIn(vs ...string) predicate.UserLevel
- func CreatedAt(v time.Time) predicate.UserLevel
- func CreatedAtEQ(v time.Time) predicate.UserLevel
- func CreatedAtGT(v time.Time) predicate.UserLevel
- func CreatedAtGTE(v time.Time) predicate.UserLevel
- func CreatedAtIn(vs ...time.Time) predicate.UserLevel
- func CreatedAtLT(v time.Time) predicate.UserLevel
- func CreatedAtLTE(v time.Time) predicate.UserLevel
- func CreatedAtNEQ(v time.Time) predicate.UserLevel
- func CreatedAtNotIn(vs ...time.Time) predicate.UserLevel
- func HasDeveloper() predicate.UserLevel
- func HasDeveloperWith(preds ...predicate.User) predicate.UserLevel
- func HasLevel() predicate.UserLevel
- func HasLevelWith(preds ...predicate.Level) predicate.UserLevel
- func ID(id int) predicate.UserLevel
- func IDEQ(id int) predicate.UserLevel
- func IDGT(id int) predicate.UserLevel
- func IDGTE(id int) predicate.UserLevel
- func IDIn(ids ...int) predicate.UserLevel
- func IDLT(id int) predicate.UserLevel
- func IDLTE(id int) predicate.UserLevel
- func IDNEQ(id int) predicate.UserLevel
- func IDNotIn(ids ...int) predicate.UserLevel
- func Not(p predicate.UserLevel) predicate.UserLevel
- func Or(predicates ...predicate.UserLevel) predicate.UserLevel
- func UpdatedAt(v time.Time) predicate.UserLevel
- func UpdatedAtEQ(v time.Time) predicate.UserLevel
- func UpdatedAtGT(v time.Time) predicate.UserLevel
- func UpdatedAtGTE(v time.Time) predicate.UserLevel
- func UpdatedAtIn(vs ...time.Time) predicate.UserLevel
- func UpdatedAtLT(v time.Time) predicate.UserLevel
- func UpdatedAtLTE(v time.Time) predicate.UserLevel
- func UpdatedAtNEQ(v time.Time) predicate.UserLevel
- func UpdatedAtNotIn(vs ...time.Time) predicate.UserLevel
- func Workspace(v string) predicate.UserLevel
- func WorkspaceContains(v string) predicate.UserLevel
- func WorkspaceContainsFold(v string) predicate.UserLevel
- func WorkspaceEQ(v string) predicate.UserLevel
- func WorkspaceEqualFold(v string) predicate.UserLevel
- func WorkspaceGT(v string) predicate.UserLevel
- func WorkspaceGTE(v string) predicate.UserLevel
- func WorkspaceHasPrefix(v string) predicate.UserLevel
- func WorkspaceHasSuffix(v string) predicate.UserLevel
- func WorkspaceIn(vs ...string) predicate.UserLevel
- func WorkspaceLT(v string) predicate.UserLevel
- func WorkspaceLTE(v string) predicate.UserLevel
- func WorkspaceNEQ(v string) predicate.UserLevel
- func WorkspaceNotIn(vs ...string) predicate.UserLevel
Constants ¶
const ( // Label holds the string label denoting the userlevel type in the database. Label = "user_level" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreatedAt holds the string denoting the created_at vertex property in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at vertex property in the database. FieldUpdatedAt = "updated_at" // FieldCode holds the string denoting the code vertex property in the database. FieldCode = "code" // FieldWorkspace holds the string denoting the workspace vertex property in the database. FieldWorkspace = "workspace" // EdgeDeveloper holds the string denoting the developer edge name in mutations. EdgeDeveloper = "developer" // EdgeLevel holds the string denoting the level edge name in mutations. EdgeLevel = "level" // Table holds the table name of the userlevel in the database. Table = "user_levels" // DeveloperTable is the table the holds the developer relation/edge. DeveloperTable = "user_levels" // DeveloperInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. DeveloperInverseTable = "users" // DeveloperColumn is the table column denoting the developer relation/edge. DeveloperColumn = "user_level_developer" // LevelTable is the table the holds the level relation/edge. LevelTable = "user_levels" // LevelInverseTable is the table name for the Level entity. // It exists in this package in order to avoid circular dependency with the "level" package. LevelInverseTable = "levels" // LevelColumn is the table column denoting the level relation/edge. LevelColumn = "user_level_level" )
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 // CodeValidator is a validator for the "code" field. It is called by the builders before save. CodeValidator func(string) error // WorkspaceValidator is a validator for the "workspace" field. It is called by the builders before save. WorkspaceValidator func(string) error )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldCode, FieldWorkspace, }
Columns holds all SQL columns for userlevel fields.
var ForeignKeys = []string{
"user_level_developer",
"user_level_level",
}
ForeignKeys holds the SQL foreign-keys that are owned by the UserLevel type.
Functions ¶
func CodeContains ¶
CodeContains applies the Contains predicate on the "code" field.
func CodeContainsFold ¶
CodeContainsFold applies the ContainsFold predicate on the "code" field.
func CodeEqualFold ¶
CodeEqualFold applies the EqualFold predicate on the "code" field.
func CodeHasPrefix ¶
CodeHasPrefix applies the HasPrefix predicate on the "code" field.
func CodeHasSuffix ¶
CodeHasSuffix applies the HasSuffix predicate on the "code" field.
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 HasDeveloper ¶
HasDeveloper applies the HasEdge predicate on the "developer" edge.
func HasDeveloperWith ¶
HasDeveloperWith applies the HasEdge predicate on the "developer" edge with a given conditions (other predicates).
func HasLevelWith ¶
HasLevelWith applies the HasEdge predicate on the "level" edge with a given conditions (other predicates).
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 Workspace ¶
Workspace applies equality check predicate on the "workspace" field. It's identical to WorkspaceEQ.
func WorkspaceContains ¶
WorkspaceContains applies the Contains predicate on the "workspace" field.
func WorkspaceContainsFold ¶
WorkspaceContainsFold applies the ContainsFold predicate on the "workspace" field.
func WorkspaceEQ ¶
WorkspaceEQ applies the EQ predicate on the "workspace" field.
func WorkspaceEqualFold ¶
WorkspaceEqualFold applies the EqualFold predicate on the "workspace" field.
func WorkspaceGT ¶
WorkspaceGT applies the GT predicate on the "workspace" field.
func WorkspaceGTE ¶
WorkspaceGTE applies the GTE predicate on the "workspace" field.
func WorkspaceHasPrefix ¶
WorkspaceHasPrefix applies the HasPrefix predicate on the "workspace" field.
func WorkspaceHasSuffix ¶
WorkspaceHasSuffix applies the HasSuffix predicate on the "workspace" field.
func WorkspaceIn ¶
WorkspaceIn applies the In predicate on the "workspace" field.
func WorkspaceLT ¶
WorkspaceLT applies the LT predicate on the "workspace" field.
func WorkspaceLTE ¶
WorkspaceLTE applies the LTE predicate on the "workspace" field.
func WorkspaceNEQ ¶
WorkspaceNEQ applies the NEQ predicate on the "workspace" field.
func WorkspaceNotIn ¶
WorkspaceNotIn applies the NotIn predicate on the "workspace" field.
Types ¶
This section is empty.