Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.CompatibilityResult) predicate.CompatibilityResult
- func CreatedAt(v time.Time) predicate.CompatibilityResult
- func CreatedAtEQ(v time.Time) predicate.CompatibilityResult
- func CreatedAtGT(v time.Time) predicate.CompatibilityResult
- func CreatedAtGTE(v time.Time) predicate.CompatibilityResult
- func CreatedAtIn(vs ...time.Time) predicate.CompatibilityResult
- func CreatedAtLT(v time.Time) predicate.CompatibilityResult
- func CreatedAtLTE(v time.Time) predicate.CompatibilityResult
- func CreatedAtNEQ(v time.Time) predicate.CompatibilityResult
- func CreatedAtNotIn(vs ...time.Time) predicate.CompatibilityResult
- func HasProviderContract() predicate.CompatibilityResult
- func HasProviderContractWith(preds ...predicate.RegisteredContract) predicate.CompatibilityResult
- func HasRequirementContract() predicate.CompatibilityResult
- func HasRequirementContractWith(preds ...predicate.RegisteredContract) predicate.CompatibilityResult
- func ID(id int) predicate.CompatibilityResult
- func IDEQ(id int) predicate.CompatibilityResult
- func IDGT(id int) predicate.CompatibilityResult
- func IDGTE(id int) predicate.CompatibilityResult
- func IDIn(ids ...int) predicate.CompatibilityResult
- func IDLT(id int) predicate.CompatibilityResult
- func IDLTE(id int) predicate.CompatibilityResult
- func IDNEQ(id int) predicate.CompatibilityResult
- func IDNotIn(ids ...int) predicate.CompatibilityResult
- func MappingIsNil() predicate.CompatibilityResult
- func MappingNotNil() predicate.CompatibilityResult
- func Not(p predicate.CompatibilityResult) predicate.CompatibilityResult
- func Or(predicates ...predicate.CompatibilityResult) predicate.CompatibilityResult
- func ProviderContractID(v string) predicate.CompatibilityResult
- func ProviderContractIDContains(v string) predicate.CompatibilityResult
- func ProviderContractIDContainsFold(v string) predicate.CompatibilityResult
- func ProviderContractIDEQ(v string) predicate.CompatibilityResult
- func ProviderContractIDEqualFold(v string) predicate.CompatibilityResult
- func ProviderContractIDGT(v string) predicate.CompatibilityResult
- func ProviderContractIDGTE(v string) predicate.CompatibilityResult
- func ProviderContractIDHasPrefix(v string) predicate.CompatibilityResult
- func ProviderContractIDHasSuffix(v string) predicate.CompatibilityResult
- func ProviderContractIDIn(vs ...string) predicate.CompatibilityResult
- func ProviderContractIDLT(v string) predicate.CompatibilityResult
- func ProviderContractIDLTE(v string) predicate.CompatibilityResult
- func ProviderContractIDNEQ(v string) predicate.CompatibilityResult
- func ProviderContractIDNotIn(vs ...string) predicate.CompatibilityResult
- func RequirementContractID(v string) predicate.CompatibilityResult
- func RequirementContractIDContains(v string) predicate.CompatibilityResult
- func RequirementContractIDContainsFold(v string) predicate.CompatibilityResult
- func RequirementContractIDEQ(v string) predicate.CompatibilityResult
- func RequirementContractIDEqualFold(v string) predicate.CompatibilityResult
- func RequirementContractIDGT(v string) predicate.CompatibilityResult
- func RequirementContractIDGTE(v string) predicate.CompatibilityResult
- func RequirementContractIDHasPrefix(v string) predicate.CompatibilityResult
- func RequirementContractIDHasSuffix(v string) predicate.CompatibilityResult
- func RequirementContractIDIn(vs ...string) predicate.CompatibilityResult
- func RequirementContractIDLT(v string) predicate.CompatibilityResult
- func RequirementContractIDLTE(v string) predicate.CompatibilityResult
- func RequirementContractIDNEQ(v string) predicate.CompatibilityResult
- func RequirementContractIDNotIn(vs ...string) predicate.CompatibilityResult
- func Result(v bool) predicate.CompatibilityResult
- func ResultEQ(v bool) predicate.CompatibilityResult
- func ResultNEQ(v bool) predicate.CompatibilityResult
- func UpdatedAt(v time.Time) predicate.CompatibilityResult
- func UpdatedAtEQ(v time.Time) predicate.CompatibilityResult
- func UpdatedAtGT(v time.Time) predicate.CompatibilityResult
- func UpdatedAtGTE(v time.Time) predicate.CompatibilityResult
- func UpdatedAtIn(vs ...time.Time) predicate.CompatibilityResult
- func UpdatedAtLT(v time.Time) predicate.CompatibilityResult
- func UpdatedAtLTE(v time.Time) predicate.CompatibilityResult
- func UpdatedAtNEQ(v time.Time) predicate.CompatibilityResult
- func UpdatedAtNotIn(vs ...time.Time) predicate.CompatibilityResult
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByProviderContractField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByProviderContractID(opts ...sql.OrderTermOption) OrderOption
- func ByRequirementContractField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByRequirementContractID(opts ...sql.OrderTermOption) OrderOption
- func ByResult(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
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 ¶
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 )
var Columns = []string{ FieldID, FieldRequirementContractID, FieldProviderContractID, FieldResult, FieldMapping, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for compatibilityresult fields.
Functions ¶
func And ¶
func And(predicates ...predicate.CompatibilityResult) predicate.CompatibilityResult
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.CompatibilityResult
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 ¶
func ID(id int) predicate.CompatibilityResult
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id int) predicate.CompatibilityResult
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.CompatibilityResult
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.CompatibilityResult
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 ¶
func IDLT(id int) predicate.CompatibilityResult
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.CompatibilityResult
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.CompatibilityResult
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 ¶
func Not(p predicate.CompatibilityResult) predicate.CompatibilityResult
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.CompatibilityResult) predicate.CompatibilityResult
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 ¶
func Result(v bool) predicate.CompatibilityResult
Result applies equality check predicate on the "result" field. It's identical to ResultEQ.
func ResultEQ ¶
func ResultEQ(v bool) predicate.CompatibilityResult
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 ¶
func UpdatedAt(v time.Time) predicate.CompatibilityResult
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 ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
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.