Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.PoolPass) predicate.PoolPass
- func CreateTime(v time.Time) predicate.PoolPass
- func CreateTimeEQ(v time.Time) predicate.PoolPass
- func CreateTimeGT(v time.Time) predicate.PoolPass
- func CreateTimeGTE(v time.Time) predicate.PoolPass
- func CreateTimeIn(vs ...time.Time) predicate.PoolPass
- func CreateTimeLT(v time.Time) predicate.PoolPass
- func CreateTimeLTE(v time.Time) predicate.PoolPass
- func CreateTimeNEQ(v time.Time) predicate.PoolPass
- func CreateTimeNotIn(vs ...time.Time) predicate.PoolPass
- func HasPool() predicate.PoolPass
- func HasPoolWith(preds ...predicate.Pool) predicate.PoolPass
- func HasUser() predicate.PoolPass
- func HasUserWith(preds ...predicate.User) predicate.PoolPass
- func ID(id int) predicate.PoolPass
- func IDEQ(id int) predicate.PoolPass
- func IDGT(id int) predicate.PoolPass
- func IDGTE(id int) predicate.PoolPass
- func IDIn(ids ...int) predicate.PoolPass
- func IDLT(id int) predicate.PoolPass
- func IDLTE(id int) predicate.PoolPass
- func IDNEQ(id int) predicate.PoolPass
- func IDNotIn(ids ...int) predicate.PoolPass
- func Not(p predicate.PoolPass) predicate.PoolPass
- func Or(predicates ...predicate.PoolPass) predicate.PoolPass
- func Shares(v *types.Uint256) predicate.PoolPass
- func SharesEQ(v *types.Uint256) predicate.PoolPass
- func SharesGT(v *types.Uint256) predicate.PoolPass
- func SharesGTE(v *types.Uint256) predicate.PoolPass
- func SharesIn(vs ...*types.Uint256) predicate.PoolPass
- func SharesLT(v *types.Uint256) predicate.PoolPass
- func SharesLTE(v *types.Uint256) predicate.PoolPass
- func SharesNEQ(v *types.Uint256) predicate.PoolPass
- func SharesNotIn(vs ...*types.Uint256) predicate.PoolPass
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the poolpass type in the database. Label = "pool_pass" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreateTime holds the string denoting the create_time field in the database. FieldCreateTime = "create_time" FieldShares = "shares" // EdgeUser holds the string denoting the user edge name in mutations. EdgeUser = "user" // EdgePool holds the string denoting the pool edge name in mutations. EdgePool = "pool" // Table holds the table name of the poolpass in the database. Table = "pool_passes" // UserTable is the table that holds the user relation/edge. UserTable = "pool_passes" // 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_pool_passes" // PoolTable is the table that holds the pool relation/edge. PoolTable = "pool_passes" // PoolInverseTable is the table name for the Pool entity. // It exists in this package in order to avoid circular dependency with the "pool" package. PoolInverseTable = "pools" // PoolColumn is the table column denoting the pool relation/edge. PoolColumn = "pool_pool_passes" )
Variables ¶
var Columns = []string{ FieldID, FieldCreateTime, FieldShares, }
Columns holds all SQL columns for poolpass fields.
var ( // DefaultCreateTime holds the default value on creation for the "create_time" field. DefaultCreateTime func() time.Time )
var ForeignKeys = []string{
"pool_pool_passes",
"user_pool_passes",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "pool_passes" table and are not defined as standalone fields in the schema.
Functions ¶
func CreateTime ¶
CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.
func CreateTimeEQ ¶
CreateTimeEQ applies the EQ predicate on the "create_time" field.
func CreateTimeGT ¶
CreateTimeGT applies the GT predicate on the "create_time" field.
func CreateTimeGTE ¶
CreateTimeGTE applies the GTE predicate on the "create_time" field.
func CreateTimeIn ¶
CreateTimeIn applies the In predicate on the "create_time" field.
func CreateTimeLT ¶
CreateTimeLT applies the LT predicate on the "create_time" field.
func CreateTimeLTE ¶
CreateTimeLTE applies the LTE predicate on the "create_time" field.
func CreateTimeNEQ ¶
CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
func CreateTimeNotIn ¶
CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
func HasPoolWith ¶
HasPoolWith applies the HasEdge predicate on the "pool" edge with a given conditions (other predicates).
func HasUserWith ¶
HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).
func Shares ¶
Shares applies equality check predicate on the "shares" field. It's identical to SharesEQ.
func SharesNotIn ¶
SharesNotIn applies the NotIn predicate on the "shares" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.