Documentation ¶
Index ¶
- Constants
- Variables
- func Address(v string) predicate.Project
- func AddressContains(v string) predicate.Project
- func AddressContainsFold(v string) predicate.Project
- func AddressEQ(v string) predicate.Project
- func AddressEqualFold(v string) predicate.Project
- func AddressGT(v string) predicate.Project
- func AddressGTE(v string) predicate.Project
- func AddressHasPrefix(v string) predicate.Project
- func AddressHasSuffix(v string) predicate.Project
- func AddressIn(vs ...string) predicate.Project
- func AddressLT(v string) predicate.Project
- func AddressLTE(v string) predicate.Project
- func AddressNEQ(v string) predicate.Project
- func AddressNotIn(vs ...string) predicate.Project
- func And(predicates ...predicate.Project) predicate.Project
- func HasTokens() predicate.Project
- func HasTokensWith(preds ...predicate.CustomerTokens) predicate.Project
- func ID(id int) predicate.Project
- func IDEQ(id int) predicate.Project
- func IDGT(id int) predicate.Project
- func IDGTE(id int) predicate.Project
- func IDIn(ids ...int) predicate.Project
- func IDLT(id int) predicate.Project
- func IDLTE(id int) predicate.Project
- func IDNEQ(id int) predicate.Project
- func IDNotIn(ids ...int) predicate.Project
- func Image(v string) predicate.Project
- func ImageContains(v string) predicate.Project
- func ImageContainsFold(v string) predicate.Project
- func ImageEQ(v string) predicate.Project
- func ImageEqualFold(v string) predicate.Project
- func ImageGT(v string) predicate.Project
- func ImageGTE(v string) predicate.Project
- func ImageHasPrefix(v string) predicate.Project
- func ImageHasSuffix(v string) predicate.Project
- func ImageIn(vs ...string) predicate.Project
- func ImageLT(v string) predicate.Project
- func ImageLTE(v string) predicate.Project
- func ImageNEQ(v string) predicate.Project
- func ImageNotIn(vs ...string) predicate.Project
- func MinterAddress(v string) predicate.Project
- func MinterAddressContains(v string) predicate.Project
- func MinterAddressContainsFold(v string) predicate.Project
- func MinterAddressEQ(v string) predicate.Project
- func MinterAddressEqualFold(v string) predicate.Project
- func MinterAddressGT(v string) predicate.Project
- func MinterAddressGTE(v string) predicate.Project
- func MinterAddressHasPrefix(v string) predicate.Project
- func MinterAddressHasSuffix(v string) predicate.Project
- func MinterAddressIn(vs ...string) predicate.Project
- func MinterAddressLT(v string) predicate.Project
- func MinterAddressLTE(v string) predicate.Project
- func MinterAddressNEQ(v string) predicate.Project
- func MinterAddressNotIn(vs ...string) predicate.Project
- func Name(v string) predicate.Project
- func NameContains(v string) predicate.Project
- func NameContainsFold(v string) predicate.Project
- func NameEQ(v string) predicate.Project
- func NameEqualFold(v string) predicate.Project
- func NameGT(v string) predicate.Project
- func NameGTE(v string) predicate.Project
- func NameHasPrefix(v string) predicate.Project
- func NameHasSuffix(v string) predicate.Project
- func NameIn(vs ...string) predicate.Project
- func NameLT(v string) predicate.Project
- func NameLTE(v string) predicate.Project
- func NameNEQ(v string) predicate.Project
- func NameNotIn(vs ...string) predicate.Project
- func Not(p predicate.Project) predicate.Project
- func OffseterAddress(v string) predicate.Project
- func OffseterAddressContains(v string) predicate.Project
- func OffseterAddressContainsFold(v string) predicate.Project
- func OffseterAddressEQ(v string) predicate.Project
- func OffseterAddressEqualFold(v string) predicate.Project
- func OffseterAddressGT(v string) predicate.Project
- func OffseterAddressGTE(v string) predicate.Project
- func OffseterAddressHasPrefix(v string) predicate.Project
- func OffseterAddressHasSuffix(v string) predicate.Project
- func OffseterAddressIn(vs ...string) predicate.Project
- func OffseterAddressIsNil() predicate.Project
- func OffseterAddressLT(v string) predicate.Project
- func OffseterAddressLTE(v string) predicate.Project
- func OffseterAddressNEQ(v string) predicate.Project
- func OffseterAddressNotIn(vs ...string) predicate.Project
- func OffseterAddressNotNil() predicate.Project
- func Or(predicates ...predicate.Project) predicate.Project
- func Slot(v int) predicate.Project
- func SlotEQ(v int) predicate.Project
- func SlotGT(v int) predicate.Project
- func SlotGTE(v int) predicate.Project
- func SlotIn(vs ...int) predicate.Project
- func SlotLT(v int) predicate.Project
- func SlotLTE(v int) predicate.Project
- func SlotNEQ(v int) predicate.Project
- func SlotNotIn(vs ...int) predicate.Project
- func ValidColumn(column string) bool
- func YielderAddress(v string) predicate.Project
- func YielderAddressContains(v string) predicate.Project
- func YielderAddressContainsFold(v string) predicate.Project
- func YielderAddressEQ(v string) predicate.Project
- func YielderAddressEqualFold(v string) predicate.Project
- func YielderAddressGT(v string) predicate.Project
- func YielderAddressGTE(v string) predicate.Project
- func YielderAddressHasPrefix(v string) predicate.Project
- func YielderAddressHasSuffix(v string) predicate.Project
- func YielderAddressIn(vs ...string) predicate.Project
- func YielderAddressIsNil() predicate.Project
- func YielderAddressLT(v string) predicate.Project
- func YielderAddressLTE(v string) predicate.Project
- func YielderAddressNEQ(v string) predicate.Project
- func YielderAddressNotIn(vs ...string) predicate.Project
- func YielderAddressNotNil() predicate.Project
- type OrderOption
- func ByAddress(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByImage(opts ...sql.OrderTermOption) OrderOption
- func ByMinterAddress(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByOffseterAddress(opts ...sql.OrderTermOption) OrderOption
- func BySlot(opts ...sql.OrderTermOption) OrderOption
- func ByTokens(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByTokensCount(opts ...sql.OrderTermOption) OrderOption
- func ByYielderAddress(opts ...sql.OrderTermOption) OrderOption
Constants ¶
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 ¶
var Columns = []string{ FieldID, FieldAddress, FieldSlot, FieldMinterAddress, FieldName, FieldAbi, FieldSlotURI, FieldImage, FieldYielderAddress, FieldOffseterAddress, }
Columns holds all SQL columns for project fields.
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 ¶
Address applies equality check predicate on the "address" field. It's identical to AddressEQ.
func AddressContains ¶
AddressContains applies the Contains predicate on the "address" field.
func AddressContainsFold ¶
AddressContainsFold applies the ContainsFold predicate on the "address" field.
func AddressEqualFold ¶
AddressEqualFold applies the EqualFold predicate on the "address" field.
func AddressGTE ¶
AddressGTE applies the GTE predicate on the "address" field.
func AddressHasPrefix ¶
AddressHasPrefix applies the HasPrefix predicate on the "address" field.
func AddressHasSuffix ¶
AddressHasSuffix applies the HasSuffix predicate on the "address" field.
func AddressLTE ¶
AddressLTE applies the LTE predicate on the "address" field.
func AddressNEQ ¶
AddressNEQ applies the NEQ predicate on the "address" field.
func AddressNotIn ¶
AddressNotIn applies the NotIn predicate on the "address" field.
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 Image ¶
Image applies equality check predicate on the "image" field. It's identical to ImageEQ.
func ImageContains ¶
ImageContains applies the Contains predicate on the "image" field.
func ImageContainsFold ¶
ImageContainsFold applies the ContainsFold predicate on the "image" field.
func ImageEqualFold ¶
ImageEqualFold applies the EqualFold predicate on the "image" field.
func ImageHasPrefix ¶
ImageHasPrefix applies the HasPrefix predicate on the "image" field.
func ImageHasSuffix ¶
ImageHasSuffix applies the HasSuffix predicate on the "image" field.
func ImageNotIn ¶
ImageNotIn applies the NotIn predicate on the "image" field.
func MinterAddress ¶
MinterAddress applies equality check predicate on the "minter_address" field. It's identical to MinterAddressEQ.
func MinterAddressContains ¶
MinterAddressContains applies the Contains predicate on the "minter_address" field.
func MinterAddressContainsFold ¶
MinterAddressContainsFold applies the ContainsFold predicate on the "minter_address" field.
func MinterAddressEQ ¶
MinterAddressEQ applies the EQ predicate on the "minter_address" field.
func MinterAddressEqualFold ¶
MinterAddressEqualFold applies the EqualFold predicate on the "minter_address" field.
func MinterAddressGT ¶
MinterAddressGT applies the GT predicate on the "minter_address" field.
func MinterAddressGTE ¶
MinterAddressGTE applies the GTE predicate on the "minter_address" field.
func MinterAddressHasPrefix ¶
MinterAddressHasPrefix applies the HasPrefix predicate on the "minter_address" field.
func MinterAddressHasSuffix ¶
MinterAddressHasSuffix applies the HasSuffix predicate on the "minter_address" field.
func MinterAddressIn ¶
MinterAddressIn applies the In predicate on the "minter_address" field.
func MinterAddressLT ¶
MinterAddressLT applies the LT predicate on the "minter_address" field.
func MinterAddressLTE ¶
MinterAddressLTE applies the LTE predicate on the "minter_address" field.
func MinterAddressNEQ ¶
MinterAddressNEQ applies the NEQ predicate on the "minter_address" field.
func MinterAddressNotIn ¶
MinterAddressNotIn applies the NotIn predicate on the "minter_address" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func OffseterAddress ¶
OffseterAddress applies equality check predicate on the "offseter_address" field. It's identical to OffseterAddressEQ.
func OffseterAddressContains ¶
OffseterAddressContains applies the Contains predicate on the "offseter_address" field.
func OffseterAddressContainsFold ¶
OffseterAddressContainsFold applies the ContainsFold predicate on the "offseter_address" field.
func OffseterAddressEQ ¶
OffseterAddressEQ applies the EQ predicate on the "offseter_address" field.
func OffseterAddressEqualFold ¶
OffseterAddressEqualFold applies the EqualFold predicate on the "offseter_address" field.
func OffseterAddressGT ¶
OffseterAddressGT applies the GT predicate on the "offseter_address" field.
func OffseterAddressGTE ¶
OffseterAddressGTE applies the GTE predicate on the "offseter_address" field.
func OffseterAddressHasPrefix ¶
OffseterAddressHasPrefix applies the HasPrefix predicate on the "offseter_address" field.
func OffseterAddressHasSuffix ¶
OffseterAddressHasSuffix applies the HasSuffix predicate on the "offseter_address" field.
func OffseterAddressIn ¶
OffseterAddressIn applies the In predicate on the "offseter_address" field.
func OffseterAddressIsNil ¶
OffseterAddressIsNil applies the IsNil predicate on the "offseter_address" field.
func OffseterAddressLT ¶
OffseterAddressLT applies the LT predicate on the "offseter_address" field.
func OffseterAddressLTE ¶
OffseterAddressLTE applies the LTE predicate on the "offseter_address" field.
func OffseterAddressNEQ ¶
OffseterAddressNEQ applies the NEQ predicate on the "offseter_address" field.
func OffseterAddressNotIn ¶
OffseterAddressNotIn applies the NotIn predicate on the "offseter_address" field.
func OffseterAddressNotNil ¶
OffseterAddressNotNil applies the NotNil predicate on the "offseter_address" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func YielderAddress ¶
YielderAddress applies equality check predicate on the "yielder_address" field. It's identical to YielderAddressEQ.
func YielderAddressContains ¶
YielderAddressContains applies the Contains predicate on the "yielder_address" field.
func YielderAddressContainsFold ¶
YielderAddressContainsFold applies the ContainsFold predicate on the "yielder_address" field.
func YielderAddressEQ ¶
YielderAddressEQ applies the EQ predicate on the "yielder_address" field.
func YielderAddressEqualFold ¶
YielderAddressEqualFold applies the EqualFold predicate on the "yielder_address" field.
func YielderAddressGT ¶
YielderAddressGT applies the GT predicate on the "yielder_address" field.
func YielderAddressGTE ¶
YielderAddressGTE applies the GTE predicate on the "yielder_address" field.
func YielderAddressHasPrefix ¶
YielderAddressHasPrefix applies the HasPrefix predicate on the "yielder_address" field.
func YielderAddressHasSuffix ¶
YielderAddressHasSuffix applies the HasSuffix predicate on the "yielder_address" field.
func YielderAddressIn ¶
YielderAddressIn applies the In predicate on the "yielder_address" field.
func YielderAddressIsNil ¶
YielderAddressIsNil applies the IsNil predicate on the "yielder_address" field.
func YielderAddressLT ¶
YielderAddressLT applies the LT predicate on the "yielder_address" field.
func YielderAddressLTE ¶
YielderAddressLTE applies the LTE predicate on the "yielder_address" field.
func YielderAddressNEQ ¶
YielderAddressNEQ applies the NEQ predicate on the "yielder_address" field.
func YielderAddressNotIn ¶
YielderAddressNotIn applies the NotIn predicate on the "yielder_address" field.
func YielderAddressNotNil ¶
YielderAddressNotNil applies the NotNil predicate on the "yielder_address" field.
Types ¶
type OrderOption ¶
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.