project

package
v0.0.0-...-516dd05 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the project type in the database.
	Label = "project"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldAddress holds the string denoting the address field in the database.
	FieldAddress = "address"
	// FieldSlot holds the string denoting the slot field in the database.
	FieldSlot = "slot"
	// FieldMinterAddress holds the string denoting the minter_address field in the database.
	FieldMinterAddress = "minter_address"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldAbi holds the string denoting the abi field in the database.
	FieldAbi = "abi"
	// FieldSlotURI holds the string denoting the slot_uri field in the database.
	FieldSlotURI = "slot_uri"
	// FieldImage holds the string denoting the image field in the database.
	FieldImage = "image"
	// FieldYielderAddress holds the string denoting the yielder_address field in the database.
	FieldYielderAddress = "yielder_address"
	// FieldOffseterAddress holds the string denoting the offseter_address field in the database.
	FieldOffseterAddress = "offseter_address"
	// EdgeTokens holds the string denoting the tokens edge name in mutations.
	EdgeTokens = "tokens"
	// Table holds the table name of the project in the database.
	Table = "projects"
	// TokensTable is the table that holds the tokens relation/edge. The primary key declared below.
	TokensTable = "project_tokens"
	// TokensInverseTable is the table name for the CustomerTokens entity.
	// It exists in this package in order to avoid circular dependency with the "customertokens" package.
	TokensInverseTable = "customer_tokens"
)

Variables

Columns holds all SQL columns for project fields.

View Source
var (
	// TokensPrimaryKey and TokensColumn2 are the table columns denoting the
	// primary key for the tokens relation (M2M).
	TokensPrimaryKey = []string{"project_id", "customer_tokens_id"}
)

Functions

func Address

func Address(v string) predicate.Project

Address applies equality check predicate on the "address" field. It's identical to AddressEQ.

func AddressContains

func AddressContains(v string) predicate.Project

AddressContains applies the Contains predicate on the "address" field.

func AddressContainsFold

func AddressContainsFold(v string) predicate.Project

AddressContainsFold applies the ContainsFold predicate on the "address" field.

func AddressEQ

func AddressEQ(v string) predicate.Project

AddressEQ applies the EQ predicate on the "address" field.

func AddressEqualFold

func AddressEqualFold(v string) predicate.Project

AddressEqualFold applies the EqualFold predicate on the "address" field.

func AddressGT

func AddressGT(v string) predicate.Project

AddressGT applies the GT predicate on the "address" field.

func AddressGTE

func AddressGTE(v string) predicate.Project

AddressGTE applies the GTE predicate on the "address" field.

func AddressHasPrefix

func AddressHasPrefix(v string) predicate.Project

AddressHasPrefix applies the HasPrefix predicate on the "address" field.

func AddressHasSuffix

func AddressHasSuffix(v string) predicate.Project

AddressHasSuffix applies the HasSuffix predicate on the "address" field.

func AddressIn

func AddressIn(vs ...string) predicate.Project

AddressIn applies the In predicate on the "address" field.

func AddressLT

func AddressLT(v string) predicate.Project

AddressLT applies the LT predicate on the "address" field.

func AddressLTE

func AddressLTE(v string) predicate.Project

AddressLTE applies the LTE predicate on the "address" field.

func AddressNEQ

func AddressNEQ(v string) predicate.Project

AddressNEQ applies the NEQ predicate on the "address" field.

func AddressNotIn

func AddressNotIn(vs ...string) predicate.Project

AddressNotIn applies the NotIn predicate on the "address" field.

func And

func And(predicates ...predicate.Project) predicate.Project

And groups predicates with the AND operator between them.

func HasTokens

func HasTokens() predicate.Project

HasTokens applies the HasEdge predicate on the "tokens" edge.

func HasTokensWith

func HasTokensWith(preds ...predicate.CustomerTokens) predicate.Project

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

func ID

func ID(id int) predicate.Project

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Project

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Project

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Project

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Project

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Project

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Project

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Image

func Image(v string) predicate.Project

