compatibilityresult

package
v0.0.0-...-4f9186c Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2025 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the compatibilityresult type in the database.
	Label = "compatibility_result"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldRequirementContractID holds the string denoting the requirement_contract_id field in the database.
	FieldRequirementContractID = "requirement_contract_id"
	// FieldProviderContractID holds the string denoting the provider_contract_id field in the database.
	FieldProviderContractID = "provider_contract_id"
	// FieldResult holds the string denoting the result field in the database.
	FieldResult = "result"
	// FieldMapping holds the string denoting the mapping field in the database.
	FieldMapping = "mapping"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// EdgeRequirementContract holds the string denoting the requirement_contract edge name in mutations.
	EdgeRequirementContract = "requirement_contract"
	// EdgeProviderContract holds the string denoting the provider_contract edge name in mutations.
	EdgeProviderContract = "provider_contract"
	// Table holds the table name of the compatibilityresult in the database.
	Table = "compatibility_results"
	// RequirementContractTable is the table that holds the requirement_contract relation/edge.
	RequirementContractTable = "compatibility_results"
	// RequirementContractInverseTable is the table name for the RegisteredContract entity.
	// It exists in this package in order to avoid circular dependency with the "registeredcontract" package.
	RequirementContractInverseTable = "registered_contracts"
	// RequirementContractColumn is the table column denoting the requirement_contract relation/edge.
	RequirementContractColumn = "requirement_contract_id"
	// ProviderContractTable is the table that holds the provider_contract relation/edge.
	ProviderContractTable = "compatibility_results"
	// ProviderContractInverseTable is the table name for the RegisteredContract entity.
	// It exists in this package in order to avoid circular dependency with the "registeredcontract" package.
	ProviderContractInverseTable = "registered_contracts"
	// ProviderContractColumn is the table column denoting the provider_contract relation/edge.
	ProviderContractColumn = "provider_contract_id"
)

Variables

View Source
var (
	// RequirementContractIDValidator is a validator for the "requirement_contract_id" field. It is called by the builders before save.
	RequirementContractIDValidator func(string) error
	// ProviderContractIDValidator is a validator for the "provider_contract_id" field. It is called by the builders before save.
	ProviderContractIDValidator func(string) error
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
)

Columns holds all SQL columns for compatibilityresult fields.

Functions

func And

And groups predicates with the AND operator between them.

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.CompatibilityResult

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.CompatibilityResult

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.CompatibilityResult

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.CompatibilityResult

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.CompatibilityResult

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.CompatibilityResult

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

func CreatedAtNotIn

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

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

func HasProviderContract

func HasProviderContract() predicate.CompatibilityResult

HasProviderContract applies the HasEdge predicate on the "provider_contract" edge.

func HasProviderContractWith

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

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

func HasRequirementContract

func HasRequirementContract() predicate.CompatibilityResult

HasRequirementContract applies the HasEdge predicate on the "requirement_contract" edge.

func HasRequirementContractWith

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

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

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ 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 ...int) predicate.CompatibilityResult

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 ...int) predicate.CompatibilityResult

IDNotIn applies the NotIn predicate on the ID field.

func MappingIsNil

func MappingIsNil() predicate.CompatibilityResult

MappingIsNil applies the IsNil predicate on the "mapping" field.

func MappingNotNil

func MappingNotNil() predicate.CompatibilityResult

MappingNotNil applies the NotNil predicate on the "mapping" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func ProviderContractID

func ProviderContractID(v string) predicate.CompatibilityResult

ProviderContractID applies equality check predicate on the "provider_contract_id" field. It's identical to ProviderContractIDEQ.

func ProviderContractIDContains

func ProviderContractIDContains(v string) predicate.CompatibilityResult

ProviderContractIDContains applies the Contains predicate on the "provider_contract_id" field.

func ProviderContractIDContainsFold

func ProviderContractIDContainsFold(v string) predicate.CompatibilityResult

ProviderContractIDContainsFold applies the ContainsFold predicate on the "provider_contract_id" field.

func ProviderContractIDEQ

func ProviderContractIDEQ(v string) predicate.CompatibilityResult

ProviderContractIDEQ applies the EQ predicate on the "provider_contract_id" field.

func ProviderContractIDEqualFold

func ProviderContractIDEqualFold(v string) predicate.CompatibilityResult

ProviderContractIDEqualFold applies the EqualFold predicate on the "provider_contract_id" field.

func ProviderContractIDGT

func ProviderContractIDGT(v string) predicate.CompatibilityResult

ProviderContractIDGT applies the GT predicate on the "provider_contract_id" field.

func ProviderContractIDGTE

func ProviderContractIDGTE(v string) predicate.CompatibilityResult

ProviderContractIDGTE applies the GTE predicate on the "provider_contract_id" field.

func ProviderContractIDHasPrefix

func ProviderContractIDHasPrefix(v string) predicate.CompatibilityResult

ProviderContractIDHasPrefix applies the HasPrefix predicate on the "provider_contract_id" field.

func ProviderContractIDHasSuffix

func ProviderContractIDHasSuffix(v string) predicate.CompatibilityResult

