Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ProxyGroupHistoryDetail) predicate.ProxyGroupHistoryDetail
- func CreatedAt(v time.Time) predicate.ProxyGroupHistoryDetail
- func CreatedAtEQ(v time.Time) predicate.ProxyGroupHistoryDetail
- func CreatedAtGT(v time.Time) predicate.ProxyGroupHistoryDetail
- func CreatedAtGTE(v time.Time) predicate.ProxyGroupHistoryDetail
- func CreatedAtIn(vs ...time.Time) predicate.ProxyGroupHistoryDetail
- func CreatedAtLT(v time.Time) predicate.ProxyGroupHistoryDetail
- func CreatedAtLTE(v time.Time) predicate.ProxyGroupHistoryDetail
- func CreatedAtNEQ(v time.Time) predicate.ProxyGroupHistoryDetail
- func CreatedAtNotIn(vs ...time.Time) predicate.ProxyGroupHistoryDetail
- func HistoryID(v int64) predicate.ProxyGroupHistoryDetail
- func HistoryIDEQ(v int64) predicate.ProxyGroupHistoryDetail
- func HistoryIDGT(v int64) predicate.ProxyGroupHistoryDetail
- func HistoryIDGTE(v int64) predicate.ProxyGroupHistoryDetail
- func HistoryIDIn(vs ...int64) predicate.ProxyGroupHistoryDetail
- func HistoryIDLT(v int64) predicate.ProxyGroupHistoryDetail
- func HistoryIDLTE(v int64) predicate.ProxyGroupHistoryDetail
- func HistoryIDNEQ(v int64) predicate.ProxyGroupHistoryDetail
- func HistoryIDNotIn(vs ...int64) predicate.ProxyGroupHistoryDetail
- func ID(id int64) predicate.ProxyGroupHistoryDetail
- func IDEQ(id int64) predicate.ProxyGroupHistoryDetail
- func IDGT(id int64) predicate.ProxyGroupHistoryDetail
- func IDGTE(id int64) predicate.ProxyGroupHistoryDetail
- func IDIn(ids ...int64) predicate.ProxyGroupHistoryDetail
- func IDLT(id int64) predicate.ProxyGroupHistoryDetail
- func IDLTE(id int64) predicate.ProxyGroupHistoryDetail
- func IDNEQ(id int64) predicate.ProxyGroupHistoryDetail
- func IDNotIn(ids ...int64) predicate.ProxyGroupHistoryDetail
- func NodeCount(v int) predicate.ProxyGroupHistoryDetail
- func NodeCountEQ(v int) predicate.ProxyGroupHistoryDetail
- func NodeCountGT(v int) predicate.ProxyGroupHistoryDetail
- func NodeCountGTE(v int) predicate.ProxyGroupHistoryDetail
- func NodeCountIn(vs ...int) predicate.ProxyGroupHistoryDetail
- func NodeCountLT(v int) predicate.ProxyGroupHistoryDetail
- func NodeCountLTE(v int) predicate.ProxyGroupHistoryDetail
- func NodeCountNEQ(v int) predicate.ProxyGroupHistoryDetail
- func NodeCountNotIn(vs ...int) predicate.ProxyGroupHistoryDetail
- func NodeGroupID(v int64) predicate.ProxyGroupHistoryDetail
- func NodeGroupIDEQ(v int64) predicate.ProxyGroupHistoryDetail
- func NodeGroupIDGT(v int64) predicate.ProxyGroupHistoryDetail
- func NodeGroupIDGTE(v int64) predicate.ProxyGroupHistoryDetail
- func NodeGroupIDIn(vs ...int64) predicate.ProxyGroupHistoryDetail
- func NodeGroupIDLT(v int64) predicate.ProxyGroupHistoryDetail
- func NodeGroupIDLTE(v int64) predicate.ProxyGroupHistoryDetail
- func NodeGroupIDNEQ(v int64) predicate.ProxyGroupHistoryDetail
- func NodeGroupIDNotIn(vs ...int64) predicate.ProxyGroupHistoryDetail
- func Not(p predicate.ProxyGroupHistoryDetail) predicate.ProxyGroupHistoryDetail
- func Or(predicates ...predicate.ProxyGroupHistoryDetail) predicate.ProxyGroupHistoryDetail
- func UserCount(v int) predicate.ProxyGroupHistoryDetail
- func UserCountEQ(v int) predicate.ProxyGroupHistoryDetail
- func UserCountGT(v int) predicate.ProxyGroupHistoryDetail
- func UserCountGTE(v int) predicate.ProxyGroupHistoryDetail
- func UserCountIn(vs ...int) predicate.ProxyGroupHistoryDetail
- func UserCountLT(v int) predicate.ProxyGroupHistoryDetail
- func UserCountLTE(v int) predicate.ProxyGroupHistoryDetail
- func UserCountNEQ(v int) predicate.ProxyGroupHistoryDetail
- func UserCountNotIn(vs ...int) predicate.ProxyGroupHistoryDetail
- func UserData(v string) predicate.ProxyGroupHistoryDetail
- func UserDataContains(v string) predicate.ProxyGroupHistoryDetail
- func UserDataContainsFold(v string) predicate.ProxyGroupHistoryDetail
- func UserDataEQ(v string) predicate.ProxyGroupHistoryDetail
- func UserDataEqualFold(v string) predicate.ProxyGroupHistoryDetail
- func UserDataGT(v string) predicate.ProxyGroupHistoryDetail
- func UserDataGTE(v string) predicate.ProxyGroupHistoryDetail
- func UserDataHasPrefix(v string) predicate.ProxyGroupHistoryDetail
- func UserDataHasSuffix(v string) predicate.ProxyGroupHistoryDetail
- func UserDataIn(vs ...string) predicate.ProxyGroupHistoryDetail
- func UserDataIsNil() predicate.ProxyGroupHistoryDetail
- func UserDataLT(v string) predicate.ProxyGroupHistoryDetail
- func UserDataLTE(v string) predicate.ProxyGroupHistoryDetail
- func UserDataNEQ(v string) predicate.ProxyGroupHistoryDetail
- func UserDataNotIn(vs ...string) predicate.ProxyGroupHistoryDetail
- func UserDataNotNil() predicate.ProxyGroupHistoryDetail
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByHistoryID(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByNodeCount(opts ...sql.OrderTermOption) OrderOption
- func ByNodeGroupID(opts ...sql.OrderTermOption) OrderOption
- func ByUserCount(opts ...sql.OrderTermOption) OrderOption
- func ByUserData(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the proxygrouphistorydetail type in the database. Label = "proxy_group_history_detail" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldHistoryID holds the string denoting the history_id field in the database. FieldHistoryID = "history_id" // FieldNodeGroupID holds the string denoting the node_group_id field in the database. FieldNodeGroupID = "node_group_id" // FieldUserCount holds the string denoting the user_count field in the database. FieldUserCount = "user_count" // FieldNodeCount holds the string denoting the node_count field in the database. FieldNodeCount = "node_count" // FieldUserData holds the string denoting the user_data field in the database. FieldUserData = "user_data" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // Table holds the table name of the proxygrouphistorydetail in the database. Table = "group_history_detail" )
Variables ¶
var ( // DefaultUserCount holds the default value on creation for the "user_count" field. DefaultUserCount int // DefaultNodeCount holds the default value on creation for the "node_count" field. DefaultNodeCount int // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // IDValidator is a validator for the "id" field. It is called by the builders before save. IDValidator func(int64) error )
var Columns = []string{ FieldID, FieldHistoryID, FieldNodeGroupID, FieldUserCount, FieldNodeCount, FieldUserData, FieldCreatedAt, }
Columns holds all SQL columns for proxygrouphistorydetail fields.
Functions ¶
func And ¶
func And(predicates ...predicate.ProxyGroupHistoryDetail) predicate.ProxyGroupHistoryDetail
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.ProxyGroupHistoryDetail
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.ProxyGroupHistoryDetail
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.ProxyGroupHistoryDetail
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.ProxyGroupHistoryDetail
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.ProxyGroupHistoryDetail
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.ProxyGroupHistoryDetail
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.ProxyGroupHistoryDetail
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.ProxyGroupHistoryDetail
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.ProxyGroupHistoryDetail
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func HistoryID ¶
func HistoryID(v int64) predicate.ProxyGroupHistoryDetail
HistoryID applies equality check predicate on the "history_id" field. It's identical to HistoryIDEQ.
func HistoryIDEQ ¶
func HistoryIDEQ(v int64) predicate.ProxyGroupHistoryDetail
HistoryIDEQ applies the EQ predicate on the "history_id" field.
func HistoryIDGT ¶
func HistoryIDGT(v int64) predicate.ProxyGroupHistoryDetail
HistoryIDGT applies the GT predicate on the "history_id" field.
func HistoryIDGTE ¶
func HistoryIDGTE(v int64) predicate.ProxyGroupHistoryDetail
HistoryIDGTE applies the GTE predicate on the "history_id" field.
func HistoryIDIn ¶
func HistoryIDIn(vs ...int64) predicate.ProxyGroupHistoryDetail
HistoryIDIn applies the In predicate on the "history_id" field.
func HistoryIDLT ¶
func HistoryIDLT(v int64) predicate.ProxyGroupHistoryDetail
HistoryIDLT applies the LT predicate on the "history_id" field.
func HistoryIDLTE ¶
func HistoryIDLTE(v int64) predicate.ProxyGroupHistoryDetail
HistoryIDLTE applies the LTE predicate on the "history_id" field.
func HistoryIDNEQ ¶
func HistoryIDNEQ(v int64) predicate.ProxyGroupHistoryDetail
HistoryIDNEQ applies the NEQ predicate on the "history_id" field.
func HistoryIDNotIn ¶
func HistoryIDNotIn(vs ...int64) predicate.ProxyGroupHistoryDetail
HistoryIDNotIn applies the NotIn predicate on the "history_id" field.
func ID ¶
func ID(id int64) predicate.ProxyGroupHistoryDetail
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id int64) predicate.ProxyGroupHistoryDetail
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int64) predicate.ProxyGroupHistoryDetail
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int64) predicate.ProxyGroupHistoryDetail
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int64) predicate.ProxyGroupHistoryDetail
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int64) predicate.ProxyGroupHistoryDetail
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int64) predicate.ProxyGroupHistoryDetail
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int64) predicate.ProxyGroupHistoryDetail
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int64) predicate.ProxyGroupHistoryDetail
IDNotIn applies the NotIn predicate on the ID field.
func NodeCount ¶
func NodeCount(v int) predicate.ProxyGroupHistoryDetail
NodeCount applies equality check predicate on the "node_count" field. It's identical to NodeCountEQ.
func NodeCountEQ ¶
func NodeCountEQ(v int) predicate.ProxyGroupHistoryDetail
NodeCountEQ applies the EQ predicate on the "node_count" field.
func NodeCountGT ¶
func NodeCountGT(v int) predicate.ProxyGroupHistoryDetail
NodeCountGT applies the GT predicate on the "node_count" field.
func NodeCountGTE ¶
func NodeCountGTE(v int) predicate.ProxyGroupHistoryDetail
NodeCountGTE applies the GTE predicate on the "node_count" field.
func NodeCountIn ¶
func NodeCountIn(vs ...int) predicate.ProxyGroupHistoryDetail
NodeCountIn applies the In predicate on the "node_count" field.
func NodeCountLT ¶
func NodeCountLT(v int) predicate.ProxyGroupHistoryDetail
NodeCountLT applies the LT predicate on the "node_count" field.
func NodeCountLTE ¶
func NodeCountLTE(v int) predicate.ProxyGroupHistoryDetail
NodeCountLTE applies the LTE predicate on the "node_count" field.
func NodeCountNEQ ¶
func NodeCountNEQ(v int) predicate.ProxyGroupHistoryDetail
NodeCountNEQ applies the NEQ predicate on the "node_count" field.
func NodeCountNotIn ¶
func NodeCountNotIn(vs ...int) predicate.ProxyGroupHistoryDetail
NodeCountNotIn applies the NotIn predicate on the "node_count" field.
func NodeGroupID ¶
func NodeGroupID(v int64) predicate.ProxyGroupHistoryDetail
NodeGroupID applies equality check predicate on the "node_group_id" field. It's identical to NodeGroupIDEQ.
func NodeGroupIDEQ ¶
func NodeGroupIDEQ(v int64) predicate.ProxyGroupHistoryDetail
NodeGroupIDEQ applies the EQ predicate on the "node_group_id" field.
func NodeGroupIDGT ¶
func NodeGroupIDGT(v int64) predicate.ProxyGroupHistoryDetail
NodeGroupIDGT applies the GT predicate on the "node_group_id" field.
func NodeGroupIDGTE ¶
func NodeGroupIDGTE(v int64) predicate.ProxyGroupHistoryDetail
NodeGroupIDGTE applies the GTE predicate on the "node_group_id" field.
func NodeGroupIDIn ¶
func NodeGroupIDIn(vs ...int64) predicate.ProxyGroupHistoryDetail
NodeGroupIDIn applies the In predicate on the "node_group_id" field.
func NodeGroupIDLT ¶
func NodeGroupIDLT(v int64) predicate.ProxyGroupHistoryDetail
NodeGroupIDLT applies the LT predicate on the "node_group_id" field.
func NodeGroupIDLTE ¶
func NodeGroupIDLTE(v int64) predicate.ProxyGroupHistoryDetail
NodeGroupIDLTE applies the LTE predicate on the "node_group_id" field.
func NodeGroupIDNEQ ¶
func NodeGroupIDNEQ(v int64) predicate.ProxyGroupHistoryDetail
NodeGroupIDNEQ applies the NEQ predicate on the "node_group_id" field.
func NodeGroupIDNotIn ¶
func NodeGroupIDNotIn(vs ...int64) predicate.ProxyGroupHistoryDetail
NodeGroupIDNotIn applies the NotIn predicate on the "node_group_id" field.
func Or ¶
func Or(predicates ...predicate.ProxyGroupHistoryDetail) predicate.ProxyGroupHistoryDetail
Or groups predicates with the OR operator between them.
func UserCount ¶
func UserCount(v int) predicate.ProxyGroupHistoryDetail
UserCount applies equality check predicate on the "user_count" field. It's identical to UserCountEQ.
func UserCountEQ ¶
func UserCountEQ(v int) predicate.ProxyGroupHistoryDetail
UserCountEQ applies the EQ predicate on the "user_count" field.
func UserCountGT ¶
func UserCountGT(v int) predicate.ProxyGroupHistoryDetail
UserCountGT applies the GT predicate on the "user_count" field.
func UserCountGTE ¶
func UserCountGTE(v int) predicate.ProxyGroupHistoryDetail
UserCountGTE applies the GTE predicate on the "user_count" field.
func UserCountIn ¶
func UserCountIn(vs ...int) predicate.ProxyGroupHistoryDetail
UserCountIn applies the In predicate on the "user_count" field.
func UserCountLT ¶
func UserCountLT(v int) predicate.ProxyGroupHistoryDetail
UserCountLT applies the LT predicate on the "user_count" field.
func UserCountLTE ¶
func UserCountLTE(v int) predicate.ProxyGroupHistoryDetail
UserCountLTE applies the LTE predicate on the "user_count" field.
func UserCountNEQ ¶
func UserCountNEQ(v int) predicate.ProxyGroupHistoryDetail
UserCountNEQ applies the NEQ predicate on the "user_count" field.
func UserCountNotIn ¶
func UserCountNotIn(vs ...int) predicate.ProxyGroupHistoryDetail
UserCountNotIn applies the NotIn predicate on the "user_count" field.
func UserData ¶
func UserData(v string) predicate.ProxyGroupHistoryDetail
UserData applies equality check predicate on the "user_data" field. It's identical to UserDataEQ.
func UserDataContains ¶
func UserDataContains(v string) predicate.ProxyGroupHistoryDetail
UserDataContains applies the Contains predicate on the "user_data" field.
func UserDataContainsFold ¶
func UserDataContainsFold(v string) predicate.ProxyGroupHistoryDetail
UserDataContainsFold applies the ContainsFold predicate on the "user_data" field.
func UserDataEQ ¶
func UserDataEQ(v string) predicate.ProxyGroupHistoryDetail
UserDataEQ applies the EQ predicate on the "user_data" field.
func UserDataEqualFold ¶
func UserDataEqualFold(v string) predicate.ProxyGroupHistoryDetail
UserDataEqualFold applies the EqualFold predicate on the "user_data" field.
func UserDataGT ¶
func UserDataGT(v string) predicate.ProxyGroupHistoryDetail
UserDataGT applies the GT predicate on the "user_data" field.
func UserDataGTE ¶
func UserDataGTE(v string) predicate.ProxyGroupHistoryDetail
UserDataGTE applies the GTE predicate on the "user_data" field.
func UserDataHasPrefix ¶
func UserDataHasPrefix(v string) predicate.ProxyGroupHistoryDetail
UserDataHasPrefix applies the HasPrefix predicate on the "user_data" field.
func UserDataHasSuffix ¶
func UserDataHasSuffix(v string) predicate.ProxyGroupHistoryDetail
UserDataHasSuffix applies the HasSuffix predicate on the "user_data" field.
func UserDataIn ¶
func UserDataIn(vs ...string) predicate.ProxyGroupHistoryDetail
UserDataIn applies the In predicate on the "user_data" field.
func UserDataIsNil ¶
func UserDataIsNil() predicate.ProxyGroupHistoryDetail
UserDataIsNil applies the IsNil predicate on the "user_data" field.
func UserDataLT ¶
func UserDataLT(v string) predicate.ProxyGroupHistoryDetail
UserDataLT applies the LT predicate on the "user_data" field.
func UserDataLTE ¶
func UserDataLTE(v string) predicate.ProxyGroupHistoryDetail
UserDataLTE applies the LTE predicate on the "user_data" field.
func UserDataNEQ ¶
func UserDataNEQ(v string) predicate.ProxyGroupHistoryDetail
UserDataNEQ applies the NEQ predicate on the "user_data" field.
func UserDataNotIn ¶
func UserDataNotIn(vs ...string) predicate.ProxyGroupHistoryDetail
UserDataNotIn applies the NotIn predicate on the "user_data" field.
func UserDataNotNil ¶
func UserDataNotNil() predicate.ProxyGroupHistoryDetail
UserDataNotNil applies the NotNil predicate on the "user_data" 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 ProxyGroupHistoryDetail queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByHistoryID ¶
func ByHistoryID(opts ...sql.OrderTermOption) OrderOption
ByHistoryID orders the results by the history_id field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByNodeCount ¶
func ByNodeCount(opts ...sql.OrderTermOption) OrderOption
ByNodeCount orders the results by the node_count field.
func ByNodeGroupID ¶
func ByNodeGroupID(opts ...sql.OrderTermOption) OrderOption
ByNodeGroupID orders the results by the node_group_id field.
func ByUserCount ¶
func ByUserCount(opts ...sql.OrderTermOption) OrderOption
ByUserCount orders the results by the user_count field.
func ByUserData ¶
func ByUserData(opts ...sql.OrderTermOption) OrderOption
ByUserData orders the results by the user_data field.