Image applies equality check predicate on the "image" field. It's identical to ImageEQ.

func ImageContains

func ImageContains(v string) predicate.Project

ImageContains applies the Contains predicate on the "image" field.

func ImageContainsFold

func ImageContainsFold(v string) predicate.Project

ImageContainsFold applies the ContainsFold predicate on the "image" field.

func ImageEQ

func ImageEQ(v string) predicate.Project

ImageEQ applies the EQ predicate on the "image" field.

func ImageEqualFold

func ImageEqualFold(v string) predicate.Project

ImageEqualFold applies the EqualFold predicate on the "image" field.

func ImageGT

func ImageGT(v string) predicate.Project

ImageGT applies the GT predicate on the "image" field.

func ImageGTE

func ImageGTE(v string) predicate.Project

ImageGTE applies the GTE predicate on the "image" field.

func ImageHasPrefix

func ImageHasPrefix(v string) predicate.Project

ImageHasPrefix applies the HasPrefix predicate on the "image" field.

func ImageHasSuffix

func ImageHasSuffix(v string) predicate.Project

ImageHasSuffix applies the HasSuffix predicate on the "image" field.

func ImageIn

func ImageIn(vs ...string) predicate.Project

ImageIn applies the In predicate on the "image" field.

func ImageLT

func ImageLT(v string) predicate.Project

ImageLT applies the LT predicate on the "image" field.

func ImageLTE

func ImageLTE(v string) predicate.Project

ImageLTE applies the LTE predicate on the "image" field.

func ImageNEQ

func ImageNEQ(v string) predicate.Project

ImageNEQ applies the NEQ predicate on the "image" field.

func ImageNotIn

func ImageNotIn(vs ...string) predicate.Project

ImageNotIn applies the NotIn predicate on the "image" field.

func MinterAddress

func MinterAddress(v string) predicate.Project

MinterAddress applies equality check predicate on the "minter_address" field. It's identical to MinterAddressEQ.

func MinterAddressContains

func MinterAddressContains(v string) predicate.Project

MinterAddressContains applies the Contains predicate on the "minter_address" field.

func MinterAddressContainsFold

func MinterAddressContainsFold(v string) predicate.Project

MinterAddressContainsFold applies the ContainsFold predicate on the "minter_address" field.

func MinterAddressEQ

func MinterAddressEQ(v string) predicate.Project

MinterAddressEQ applies the EQ predicate on the "minter_address" field.

func MinterAddressEqualFold

func MinterAddressEqualFold(v string) predicate.Project

MinterAddressEqualFold applies the EqualFold predicate on the "minter_address" field.

func MinterAddressGT

func MinterAddressGT(v string) predicate.Project

MinterAddressGT applies the GT predicate on the "minter_address" field.

func MinterAddressGTE

func MinterAddressGTE(v string) predicate.Project

MinterAddressGTE applies the GTE predicate on the "minter_address" field.

func MinterAddressHasPrefix

func MinterAddressHasPrefix(v string) predicate.Project

MinterAddressHasPrefix applies the HasPrefix predicate on the "minter_address" field.

func MinterAddressHasSuffix

func MinterAddressHasSuffix(v string) predicate.Project

MinterAddressHasSuffix applies the HasSuffix predicate on the "minter_address" field.

func MinterAddressIn

func MinterAddressIn(vs ...string) predicate.Project

MinterAddressIn applies the In predicate on the "minter_address" field.

func MinterAddressLT

func MinterAddressLT(v string) predicate.Project

MinterAddressLT applies the LT predicate on the "minter_address" field.

func MinterAddressLTE

func MinterAddressLTE(v string) predicate.Project

MinterAddressLTE applies the LTE predicate on the "minter_address" field.

func MinterAddressNEQ

func MinterAddressNEQ(v string) predicate.Project

MinterAddressNEQ applies the NEQ predicate on the "minter_address" field.

func MinterAddressNotIn

func MinterAddressNotIn(vs ...string) predicate.Project

MinterAddressNotIn applies the NotIn predicate on the "minter_address" field.

func Name