ProviderContractIDHasSuffix applies the HasSuffix predicate on the "provider_contract_id" field.

func ProviderContractIDIn

func ProviderContractIDIn(vs ...string) predicate.CompatibilityResult

ProviderContractIDIn applies the In predicate on the "provider_contract_id" field.

func ProviderContractIDLT

func ProviderContractIDLT(v string) predicate.CompatibilityResult

ProviderContractIDLT applies the LT predicate on the "provider_contract_id" field.

func ProviderContractIDLTE

func ProviderContractIDLTE(v string) predicate.CompatibilityResult

ProviderContractIDLTE applies the LTE predicate on the "provider_contract_id" field.

func ProviderContractIDNEQ

func ProviderContractIDNEQ(v string) predicate.CompatibilityResult

ProviderContractIDNEQ applies the NEQ predicate on the "provider_contract_id" field.

func ProviderContractIDNotIn

func ProviderContractIDNotIn(vs ...string) predicate.CompatibilityResult

ProviderContractIDNotIn applies the NotIn predicate on the "provider_contract_id" field.

func RequirementContractID

func RequirementContractID(v string) predicate.CompatibilityResult

RequirementContractID applies equality check predicate on the "requirement_contract_id" field. It's identical to RequirementContractIDEQ.

func RequirementContractIDContains

func RequirementContractIDContains(v string) predicate.CompatibilityResult

RequirementContractIDContains applies the Contains predicate on the "requirement_contract_id" field.

func RequirementContractIDContainsFold

func RequirementContractIDContainsFold(v string) predicate.CompatibilityResult

RequirementContractIDContainsFold applies the ContainsFold predicate on the "requirement_contract_id" field.

func RequirementContractIDEQ

func RequirementContractIDEQ(v string) predicate.CompatibilityResult

RequirementContractIDEQ applies the EQ predicate on the "requirement_contract_id" field.

func RequirementContractIDEqualFold

func RequirementContractIDEqualFold(v string) predicate.CompatibilityResult

RequirementContractIDEqualFold applies the EqualFold predicate on the "requirement_contract_id" field.

func RequirementContractIDGT

func RequirementContractIDGT(v string) predicate.CompatibilityResult

RequirementContractIDGT applies the GT predicate on the "requirement_contract_id" field.

func RequirementContractIDGTE

func RequirementContractIDGTE(v string) predicate.CompatibilityResult

RequirementContractIDGTE applies the GTE predicate on the "requirement_contract_id" field.

func RequirementContractIDHasPrefix

func RequirementContractIDHasPrefix(v string) predicate.CompatibilityResult

RequirementContractIDHasPrefix applies the HasPrefix predicate on the "requirement_contract_id" field.

func RequirementContractIDHasSuffix

func RequirementContractIDHasSuffix(v string) predicate.CompatibilityResult

RequirementContractIDHasSuffix applies the HasSuffix predicate on the "requirement_contract_id" field.

func RequirementContractIDIn

func RequirementContractIDIn(vs ...string) predicate.CompatibilityResult

RequirementContractIDIn applies the In predicate on the "requirement_contract_id" field.

func RequirementContractIDLT

func RequirementContractIDLT(v string) predicate.CompatibilityResult

RequirementContractIDLT applies the LT predicate on the "requirement_contract_id" field.

func RequirementContractIDLTE

func RequirementContractIDLTE(v string) predicate.CompatibilityResult

RequirementContractIDLTE applies the LTE predicate on the "requirement_contract_id" field.

func RequirementContractIDNEQ

func RequirementContractIDNEQ(v string) predicate.CompatibilityResult

RequirementContractIDNEQ applies the NEQ predicate on the "requirement_contract_id" field.

func RequirementContractIDNotIn

func RequirementContractIDNotIn(vs ...string) predicate.CompatibilityResult

RequirementContractIDNotIn applies the NotIn predicate on the "requirement_contract_id" field.

func Result

Result applies equality check predicate on the "result" field. It's identical to ResultEQ.

func ResultEQ

ResultEQ applies the EQ predicate on the "result" field.

func ResultNEQ

func ResultNEQ(v bool) predicate.CompatibilityResult

ResultNEQ applies the NEQ predicate on the "result" field.

func UpdatedAt

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.CompatibilityResult

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.CompatibilityResult

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.CompatibilityResult

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.CompatibilityResult

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.CompatibilityResult

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.CompatibilityResult

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.CompatibilityResult

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.CompatibilityResult

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

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 CompatibilityResult queries.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByID

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

ByID orders the results by the id field.

func ByProviderContractField

func ByProviderContractField(field string, opts ...sql.OrderTermOption) OrderOption

ByProviderContractField orders the results by provider_contract field.

func ByProviderContractID

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

ByProviderContractID orders the results by the provider_contract_id field.

func ByRequirementContractField

func ByRequirementContractField(field string, opts ...sql.OrderTermOption) OrderOption

ByRequirementContractField orders the results by requirement_contract field.

func ByRequirementContractID

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

ByRequirementContractID orders the results by the requirement_contract_id field.

func ByResult

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

ByResult orders the results by the result field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

Jump to

Keyboard shortcuts

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