Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.GitBotUser) predicate.GitBotUser
- func CreatedAt(v time.Time) predicate.GitBotUser
- func CreatedAtEQ(v time.Time) predicate.GitBotUser
- func CreatedAtGT(v time.Time) predicate.GitBotUser
- func CreatedAtGTE(v time.Time) predicate.GitBotUser
- func CreatedAtIn(vs ...time.Time) predicate.GitBotUser
- func CreatedAtLT(v time.Time) predicate.GitBotUser
- func CreatedAtLTE(v time.Time) predicate.GitBotUser
- func CreatedAtNEQ(v time.Time) predicate.GitBotUser
- func CreatedAtNotIn(vs ...time.Time) predicate.GitBotUser
- func GitBotID(v uuid.UUID) predicate.GitBotUser
- func GitBotIDEQ(v uuid.UUID) predicate.GitBotUser
- func GitBotIDIn(vs ...uuid.UUID) predicate.GitBotUser
- func GitBotIDNEQ(v uuid.UUID) predicate.GitBotUser
- func GitBotIDNotIn(vs ...uuid.UUID) predicate.GitBotUser
- func HasGitBot() predicate.GitBotUser
- func HasGitBotWith(preds ...predicate.GitBot) predicate.GitBotUser
- func HasUser() predicate.GitBotUser
- func HasUserWith(preds ...predicate.User) predicate.GitBotUser
- func ID(id uuid.UUID) predicate.GitBotUser
- func IDEQ(id uuid.UUID) predicate.GitBotUser
- func IDGT(id uuid.UUID) predicate.GitBotUser
- func IDGTE(id uuid.UUID) predicate.GitBotUser
- func IDIn(ids ...uuid.UUID) predicate.GitBotUser
- func IDLT(id uuid.UUID) predicate.GitBotUser
- func IDLTE(id uuid.UUID) predicate.GitBotUser
- func IDNEQ(id uuid.UUID) predicate.GitBotUser
- func IDNotIn(ids ...uuid.UUID) predicate.GitBotUser
- func Not(p predicate.GitBotUser) predicate.GitBotUser
- func Or(predicates ...predicate.GitBotUser) predicate.GitBotUser
- func UserID(v uuid.UUID) predicate.GitBotUser
- func UserIDEQ(v uuid.UUID) predicate.GitBotUser
- func UserIDIn(vs ...uuid.UUID) predicate.GitBotUser
- func UserIDNEQ(v uuid.UUID) predicate.GitBotUser
- func UserIDNotIn(vs ...uuid.UUID) predicate.GitBotUser
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByGitBotField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByGitBotID(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByUserID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the gitbotuser type in the database. Label = "git_bot_user" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldGitBotID holds the string denoting the git_bot_id field in the database. FieldGitBotID = "git_bot_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" // EdgeGitBot holds the string denoting the git_bot edge name in mutations. EdgeGitBot = "git_bot" // EdgeUser holds the string denoting the user edge name in mutations. EdgeUser = "user" // Table holds the table name of the gitbotuser in the database. Table = "git_bot_users" // GitBotTable is the table that holds the git_bot relation/edge. GitBotTable = "git_bot_users" // GitBotInverseTable is the table name for the GitBot entity. // It exists in this package in order to avoid circular dependency with the "gitbot" package. GitBotInverseTable = "git_bots" // GitBotColumn is the table column denoting the git_bot relation/edge. GitBotColumn = "git_bot_id" // UserTable is the table that holds the user relation/edge. UserTable = "git_bot_users" // 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 // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldGitBotID, FieldUserID, FieldCreatedAt, }
Columns holds all SQL columns for gitbotuser fields.
Functions ¶
func And ¶
func And(predicates ...predicate.GitBotUser) predicate.GitBotUser
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.GitBotUser
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.GitBotUser
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.GitBotUser
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.GitBotUser
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.GitBotUser
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.GitBotUser
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.GitBotUser
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.GitBotUser
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.GitBotUser
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func GitBotID ¶
func GitBotID(v uuid.UUID) predicate.GitBotUser
GitBotID applies equality check predicate on the "git_bot_id" field. It's identical to GitBotIDEQ.
func GitBotIDEQ ¶
func GitBotIDEQ(v uuid.UUID) predicate.GitBotUser
GitBotIDEQ applies the EQ predicate on the "git_bot_id" field.
func GitBotIDIn ¶
func GitBotIDIn(vs ...uuid.UUID) predicate.GitBotUser
GitBotIDIn applies the In predicate on the "git_bot_id" field.
func GitBotIDNEQ ¶
func GitBotIDNEQ(v uuid.UUID) predicate.GitBotUser
GitBotIDNEQ applies the NEQ predicate on the "git_bot_id" field.
func GitBotIDNotIn ¶
func GitBotIDNotIn(vs ...uuid.UUID) predicate.GitBotUser
GitBotIDNotIn applies the NotIn predicate on the "git_bot_id" field.
func HasGitBot ¶
func HasGitBot() predicate.GitBotUser
HasGitBot applies the HasEdge predicate on the "git_bot" edge.
func HasGitBotWith ¶
func HasGitBotWith(preds ...predicate.GitBot) predicate.GitBotUser
HasGitBotWith applies the HasEdge predicate on the "git_bot" edge with a given conditions (other predicates).
func HasUser ¶
func HasUser() predicate.GitBotUser
HasUser applies the HasEdge predicate on the "user" edge.
func HasUserWith ¶
func HasUserWith(preds ...predicate.User) predicate.GitBotUser
HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.GitBotUser
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.GitBotUser
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.GitBotUser
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.GitBotUser
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.GitBotUser
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.GitBotUser
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.GitBotUser
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.GitBotUser
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.GitBotUser) predicate.GitBotUser
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.GitBotUser) predicate.GitBotUser
Or groups predicates with the OR operator between them.
func UserID ¶
func UserID(v uuid.UUID) predicate.GitBotUser
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDEQ ¶
func UserIDEQ(v uuid.UUID) predicate.GitBotUser
UserIDEQ applies the EQ predicate on the "user_id" field.
func UserIDIn ¶
func UserIDIn(vs ...uuid.UUID) predicate.GitBotUser
UserIDIn applies the In predicate on the "user_id" field.
func UserIDNEQ ¶
func UserIDNEQ(v uuid.UUID) predicate.GitBotUser
UserIDNEQ applies the NEQ predicate on the "user_id" field.
func UserIDNotIn ¶
func UserIDNotIn(vs ...uuid.UUID) predicate.GitBotUser
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 ¶
type OrderOption ¶
OrderOption defines the ordering options for the GitBotUser queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByGitBotField ¶
func ByGitBotField(field string, opts ...sql.OrderTermOption) OrderOption
ByGitBotField orders the results by git_bot field.
func ByGitBotID ¶
func ByGitBotID(opts ...sql.OrderTermOption) OrderOption
ByGitBotID orders the results by the git_bot_id field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByUserField ¶
func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption
ByUserField orders the results by user field.
func ByUserID ¶
func ByUserID(opts ...sql.OrderTermOption) OrderOption
ByUserID orders the results by the user_id field.