poolpass

package
v0.0.0-...-11b8a5d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 31, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
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 holds the string denoting the shares field in the database.
	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

Columns holds all SQL columns for poolpass fields.

View Source
var (
	// DefaultCreateTime holds the default value on creation for the "create_time" field.
	DefaultCreateTime func() time.Time
)
View Source
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 And

func And(predicates ...predicate.PoolPass) predicate.PoolPass

And groups predicates with the AND operator between them.

func CreateTime

func CreateTime(v time.Time) predicate.PoolPass

CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.

func CreateTimeEQ

func CreateTimeEQ(v time.Time) predicate.PoolPass

CreateTimeEQ applies the EQ predicate on the "create_time" field.

func CreateTimeGT

func CreateTimeGT(v time.Time) predicate.PoolPass

CreateTimeGT applies the GT predicate on the "create_time" field.

func CreateTimeGTE

func CreateTimeGTE(v time.Time) predicate.PoolPass

CreateTimeGTE applies the GTE predicate on the "create_time" field.

func CreateTimeIn

func CreateTimeIn(vs ...time.Time) predicate.PoolPass

CreateTimeIn applies the In predicate on the "create_time" field.

func CreateTimeLT

func CreateTimeLT(v time.Time) predicate.PoolPass

CreateTimeLT applies the LT predicate on the "create_time" field.

func CreateTimeLTE

func CreateTimeLTE(v time.Time) predicate.PoolPass

CreateTimeLTE applies the LTE predicate on the "create_time" field.

func CreateTimeNEQ

func CreateTimeNEQ(v time.Time) predicate.PoolPass

CreateTimeNEQ applies the NEQ predicate on the "create_time" field.

func CreateTimeNotIn

func CreateTimeNotIn(vs ...time.Time) predicate.PoolPass

CreateTimeNotIn applies the NotIn predicate on the "create_time" field.

func HasPool

func HasPool() predicate.PoolPass

HasPool applies the HasEdge predicate on the "pool" edge.

func HasPoolWith

func HasPoolWith(preds ...predicate.Pool) predicate.PoolPass

HasPoolWith applies the HasEdge predicate on the "pool" edge with a given conditions (other predicates).

func HasUser

func HasUser() predicate.PoolPass

HasUser applies the HasEdge predicate on the "user" edge.

func HasUserWith

func HasUserWith(preds ...predicate.User) predicate.PoolPass

HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).

func ID

func ID(id int) predicate.PoolPass

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.PoolPass

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.PoolPass

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.PoolPass

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.PoolPass

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.PoolPass

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.PoolPass

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.PoolPass

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.PoolPass

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.PoolPass) predicate.PoolPass

Or groups predicates with the OR operator between them.

func Shares

func Shares(v *types.Uint256) predicate.PoolPass

Shares applies equality check predicate on the "shares" field. It's identical to SharesEQ.

func SharesEQ

func SharesEQ(v *types.Uint256) predicate.PoolPass

SharesEQ applies the EQ predicate on the "shares" field.

func SharesGT

func SharesGT(v *types.Uint256) predicate.PoolPass

SharesGT applies the GT predicate on the "shares" field.

func SharesGTE

func SharesGTE(v *types.Uint256) predicate.PoolPass

SharesGTE applies the GTE predicate on the "shares" field.

func SharesIn

func SharesIn(vs ...*types.Uint256) predicate.PoolPass

SharesIn applies the In predicate on the "shares" field.

func SharesLT

func SharesLT(v *types.Uint256) predicate.PoolPass

SharesLT applies the LT predicate on the "shares" field.

func SharesLTE

func SharesLTE(v *types.Uint256) predicate.PoolPass

SharesLTE applies the LTE predicate on the "shares" field.

func SharesNEQ

func SharesNEQ(v *types.Uint256) predicate.PoolPass

SharesNEQ applies the NEQ predicate on the "shares" field.

func SharesNotIn

func SharesNotIn(vs ...*types.Uint256) predicate.PoolPass

SharesNotIn applies the NotIn predicate on the "shares" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL