registeredcontract

package
v0.0.0-...-abfe2d9 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the registeredcontract type in the database.
	Label = "registered_contract"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldFormat holds the string denoting the format field in the database.
	FieldFormat = "format"
	// FieldContract holds the string denoting the contract field in the database.
	FieldContract = "contract"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// EdgeProviders holds the string denoting the providers edge name in mutations.
	EdgeProviders = "providers"
	// EdgeCompatibilityResultsAsRequirement holds the string denoting the compatibility_results_as_requirement edge name in mutations.
	EdgeCompatibilityResultsAsRequirement = "compatibility_results_as_requirement"
	// EdgeCompatibilityResultsAsProvider holds the string denoting the compatibility_results_as_provider edge name in mutations.
	EdgeCompatibilityResultsAsProvider = "compatibility_results_as_provider"
	// Table holds the table name of the registeredcontract in the database.
	Table = "registered_contracts"
	// ProvidersTable is the table that holds the providers relation/edge.
	ProvidersTable = "registered_providers"
	// ProvidersInverseTable is the table name for the RegisteredProvider entity.
	// It exists in this package in order to avoid circular dependency with the "registeredprovider" package.
	ProvidersInverseTable = "registered_providers"
	// ProvidersColumn is the table column denoting the providers relation/edge.
	ProvidersColumn = "contract_id"
	// CompatibilityResultsAsRequirementTable is the table that holds the compatibility_results_as_requirement relation/edge.
	CompatibilityResultsAsRequirementTable = "compatibility_results"
	// CompatibilityResultsAsRequirementInverseTable is the table name for the CompatibilityResult entity.
	// It exists in this package in order to avoid circular dependency with the "compatibilityresult" package.
	CompatibilityResultsAsRequirementInverseTable = "compatibility_results"
	// CompatibilityResultsAsRequirementColumn is the table column denoting the compatibility_results_as_requirement relation/edge.
	CompatibilityResultsAsRequirementColumn = "requirement_contract_id"
	// CompatibilityResultsAsProviderTable is the table that holds the compatibility_results_as_provider relation/edge.
	CompatibilityResultsAsProviderTable = "compatibility_results"
	// CompatibilityResultsAsProviderInverseTable is the table name for the CompatibilityResult entity.
	// It exists in this package in order to avoid circular dependency with the "compatibilityresult" package.
	CompatibilityResultsAsProviderInverseTable = "compatibility_results"
	// CompatibilityResultsAsProviderColumn is the table column denoting the compatibility_results_as_provider relation/edge.
	CompatibilityResultsAsProviderColumn = "provider_contract_id"
)

Variables

View Source
var (
	// ContractValidator is a validator for the "contract" field. It is called by the builders before save.
	ContractValidator func([]byte) error
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// IDValidator is a validator for the "id" field. It is called by the builders before save.
	IDValidator func(string) error
)

Columns holds all SQL columns for registeredcontract fields.

Functions

func And

And groups predicates with the AND operator between them.

func Contract

func Contract(v []byte) predicate.RegisteredContract

Contract applies equality check predicate on the "contract" field. It's identical to ContractEQ.

func ContractEQ

func ContractEQ(v []byte) predicate.RegisteredContract

ContractEQ applies the EQ predicate on the "contract" field.

func ContractGT

func ContractGT(v []byte) predicate.RegisteredContract

ContractGT applies the GT predicate on the "contract" field.

func ContractGTE

func ContractGTE(v []byte) predicate.RegisteredContract

ContractGTE applies the GTE predicate on the "contract" field.

func ContractIn

func ContractIn(vs ...[]byte) predicate.RegisteredContract

ContractIn applies the In predicate on the "contract" field.

func ContractLT

func ContractLT(v []byte) predicate.RegisteredContract

ContractLT applies the LT predicate on the "contract" field.

func ContractLTE

func ContractLTE(v []byte) predicate.RegisteredContract

ContractLTE applies the LTE predicate on the "contract" field.

func ContractNEQ

func ContractNEQ(v []byte) predicate.RegisteredContract

ContractNEQ applies the NEQ predicate on the "contract" field.

func ContractNotIn

func ContractNotIn(vs ...[]byte) predicate.RegisteredContract

ContractNotIn applies the NotIn predicate on the "contract" field.

func CreatedAt

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.RegisteredContract

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.RegisteredContract

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.RegisteredContract

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.RegisteredContract

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.RegisteredContract

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.RegisteredContract

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.RegisteredContract

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.RegisteredContract

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func Format

Format applies equality check predicate on the "format" field. It's identical to FormatEQ.

func FormatEQ

func FormatEQ(v int) predicate.RegisteredContract

FormatEQ applies the EQ predicate on the "format" field.

func FormatGT

func FormatGT(v int) predicate.RegisteredContract

FormatGT applies the GT predicate on the "format" field.

func FormatGTE

func FormatGTE(v int) predicate.RegisteredContract

FormatGTE applies the GTE predicate on the "format" field.

func FormatIn

func FormatIn(vs ...int) predicate.RegisteredContract

FormatIn applies the In predicate on the "format" field.

func FormatLT

func FormatLT(v int) predicate.RegisteredContract

FormatLT applies the LT predicate on the "format" field.

func FormatLTE

func FormatLTE(v int) predicate.RegisteredContract

FormatLTE applies the LTE predicate on the "format" field.

func FormatNEQ

func FormatNEQ(v int) predicate.RegisteredContract

FormatNEQ applies the NEQ predicate on the "format" field.

func FormatNotIn

func FormatNotIn(vs ...int) predicate.RegisteredContract

FormatNotIn applies the NotIn predicate on the "format" field.

func HasCompatibilityResultsAsProvider

func HasCompatibilityResultsAsProvider() predicate.RegisteredContract

HasCompatibilityResultsAsProvider applies the HasEdge predicate on the "compatibility_results_as_provider" edge.

func HasCompatibilityResultsAsProviderWith

func HasCompatibilityResultsAsProviderWith(preds ...predicate.CompatibilityResult) predicate.RegisteredContract

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

func HasCompatibilityResultsAsRequirement

func HasCompatibilityResultsAsRequirement() predicate.RegisteredContract

HasCompatibilityResultsAsRequirement applies the HasEdge predicate on the "compatibility_results_as_requirement" edge.

func HasCompatibilityResultsAsRequirementWith

func HasCompatibilityResultsAsRequirementWith(preds ...predicate.CompatibilityResult) predicate.RegisteredContract

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

func HasProviders

func HasProviders() predicate.RegisteredContract

HasProviders applies the HasEdge predicate on the "providers" edge.

func HasProvidersWith

func HasProvidersWith(preds ...predicate.RegisteredProvider) predicate.RegisteredContract

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

func ID

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.RegisteredContract

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.RegisteredContract

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...string) predicate.RegisteredContract

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...string) predicate.RegisteredContract

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func ValidColumn

func ValidColumn(column string) bool

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the RegisteredContract queries.

func ByCompatibilityResultsAsProvider

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

ByCompatibilityResultsAsProvider orders the results by compatibility_results_as_provider terms.

func ByCompatibilityResultsAsProviderCount

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

ByCompatibilityResultsAsProviderCount orders the results by compatibility_results_as_provider count.

func ByCompatibilityResultsAsRequirement

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

ByCompatibilityResultsAsRequirement orders the results by compatibility_results_as_requirement terms.

func ByCompatibilityResultsAsRequirementCount

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

ByCompatibilityResultsAsRequirementCount orders the results by compatibility_results_as_requirement count.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByFormat

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

ByFormat orders the results by the format field.

func ByID

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

ByID orders the results by the id field.

func ByProviders

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

ByProviders orders the results by providers terms.

func ByProvidersCount

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

ByProvidersCount orders the results by providers count.

Jump to

Keyboard shortcuts

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