func Name(v string) predicate.Project

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.Project

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.Project

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.Project

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.Project

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.Project

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.Project

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.Project

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.Project

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.Project

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.Project

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.Project

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.Project

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.Project

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func OffseterAddress

func OffseterAddress(v string) predicate.Project

OffseterAddress applies equality check predicate on the "offseter_address" field. It's identical to OffseterAddressEQ.

func OffseterAddressContains

func OffseterAddressContains(v string) predicate.Project

OffseterAddressContains applies the Contains predicate on the "offseter_address" field.

func OffseterAddressContainsFold

func OffseterAddressContainsFold(v string) predicate.Project

OffseterAddressContainsFold applies the ContainsFold predicate on the "offseter_address" field.

func OffseterAddressEQ

func OffseterAddressEQ(v string) predicate.Project

OffseterAddressEQ applies the EQ predicate on the "offseter_address" field.

func OffseterAddressEqualFold

func OffseterAddressEqualFold(v string) predicate.Project

OffseterAddressEqualFold applies the EqualFold predicate on the "offseter_address" field.

func OffseterAddressGT

func OffseterAddressGT(v string) predicate.Project

OffseterAddressGT applies the GT predicate on the "offseter_address" field.

func OffseterAddressGTE

func OffseterAddressGTE(v string) predicate.Project

OffseterAddressGTE applies the GTE predicate on the "offseter_address" field.

func OffseterAddressHasPrefix

func OffseterAddressHasPrefix(v string) predicate.Project

OffseterAddressHasPrefix applies the HasPrefix predicate on the "offseter_address" field.

func OffseterAddressHasSuffix

func OffseterAddressHasSuffix(v string) predicate.Project

OffseterAddressHasSuffix applies the HasSuffix predicate on the "offseter_address" field.

func OffseterAddressIn

func OffseterAddressIn(vs ...string) predicate.Project

OffseterAddressIn applies the In predicate on the "offseter_address" field.

func OffseterAddressIsNil

func OffseterAddressIsNil() predicate.Project

OffseterAddressIsNil applies the IsNil predicate on the "offseter_address" field.

func OffseterAddressLT

func OffseterAddressLT(v string) predicate.Project

OffseterAddressLT applies the LT predicate on the "offseter_address" field.

func OffseterAddressLTE

func OffseterAddressLTE(v string) predicate.Project

OffseterAddressLTE applies the LTE predicate on the "offseter_address" field.

func OffseterAddressNEQ

func OffseterAddressNEQ(v string) predicate.Project

OffseterAddressNEQ applies the NEQ predicate on the "offseter_address" field.

func OffseterAddressNotIn

func OffseterAddressNotIn(vs ...string) predicate.Project

OffseterAddressNotIn applies the NotIn predicate on the "offseter_address" field.

func OffseterAddressNotNil

func OffseterAddressNotNil() predicate.Project

OffseterAddressNotNil applies the NotNil predicate on the "offseter_address" field.

func Or

func Or(predicates ...predicate.Project) predicate.Project

Or groups predicates with the OR operator between them.

func Slot

func Slot(v int) predicate.Project

Slot applies equality check predicate on the "slot" field. It's identical to SlotEQ.

func SlotEQ

func SlotEQ(v int) predicate.Project

SlotEQ applies the EQ predicate on the "slot" field.

func SlotGT

func SlotGT(v int) predicate.Project

SlotGT applies the GT predicate on the "slot" field.

func SlotGTE

func SlotGTE(v int) predicate.Project

SlotGTE applies the GTE predicate on the "slot" field.

func SlotIn

func SlotIn(vs ...int) predicate.Project

SlotIn applies the In predicate on the "slot" field.

func SlotLT

func SlotLT(v int) predicate.Project

SlotLT applies the LT predicate on the "slot" field.

func SlotLTE

func SlotLTE(v int) predicate.Project

SlotLTE applies the LTE predicate on the "slot" field.

func SlotNEQ

func SlotNEQ(v int) predicate.Project

SlotNEQ applies the NEQ predicate on the "slot" field.

