Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Project) predicate.Project
- func ClientKey(v string) predicate.Project
- func ClientKeyContains(v string) predicate.Project
- func ClientKeyContainsFold(v string) predicate.Project
- func ClientKeyEQ(v string) predicate.Project
- func ClientKeyEqualFold(v string) predicate.Project
- func ClientKeyGT(v string) predicate.Project
- func ClientKeyGTE(v string) predicate.Project
- func ClientKeyHasPrefix(v string) predicate.Project
- func ClientKeyHasSuffix(v string) predicate.Project
- func ClientKeyIn(vs ...string) predicate.Project
- func ClientKeyLT(v string) predicate.Project
- func ClientKeyLTE(v string) predicate.Project
- func ClientKeyNEQ(v string) predicate.Project
- func ClientKeyNotIn(vs ...string) predicate.Project
- func CreatedAt(v util.Datetime) predicate.Project
- func CreatedAtEQ(v util.Datetime) predicate.Project
- func CreatedAtGT(v util.Datetime) predicate.Project
- func CreatedAtGTE(v util.Datetime) predicate.Project
- func CreatedAtIn(vs ...util.Datetime) predicate.Project
- func CreatedAtLT(v util.Datetime) predicate.Project
- func CreatedAtLTE(v util.Datetime) predicate.Project
- func CreatedAtNEQ(v util.Datetime) predicate.Project
- func CreatedAtNotIn(vs ...util.Datetime) predicate.Project
- func Credentials(v []byte) predicate.Project
- func CredentialsEQ(v []byte) predicate.Project
- func CredentialsGT(v []byte) predicate.Project
- func CredentialsGTE(v []byte) predicate.Project
- func CredentialsIn(vs ...[]byte) predicate.Project
- func CredentialsLT(v []byte) predicate.Project
- func CredentialsLTE(v []byte) predicate.Project
- func CredentialsNEQ(v []byte) predicate.Project
- func CredentialsNotIn(vs ...[]byte) predicate.Project
- func HasUser() predicate.Project
- func HasUserWith(preds ...predicate.User) predicate.Project
- func ID(id int) predicate.Project
- func IDEQ(id int) predicate.Project
- func IDGT(id int) predicate.Project
- func IDGTE(id int) predicate.Project
- func IDIn(ids ...int) predicate.Project
- func IDLT(id int) predicate.Project
- func IDLTE(id int) predicate.Project
- func IDNEQ(id int) predicate.Project
- func IDNotIn(ids ...int) predicate.Project
- func Not(p predicate.Project) predicate.Project
- func Or(predicates ...predicate.Project) predicate.Project
- func ProjectID(v string) predicate.Project
- func ProjectIDContains(v string) predicate.Project
- func ProjectIDContainsFold(v string) predicate.Project
- func ProjectIDEQ(v string) predicate.Project
- func ProjectIDEqualFold(v string) predicate.Project
- func ProjectIDGT(v string) predicate.Project
- func ProjectIDGTE(v string) predicate.Project
- func ProjectIDHasPrefix(v string) predicate.Project
- func ProjectIDHasSuffix(v string) predicate.Project
- func ProjectIDIn(vs ...string) predicate.Project
- func ProjectIDLT(v string) predicate.Project
- func ProjectIDLTE(v string) predicate.Project
- func ProjectIDNEQ(v string) predicate.Project
- func ProjectIDNotIn(vs ...string) predicate.Project
- func ProjectName(v string) predicate.Project
- func ProjectNameContains(v string) predicate.Project
- func ProjectNameContainsFold(v string) predicate.Project
- func ProjectNameEQ(v string) predicate.Project
- func ProjectNameEqualFold(v string) predicate.Project
- func ProjectNameGT(v string) predicate.Project
- func ProjectNameGTE(v string) predicate.Project
- func ProjectNameHasPrefix(v string) predicate.Project
- func ProjectNameHasSuffix(v string) predicate.Project
- func ProjectNameIn(vs ...string) predicate.Project
- func ProjectNameLT(v string) predicate.Project
- func ProjectNameLTE(v string) predicate.Project
- func ProjectNameNEQ(v string) predicate.Project
- func ProjectNameNotIn(vs ...string) predicate.Project
- func UpdatedAt(v util.Datetime) predicate.Project
- func UpdatedAtEQ(v util.Datetime) predicate.Project
- func UpdatedAtGT(v util.Datetime) predicate.Project
- func UpdatedAtGTE(v util.Datetime) predicate.Project
- func UpdatedAtIn(vs ...util.Datetime) predicate.Project
- func UpdatedAtLT(v util.Datetime) predicate.Project
- func UpdatedAtLTE(v util.Datetime) predicate.Project
- func UpdatedAtNEQ(v util.Datetime) predicate.Project
- func UpdatedAtNotIn(vs ...util.Datetime) predicate.Project
- func UserID(v int) predicate.Project
- func UserIDEQ(v int) predicate.Project
- func UserIDIn(vs ...int) predicate.Project
- func UserIDNEQ(v int) predicate.Project
- func UserIDNotIn(vs ...int) predicate.Project
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the project type in the database. Label = "project" // FieldID holds the string denoting the id field in the database. FieldID = "id" // 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" // FieldProjectName holds the string denoting the project_name field in the database. FieldProjectName = "project_name" // FieldProjectID holds the string denoting the project_id field in the database. FieldProjectID = "project_id" // FieldCredentials holds the string denoting the credentials field in the database. FieldCredentials = "credentials" // FieldClientKey holds the string denoting the client_key field in the database. FieldClientKey = "client_key" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // EdgeUser holds the string denoting the user edge name in mutations. EdgeUser = "user" // Table holds the table name of the project in the database. Table = "projects" // UserTable is the table that holds the user relation/edge. UserTable = "projects" // 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() util.Datetime // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() util.Datetime // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() util.Datetime // ProjectNameValidator is a validator for the "project_name" field. It is called by the builders before save. ProjectNameValidator func(string) error // ProjectIDValidator is a validator for the "project_id" field. It is called by the builders before save. ProjectIDValidator func(string) error // CredentialsValidator is a validator for the "credentials" field. It is called by the builders before save. CredentialsValidator func([]byte) error // DefaultClientKey holds the default value on creation for the "client_key" field. DefaultClientKey func() string // ClientKeyValidator is a validator for the "client_key" field. It is called by the builders before save. ClientKeyValidator func(string) error // UserIDValidator is a validator for the "user_id" field. It is called by the builders before save. UserIDValidator func(int) error )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldProjectName, FieldProjectID, FieldCredentials, FieldClientKey, FieldUserID, }
Columns holds all SQL columns for project fields.
Functions ¶
func ClientKey ¶
ClientKey applies equality check predicate on the "client_key" field. It's identical to ClientKeyEQ.
func ClientKeyContains ¶
ClientKeyContains applies the Contains predicate on the "client_key" field.
func ClientKeyContainsFold ¶
ClientKeyContainsFold applies the ContainsFold predicate on the "client_key" field.
func ClientKeyEQ ¶
ClientKeyEQ applies the EQ predicate on the "client_key" field.
func ClientKeyEqualFold ¶
ClientKeyEqualFold applies the EqualFold predicate on the "client_key" field.
func ClientKeyGT ¶
ClientKeyGT applies the GT predicate on the "client_key" field.
func ClientKeyGTE ¶
ClientKeyGTE applies the GTE predicate on the "client_key" field.
func ClientKeyHasPrefix ¶
ClientKeyHasPrefix applies the HasPrefix predicate on the "client_key" field.
func ClientKeyHasSuffix ¶
ClientKeyHasSuffix applies the HasSuffix predicate on the "client_key" field.
func ClientKeyIn ¶
ClientKeyIn applies the In predicate on the "client_key" field.
func ClientKeyLT ¶
ClientKeyLT applies the LT predicate on the "client_key" field.
func ClientKeyLTE ¶
ClientKeyLTE applies the LTE predicate on the "client_key" field.
func ClientKeyNEQ ¶
ClientKeyNEQ applies the NEQ predicate on the "client_key" field.
func ClientKeyNotIn ¶
ClientKeyNotIn applies the NotIn predicate on the "client_key" 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 Credentials ¶
Credentials applies equality check predicate on the "credentials" field. It's identical to CredentialsEQ.
func CredentialsEQ ¶
CredentialsEQ applies the EQ predicate on the "credentials" field.
func CredentialsGT ¶
CredentialsGT applies the GT predicate on the "credentials" field.
func CredentialsGTE ¶
CredentialsGTE applies the GTE predicate on the "credentials" field.
func CredentialsIn ¶
CredentialsIn applies the In predicate on the "credentials" field.
func CredentialsLT ¶
CredentialsLT applies the LT predicate on the "credentials" field.
func CredentialsLTE ¶
CredentialsLTE applies the LTE predicate on the "credentials" field.
func CredentialsNEQ ¶
CredentialsNEQ applies the NEQ predicate on the "credentials" field.
func CredentialsNotIn ¶
CredentialsNotIn applies the NotIn predicate on the "credentials" field.
func HasUserWith ¶
HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).
func ProjectID ¶
ProjectID applies equality check predicate on the "project_id" field. It's identical to ProjectIDEQ.
func ProjectIDContains ¶
ProjectIDContains applies the Contains predicate on the "project_id" field.
func ProjectIDContainsFold ¶
ProjectIDContainsFold applies the ContainsFold predicate on the "project_id" field.
func ProjectIDEQ ¶
ProjectIDEQ applies the EQ predicate on the "project_id" field.
func ProjectIDEqualFold ¶
ProjectIDEqualFold applies the EqualFold predicate on the "project_id" field.
func ProjectIDGT ¶
ProjectIDGT applies the GT predicate on the "project_id" field.
func ProjectIDGTE ¶
ProjectIDGTE applies the GTE predicate on the "project_id" field.
func ProjectIDHasPrefix ¶
ProjectIDHasPrefix applies the HasPrefix predicate on the "project_id" field.
func ProjectIDHasSuffix ¶
ProjectIDHasSuffix applies the HasSuffix predicate on the "project_id" field.
func ProjectIDIn ¶
ProjectIDIn applies the In predicate on the "project_id" field.
func ProjectIDLT ¶
ProjectIDLT applies the LT predicate on the "project_id" field.
func ProjectIDLTE ¶
ProjectIDLTE applies the LTE predicate on the "project_id" field.
func ProjectIDNEQ ¶
ProjectIDNEQ applies the NEQ predicate on the "project_id" field.
func ProjectIDNotIn ¶
ProjectIDNotIn applies the NotIn predicate on the "project_id" field.
func ProjectName ¶
ProjectName applies equality check predicate on the "project_name" field. It's identical to ProjectNameEQ.
func ProjectNameContains ¶
ProjectNameContains applies the Contains predicate on the "project_name" field.
func ProjectNameContainsFold ¶
ProjectNameContainsFold applies the ContainsFold predicate on the "project_name" field.
func ProjectNameEQ ¶
ProjectNameEQ applies the EQ predicate on the "project_name" field.
func ProjectNameEqualFold ¶
ProjectNameEqualFold applies the EqualFold predicate on the "project_name" field.
func ProjectNameGT ¶
ProjectNameGT applies the GT predicate on the "project_name" field.
func ProjectNameGTE ¶
ProjectNameGTE applies the GTE predicate on the "project_name" field.
func ProjectNameHasPrefix ¶
ProjectNameHasPrefix applies the HasPrefix predicate on the "project_name" field.
func ProjectNameHasSuffix ¶
ProjectNameHasSuffix applies the HasSuffix predicate on the "project_name" field.
func ProjectNameIn ¶
ProjectNameIn applies the In predicate on the "project_name" field.
func ProjectNameLT ¶
ProjectNameLT applies the LT predicate on the "project_name" field.
func ProjectNameLTE ¶
ProjectNameLTE applies the LTE predicate on the "project_name" field.
func ProjectNameNEQ ¶
ProjectNameNEQ applies the NEQ predicate on the "project_name" field.
func ProjectNameNotIn ¶
ProjectNameNotIn applies the NotIn predicate on the "project_name" 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 UserID ¶
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
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.