Documentation ¶
Index ¶
- Constants
- Variables
- func Amount(v *types.Uint256) predicate.Pool
- func AmountEQ(v *types.Uint256) predicate.Pool
- func AmountGT(v *types.Uint256) predicate.Pool
- func AmountGTE(v *types.Uint256) predicate.Pool
- func AmountIn(vs ...*types.Uint256) predicate.Pool
- func AmountLT(v *types.Uint256) predicate.Pool
- func AmountLTE(v *types.Uint256) predicate.Pool
- func AmountNEQ(v *types.Uint256) predicate.Pool
- func AmountNotIn(vs ...*types.Uint256) predicate.Pool
- func And(predicates ...predicate.Pool) predicate.Pool
- func BlockNumber(v *types.Uint256) predicate.Pool
- func BlockNumberEQ(v *types.Uint256) predicate.Pool
- func BlockNumberGT(v *types.Uint256) predicate.Pool
- func BlockNumberGTE(v *types.Uint256) predicate.Pool
- func BlockNumberIn(vs ...*types.Uint256) predicate.Pool
- func BlockNumberLT(v *types.Uint256) predicate.Pool
- func BlockNumberLTE(v *types.Uint256) predicate.Pool
- func BlockNumberNEQ(v *types.Uint256) predicate.Pool
- func BlockNumberNotIn(vs ...*types.Uint256) predicate.Pool
- func CreateTime(v time.Time) predicate.Pool
- func CreateTimeEQ(v time.Time) predicate.Pool
- func CreateTimeGT(v time.Time) predicate.Pool
- func CreateTimeGTE(v time.Time) predicate.Pool
- func CreateTimeIn(vs ...time.Time) predicate.Pool
- func CreateTimeLT(v time.Time) predicate.Pool
- func CreateTimeLTE(v time.Time) predicate.Pool
- func CreateTimeNEQ(v time.Time) predicate.Pool
- func CreateTimeNotIn(vs ...time.Time) predicate.Pool
- func HasPoolPasses() predicate.Pool
- func HasPoolPassesWith(preds ...predicate.PoolPass) predicate.Pool
- func HasSqueak() predicate.Pool
- func HasSqueakWith(preds ...predicate.Squeak) predicate.Pool
- func ID(id int) predicate.Pool
- func IDEQ(id int) predicate.Pool
- func IDGT(id int) predicate.Pool
- func IDGTE(id int) predicate.Pool
- func IDIn(ids ...int) predicate.Pool
- func IDLT(id int) predicate.Pool
- func IDLTE(id int) predicate.Pool
- func IDNEQ(id int) predicate.Pool
- func IDNotIn(ids ...int) predicate.Pool
- func Not(p predicate.Pool) predicate.Pool
- func Or(predicates ...predicate.Pool) predicate.Pool
- func Score(v int) predicate.Pool
- func ScoreEQ(v int) predicate.Pool
- func ScoreGT(v int) predicate.Pool
- func ScoreGTE(v int) predicate.Pool
- func ScoreIn(vs ...int) predicate.Pool
- func ScoreLT(v int) predicate.Pool
- func ScoreLTE(v int) predicate.Pool
- func ScoreNEQ(v int) predicate.Pool
- func ScoreNotIn(vs ...int) predicate.Pool
- func Shares(v *types.Uint256) predicate.Pool
- func SharesEQ(v *types.Uint256) predicate.Pool
- func SharesGT(v *types.Uint256) predicate.Pool
- func SharesGTE(v *types.Uint256) predicate.Pool
- func SharesIn(vs ...*types.Uint256) predicate.Pool
- func SharesLT(v *types.Uint256) predicate.Pool
- func SharesLTE(v *types.Uint256) predicate.Pool
- func SharesNEQ(v *types.Uint256) predicate.Pool
- func SharesNotIn(vs ...*types.Uint256) predicate.Pool
- func UpdateTime(v time.Time) predicate.Pool
- func UpdateTimeEQ(v time.Time) predicate.Pool
- func UpdateTimeGT(v time.Time) predicate.Pool
- func UpdateTimeGTE(v time.Time) predicate.Pool
- func UpdateTimeIn(vs ...time.Time) predicate.Pool
- func UpdateTimeLT(v time.Time) predicate.Pool
- func UpdateTimeLTE(v time.Time) predicate.Pool
- func UpdateTimeNEQ(v time.Time) predicate.Pool
- func UpdateTimeNotIn(vs ...time.Time) predicate.Pool
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the pool type in the database. Label = "pool" // 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" // FieldUpdateTime holds the string denoting the update_time field in the database. FieldUpdateTime = "update_time" // FieldAmount holds the string denoting the amount field in the database. FieldAmount = "amount" FieldShares = "shares" // FieldBlockNumber holds the string denoting the block_number field in the database. FieldBlockNumber = "block_number" // FieldScore holds the string denoting the score field in the database. FieldScore = "score" // EdgePoolPasses holds the string denoting the pool_passes edge name in mutations. EdgePoolPasses = "pool_passes" // EdgeSqueak holds the string denoting the squeak edge name in mutations. EdgeSqueak = "squeak" // Table holds the table name of the pool in the database. Table = "pools" // PoolPassesTable is the table that holds the pool_passes relation/edge. PoolPassesTable = "pool_passes" // PoolPassesInverseTable is the table name for the PoolPass entity. // It exists in this package in order to avoid circular dependency with the "poolpass" package. PoolPassesInverseTable = "pool_passes" // PoolPassesColumn is the table column denoting the pool_passes relation/edge. PoolPassesColumn = "pool_pool_passes" // SqueakTable is the table that holds the squeak relation/edge. SqueakTable = "pools" // SqueakInverseTable is the table name for the Squeak entity. // It exists in this package in order to avoid circular dependency with the "squeak" package. SqueakInverseTable = "squeaks" // SqueakColumn is the table column denoting the squeak relation/edge. SqueakColumn = "squeak_pool" )
Variables ¶
var ( // DefaultCreateTime holds the default value on creation for the "create_time" field. DefaultCreateTime func() time.Time // DefaultUpdateTime holds the default value on creation for the "update_time" field. DefaultUpdateTime func() time.Time // UpdateDefaultUpdateTime holds the default value on update for the "update_time" field. UpdateDefaultUpdateTime func() time.Time )
var Columns = []string{ FieldID, FieldCreateTime, FieldUpdateTime, FieldAmount, FieldShares, FieldBlockNumber, FieldScore, }
Columns holds all SQL columns for pool fields.
var ForeignKeys = []string{
"squeak_pool",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "pools" table and are not defined as standalone fields in the schema.
Functions ¶
func Amount ¶
Amount applies equality check predicate on the "amount" field. It's identical to AmountEQ.
func AmountNotIn ¶
AmountNotIn applies the NotIn predicate on the "amount" field.
func BlockNumber ¶
BlockNumber applies equality check predicate on the "block_number" field. It's identical to BlockNumberEQ.
func BlockNumberEQ ¶
BlockNumberEQ applies the EQ predicate on the "block_number" field.
func BlockNumberGT ¶
BlockNumberGT applies the GT predicate on the "block_number" field.
func BlockNumberGTE ¶
BlockNumberGTE applies the GTE predicate on the "block_number" field.
func BlockNumberIn ¶
BlockNumberIn applies the In predicate on the "block_number" field.
func BlockNumberLT ¶
BlockNumberLT applies the LT predicate on the "block_number" field.
func BlockNumberLTE ¶
BlockNumberLTE applies the LTE predicate on the "block_number" field.
func BlockNumberNEQ ¶
BlockNumberNEQ applies the NEQ predicate on the "block_number" field.
func BlockNumberNotIn ¶
BlockNumberNotIn applies the NotIn predicate on the "block_number" field.
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 HasPoolPasses ¶
HasPoolPasses applies the HasEdge predicate on the "pool_passes" edge.
func HasPoolPassesWith ¶
HasPoolPassesWith applies the HasEdge predicate on the "pool_passes" edge with a given conditions (other predicates).
func HasSqueakWith ¶
HasSqueakWith applies the HasEdge predicate on the "squeak" edge with a given conditions (other predicates).
func Score ¶
Score applies equality check predicate on the "score" field. It's identical to ScoreEQ.
func ScoreNotIn ¶
ScoreNotIn applies the NotIn predicate on the "score" field.
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 UpdateTime ¶
UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.
func UpdateTimeEQ ¶
UpdateTimeEQ applies the EQ predicate on the "update_time" field.
func UpdateTimeGT ¶
UpdateTimeGT applies the GT predicate on the "update_time" field.
func UpdateTimeGTE ¶
UpdateTimeGTE applies the GTE predicate on the "update_time" field.
func UpdateTimeIn ¶
UpdateTimeIn applies the In predicate on the "update_time" field.
func UpdateTimeLT ¶
UpdateTimeLT applies the LT predicate on the "update_time" field.
func UpdateTimeLTE ¶
UpdateTimeLTE applies the LTE predicate on the "update_time" field.
func UpdateTimeNEQ ¶
UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.
func UpdateTimeNotIn ¶
UpdateTimeNotIn applies the NotIn predicate on the "update_time" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.