func SlotNotIn

func SlotNotIn(vs ...int) predicate.Project

SlotNotIn applies the NotIn predicate on the "slot" field.

func ValidColumn

func ValidColumn(column string) bool

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

func YielderAddress

func YielderAddress(v string) predicate.Project

YielderAddress applies equality check predicate on the "yielder_address" field. It's identical to YielderAddressEQ.

func YielderAddressContains

func YielderAddressContains(v string) predicate.Project

YielderAddressContains applies the Contains predicate on the "yielder_address" field.

func YielderAddressContainsFold

func YielderAddressContainsFold(v string) predicate.Project

YielderAddressContainsFold applies the ContainsFold predicate on the "yielder_address" field.

func YielderAddressEQ

func YielderAddressEQ(v string) predicate.Project

YielderAddressEQ applies the EQ predicate on the "yielder_address" field.

func YielderAddressEqualFold

func YielderAddressEqualFold(v string) predicate.Project

YielderAddressEqualFold applies the EqualFold predicate on the "yielder_address" field.

func YielderAddressGT

func YielderAddressGT(v string) predicate.Project

YielderAddressGT applies the GT predicate on the "yielder_address" field.

func YielderAddressGTE

func YielderAddressGTE(v string) predicate.Project

YielderAddressGTE applies the GTE predicate on the "yielder_address" field.

func YielderAddressHasPrefix

func YielderAddressHasPrefix(v string) predicate.Project

YielderAddressHasPrefix applies the HasPrefix predicate on the "yielder_address" field.

func YielderAddressHasSuffix

func YielderAddressHasSuffix(v string) predicate.Project

YielderAddressHasSuffix applies the HasSuffix predicate on the "yielder_address" field.

func YielderAddressIn

func YielderAddressIn(vs ...string) predicate.Project

YielderAddressIn applies the In predicate on the "yielder_address" field.

func YielderAddressIsNil

func YielderAddressIsNil() predicate.Project

YielderAddressIsNil applies the IsNil predicate on the "yielder_address" field.

func YielderAddressLT

func YielderAddressLT(v string) predicate.Project

YielderAddressLT applies the LT predicate on the "yielder_address" field.

func YielderAddressLTE

func YielderAddressLTE(v string) predicate.Project

YielderAddressLTE applies the LTE predicate on the "yielder_address" field.

func YielderAddressNEQ

func YielderAddressNEQ(v string) predicate.Project

YielderAddressNEQ applies the NEQ predicate on the "yielder_address" field.

func YielderAddressNotIn

func YielderAddressNotIn(vs ...string) predicate.Project

YielderAddressNotIn applies the NotIn predicate on the "yielder_address" field.

func YielderAddressNotNil

func YielderAddressNotNil() predicate.Project

YielderAddressNotNil applies the NotNil predicate on the "yielder_address" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Project queries.

func ByAddress

func ByAddress(opts ...sql.OrderTermOption) OrderOption

ByAddress orders the results by the address field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByImage

func ByImage(opts ...sql.OrderTermOption) OrderOption

ByImage orders the results by the image field.

func ByMinterAddress

func ByMinterAddress(opts ...sql.OrderTermOption) OrderOption

ByMinterAddress orders the results by the minter_address field.

func ByName

func ByName(opts ...sql.OrderTermOption) OrderOption

ByName orders the results by the name field.

func ByOffseterAddress

func ByOffseterAddress(opts ...sql.OrderTermOption) OrderOption

ByOffseterAddress orders the results by the offseter_address field.

func BySlot

func BySlot(opts ...sql.OrderTermOption) OrderOption

BySlot orders the results by the slot field.

func ByTokens

func ByTokens(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByTokens orders the results by tokens terms.

func ByTokensCount

func ByTokensCount(opts ...sql.OrderTermOption) OrderOption

ByTokensCount orders the results by tokens count.

func ByYielderAddress

func ByYielderAddress(opts ...sql.OrderTermOption) OrderOption

ByYielderAddress orders the results by the yielder_address field.

Jump to

Keyboard shortcuts

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