reportdependencygraph

package
v1.12.21 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the reportdependencygraph type in the database.
	Label = "report_dependency_graph"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldFromPackageID holds the string denoting the from_package_id field in the database.
	FieldFromPackageID = "from_package_id"
	// FieldFromPackageName holds the string denoting the from_package_name field in the database.
	FieldFromPackageName = "from_package_name"
	// FieldFromPackageVersion holds the string denoting the from_package_version field in the database.
	FieldFromPackageVersion = "from_package_version"
	// FieldFromPackageEcosystem holds the string denoting the from_package_ecosystem field in the database.
	FieldFromPackageEcosystem = "from_package_ecosystem"
	// FieldToPackageID holds the string denoting the to_package_id field in the database.
	FieldToPackageID = "to_package_id"
	// FieldToPackageName holds the string denoting the to_package_name field in the database.
	FieldToPackageName = "to_package_name"
	// FieldToPackageVersion holds the string denoting the to_package_version field in the database.
	FieldToPackageVersion = "to_package_version"
	// FieldToPackageEcosystem holds the string denoting the to_package_ecosystem field in the database.
	FieldToPackageEcosystem = "to_package_ecosystem"
	// FieldDependencyType holds the string denoting the dependency_type field in the database.
	FieldDependencyType = "dependency_type"
	// FieldVersionConstraint holds the string denoting the version_constraint field in the database.
	FieldVersionConstraint = "version_constraint"
	// FieldDepth holds the string denoting the depth field in the database.
	FieldDepth = "depth"
	// FieldIsDirect holds the string denoting the is_direct field in the database.
	FieldIsDirect = "is_direct"
	// FieldIsRootEdge holds the string denoting the is_root_edge field in the database.
	FieldIsRootEdge = "is_root_edge"
	// FieldManifestID holds the string denoting the manifest_id field in the database.
	FieldManifestID = "manifest_id"
	// 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"
	// Table holds the table name of the reportdependencygraph in the database.
	Table = "report_dependency_graphs"
)

Variables

View Source
var (
	// FromPackageIDValidator is a validator for the "from_package_id" field. It is called by the builders before save.
	FromPackageIDValidator func(string) error
	// FromPackageNameValidator is a validator for the "from_package_name" field. It is called by the builders before save.
	FromPackageNameValidator func(string) error
	// FromPackageVersionValidator is a validator for the "from_package_version" field. It is called by the builders before save.
	FromPackageVersionValidator func(string) error
	// FromPackageEcosystemValidator is a validator for the "from_package_ecosystem" field. It is called by the builders before save.
	FromPackageEcosystemValidator func(string) error
	// ToPackageIDValidator is a validator for the "to_package_id" field. It is called by the builders before save.
	ToPackageIDValidator func(string) error
	// ToPackageNameValidator is a validator for the "to_package_name" field. It is called by the builders before save.
	ToPackageNameValidator func(string) error
	// ToPackageVersionValidator is a validator for the "to_package_version" field. It is called by the builders before save.
	ToPackageVersionValidator func(string) error
	// ToPackageEcosystemValidator is a validator for the "to_package_ecosystem" field. It is called by the builders before save.
	ToPackageEcosystemValidator func(string) error
	// DefaultDepth holds the default value on creation for the "depth" field.
	DefaultDepth int
	// DefaultIsDirect holds the default value on creation for the "is_direct" field.
	DefaultIsDirect bool
	// DefaultIsRootEdge holds the default value on creation for the "is_root_edge" field.
	DefaultIsRootEdge bool
	// ManifestIDValidator is a validator for the "manifest_id" field. It is called by the builders before save.
	ManifestIDValidator func(string) error
)

Columns holds all SQL columns for reportdependencygraph 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

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

func CreatedAtGT

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.ReportDependencyGraph

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

func CreatedAtIn

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

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

func CreatedAtIsNil

func CreatedAtIsNil() predicate.ReportDependencyGraph

CreatedAtIsNil applies the IsNil predicate on the "created_at" field.

func CreatedAtLT

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.ReportDependencyGraph

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.ReportDependencyGraph

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

func CreatedAtNotIn

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

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

func CreatedAtNotNil

func CreatedAtNotNil() predicate.ReportDependencyGraph

CreatedAtNotNil applies the NotNil predicate on the "created_at" field.

func DependencyType

func DependencyType(v string) predicate.ReportDependencyGraph

DependencyType applies equality check predicate on the "dependency_type" field. It's identical to DependencyTypeEQ.

func DependencyTypeContains

func DependencyTypeContains(v string) predicate.ReportDependencyGraph

DependencyTypeContains applies the Contains predicate on the "dependency_type" field.

func DependencyTypeContainsFold

func DependencyTypeContainsFold(v string) predicate.ReportDependencyGraph

DependencyTypeContainsFold applies the ContainsFold predicate on the "dependency_type" field.

func DependencyTypeEQ

func DependencyTypeEQ(v string) predicate.ReportDependencyGraph

DependencyTypeEQ applies the EQ predicate on the "dependency_type" field.

func DependencyTypeEqualFold

func DependencyTypeEqualFold(v string) predicate.ReportDependencyGraph

DependencyTypeEqualFold applies the EqualFold predicate on the "dependency_type" field.

func DependencyTypeGT

func DependencyTypeGT(v string) predicate.ReportDependencyGraph

DependencyTypeGT applies the GT predicate on the "dependency_type" field.

func DependencyTypeGTE

func DependencyTypeGTE(v string) predicate.ReportDependencyGraph

DependencyTypeGTE applies the GTE predicate on the "dependency_type" field.

func DependencyTypeHasPrefix

func DependencyTypeHasPrefix(v string) predicate.ReportDependencyGraph

DependencyTypeHasPrefix applies the HasPrefix predicate on the "dependency_type" field.

func DependencyTypeHasSuffix

func DependencyTypeHasSuffix(v string) predicate.ReportDependencyGraph

DependencyTypeHasSuffix applies the HasSuffix predicate on the "dependency_type" field.

func DependencyTypeIn

func DependencyTypeIn(vs ...string) predicate.ReportDependencyGraph

DependencyTypeIn applies the In predicate on the "dependency_type" field.

func DependencyTypeIsNil

func DependencyTypeIsNil() predicate.ReportDependencyGraph

DependencyTypeIsNil applies the IsNil predicate on the "dependency_type" field.

func DependencyTypeLT

func DependencyTypeLT(v string) predicate.ReportDependencyGraph

DependencyTypeLT applies the LT predicate on the "dependency_type" field.

func DependencyTypeLTE

func DependencyTypeLTE(v string) predicate.ReportDependencyGraph

DependencyTypeLTE applies the LTE predicate on the "dependency_type" field.

func DependencyTypeNEQ

func DependencyTypeNEQ(v string) predicate.ReportDependencyGraph

DependencyTypeNEQ applies the NEQ predicate on the "dependency_type" field.

func DependencyTypeNotIn

func DependencyTypeNotIn(vs ...string) predicate.ReportDependencyGraph

DependencyTypeNotIn applies the NotIn predicate on the "dependency_type" field.

func DependencyTypeNotNil

func DependencyTypeNotNil() predicate.ReportDependencyGraph

DependencyTypeNotNil applies the NotNil predicate on the "dependency_type" field.

func Depth

Depth applies equality check predicate on the "depth" field. It's identical to DepthEQ.

func DepthEQ

DepthEQ applies the EQ predicate on the "depth" field.

func DepthGT

DepthGT applies the GT predicate on the "depth" field.

func DepthGTE

DepthGTE applies the GTE predicate on the "depth" field.

func DepthIn

func DepthIn(vs ...int) predicate.ReportDependencyGraph

DepthIn applies the In predicate on the "depth" field.

func DepthLT

DepthLT applies the LT predicate on the "depth" field.

func DepthLTE

DepthLTE applies the LTE predicate on the "depth" field.

func DepthNEQ

DepthNEQ applies the NEQ predicate on the "depth" field.

func DepthNotIn

func DepthNotIn(vs ...int) predicate.ReportDependencyGraph

DepthNotIn applies the NotIn predicate on the "depth" field.

func FromPackageEcosystem

func FromPackageEcosystem(v string) predicate.ReportDependencyGraph

FromPackageEcosystem applies equality check predicate on the "from_package_ecosystem" field. It's identical to FromPackageEcosystemEQ.

func FromPackageEcosystemContains

func FromPackageEcosystemContains(v string) predicate.ReportDependencyGraph

FromPackageEcosystemContains applies the Contains predicate on the "from_package_ecosystem" field.

func FromPackageEcosystemContainsFold

func FromPackageEcosystemContainsFold(v string) predicate.ReportDependencyGraph

FromPackageEcosystemContainsFold applies the ContainsFold predicate on the "from_package_ecosystem" field.

func FromPackageEcosystemEQ

func FromPackageEcosystemEQ(v string) predicate.ReportDependencyGraph

FromPackageEcosystemEQ applies the EQ predicate on the "from_package_ecosystem" field.

func FromPackageEcosystemEqualFold

func FromPackageEcosystemEqualFold(v string) predicate.ReportDependencyGraph

FromPackageEcosystemEqualFold applies the EqualFold predicate on the "from_package_ecosystem" field.

func FromPackageEcosystemGT

func FromPackageEcosystemGT(v string) predicate.ReportDependencyGraph

FromPackageEcosystemGT applies the GT predicate on the "from_package_ecosystem" field.

func FromPackageEcosystemGTE

func FromPackageEcosystemGTE(v string) predicate.ReportDependencyGraph

FromPackageEcosystemGTE applies the GTE predicate on the "from_package_ecosystem" field.

func FromPackageEcosystemHasPrefix

func FromPackageEcosystemHasPrefix(v string) predicate.ReportDependencyGraph

FromPackageEcosystemHasPrefix applies the HasPrefix predicate on the "from_package_ecosystem" field.

func FromPackageEcosystemHasSuffix

func FromPackageEcosystemHasSuffix(v string) predicate.ReportDependencyGraph

FromPackageEcosystemHasSuffix applies the HasSuffix predicate on the "from_package_ecosystem" field.

func FromPackageEcosystemIn

func FromPackageEcosystemIn(vs ...string) predicate.ReportDependencyGraph

FromPackageEcosystemIn applies the In predicate on the "from_package_ecosystem" field.

func FromPackageEcosystemLT

func FromPackageEcosystemLT(v string) predicate.ReportDependencyGraph

FromPackageEcosystemLT applies the LT predicate on the "from_package_ecosystem" field.

func FromPackageEcosystemLTE

func FromPackageEcosystemLTE(v string) predicate.ReportDependencyGraph

FromPackageEcosystemLTE applies the LTE predicate on the "from_package_ecosystem" field.

func FromPackageEcosystemNEQ

func FromPackageEcosystemNEQ(v string) predicate.ReportDependencyGraph

FromPackageEcosystemNEQ applies the NEQ predicate on the "from_package_ecosystem" field.

func FromPackageEcosystemNotIn

func FromPackageEcosystemNotIn(vs ...string) predicate.ReportDependencyGraph

FromPackageEcosystemNotIn applies the NotIn predicate on the "from_package_ecosystem" field.

func FromPackageID

func FromPackageID(v string) predicate.ReportDependencyGraph

FromPackageID applies equality check predicate on the "from_package_id" field. It's identical to FromPackageIDEQ.

func FromPackageIDContains

func FromPackageIDContains(v string) predicate.ReportDependencyGraph

FromPackageIDContains applies the Contains predicate on the "from_package_id" field.

func FromPackageIDContainsFold

func FromPackageIDContainsFold(v string) predicate.ReportDependencyGraph

FromPackageIDContainsFold applies the ContainsFold predicate on the "from_package_id" field.

func FromPackageIDEQ

func FromPackageIDEQ(v string) predicate.ReportDependencyGraph

FromPackageIDEQ applies the EQ predicate on the "from_package_id" field.

func FromPackageIDEqualFold

func FromPackageIDEqualFold(v string) predicate.ReportDependencyGraph

FromPackageIDEqualFold applies the EqualFold predicate on the "from_package_id" field.

func FromPackageIDGT

func FromPackageIDGT(v string) predicate.ReportDependencyGraph

FromPackageIDGT applies the GT predicate on the "from_package_id" field.

func FromPackageIDGTE

func FromPackageIDGTE(v string) predicate.ReportDependencyGraph

FromPackageIDGTE applies the GTE predicate on the "from_package_id" field.

func FromPackageIDHasPrefix

func FromPackageIDHasPrefix(v string) predicate.ReportDependencyGraph

FromPackageIDHasPrefix applies the HasPrefix predicate on the "from_package_id" field.

func FromPackageIDHasSuffix

func FromPackageIDHasSuffix(v string) predicate.ReportDependencyGraph

FromPackageIDHasSuffix applies the HasSuffix predicate on the "from_package_id" field.

func FromPackageIDIn

func FromPackageIDIn(vs ...string) predicate.ReportDependencyGraph

FromPackageIDIn applies the In predicate on the "from_package_id" field.

func FromPackageIDLT

func FromPackageIDLT(v string) predicate.ReportDependencyGraph

FromPackageIDLT applies the LT predicate on the "from_package_id" field.

func FromPackageIDLTE

func FromPackageIDLTE(v string) predicate.ReportDependencyGraph

FromPackageIDLTE applies the LTE predicate on the "from_package_id" field.

func FromPackageIDNEQ

func FromPackageIDNEQ(v string) predicate.ReportDependencyGraph

FromPackageIDNEQ applies the NEQ predicate on the "from_package_id" field.

func FromPackageIDNotIn

func FromPackageIDNotIn(vs ...string) predicate.ReportDependencyGraph

FromPackageIDNotIn applies the NotIn predicate on the "from_package_id" field.

func FromPackageName

func FromPackageName(v string) predicate.ReportDependencyGraph

FromPackageName applies equality check predicate on the "from_package_name" field. It's identical to FromPackageNameEQ.

func FromPackageNameContains

func FromPackageNameContains(v string) predicate.ReportDependencyGraph

FromPackageNameContains applies the Contains predicate on the "from_package_name" field.

func FromPackageNameContainsFold

func FromPackageNameContainsFold(v string) predicate.ReportDependencyGraph

FromPackageNameContainsFold applies the ContainsFold predicate on the "from_package_name" field.

func FromPackageNameEQ

func FromPackageNameEQ(v string) predicate.ReportDependencyGraph

FromPackageNameEQ applies the EQ predicate on the "from_package_name" field.

func FromPackageNameEqualFold

func FromPackageNameEqualFold(v string) predicate.ReportDependencyGraph

FromPackageNameEqualFold applies the EqualFold predicate on the "from_package_name" field.

func FromPackageNameGT

func FromPackageNameGT(v string) predicate.ReportDependencyGraph

FromPackageNameGT applies the GT predicate on the "from_package_name" field.

func FromPackageNameGTE

func FromPackageNameGTE(v string) predicate.ReportDependencyGraph

FromPackageNameGTE applies the GTE predicate on the "from_package_name" field.

func FromPackageNameHasPrefix

func FromPackageNameHasPrefix(v string) predicate.ReportDependencyGraph

FromPackageNameHasPrefix applies the HasPrefix predicate on the "from_package_name" field.

func FromPackageNameHasSuffix

func FromPackageNameHasSuffix(v string) predicate.ReportDependencyGraph

FromPackageNameHasSuffix applies the HasSuffix predicate on the "from_package_name" field.

func FromPackageNameIn

func FromPackageNameIn(vs ...string) predicate.ReportDependencyGraph

FromPackageNameIn applies the In predicate on the "from_package_name" field.

func FromPackageNameLT

func FromPackageNameLT(v string) predicate.ReportDependencyGraph

FromPackageNameLT applies the LT predicate on the "from_package_name" field.

func FromPackageNameLTE

func FromPackageNameLTE(v string) predicate.ReportDependencyGraph

FromPackageNameLTE applies the LTE predicate on the "from_package_name" field.

func FromPackageNameNEQ

func FromPackageNameNEQ(v string) predicate.ReportDependencyGraph

FromPackageNameNEQ applies the NEQ predicate on the "from_package_name" field.

func FromPackageNameNotIn

func FromPackageNameNotIn(vs ...string) predicate.ReportDependencyGraph

FromPackageNameNotIn applies the NotIn predicate on the "from_package_name" field.

func FromPackageVersion

func FromPackageVersion(v string) predicate.ReportDependencyGraph

FromPackageVersion applies equality check predicate on the "from_package_version" field. It's identical to FromPackageVersionEQ.

func FromPackageVersionContains

func FromPackageVersionContains(v string) predicate.ReportDependencyGraph

FromPackageVersionContains applies the Contains predicate on the "from_package_version" field.

func FromPackageVersionContainsFold

func FromPackageVersionContainsFold(v string) predicate.ReportDependencyGraph

FromPackageVersionContainsFold applies the ContainsFold predicate on the "from_package_version" field.

func FromPackageVersionEQ

func FromPackageVersionEQ(v string) predicate.ReportDependencyGraph

FromPackageVersionEQ applies the EQ predicate on the "from_package_version" field.

func FromPackageVersionEqualFold

func FromPackageVersionEqualFold(v string) predicate.ReportDependencyGraph

FromPackageVersionEqualFold applies the EqualFold predicate on the "from_package_version" field.

func FromPackageVersionGT

func FromPackageVersionGT(v string) predicate.ReportDependencyGraph

FromPackageVersionGT applies the GT predicate on the "from_package_version" field.

func FromPackageVersionGTE

func FromPackageVersionGTE(v string) predicate.ReportDependencyGraph

FromPackageVersionGTE applies the GTE predicate on the "from_package_version" field.

func FromPackageVersionHasPrefix

func FromPackageVersionHasPrefix(v string) predicate.ReportDependencyGraph

FromPackageVersionHasPrefix applies the HasPrefix predicate on the "from_package_version" field.

func FromPackageVersionHasSuffix

func FromPackageVersionHasSuffix(v string) predicate.ReportDependencyGraph

FromPackageVersionHasSuffix applies the HasSuffix predicate on the "from_package_version" field.

func FromPackageVersionIn

func FromPackageVersionIn(vs ...string) predicate.ReportDependencyGraph

FromPackageVersionIn applies the In predicate on the "from_package_version" field.

func FromPackageVersionLT

func FromPackageVersionLT(v string) predicate.ReportDependencyGraph

FromPackageVersionLT applies the LT predicate on the "from_package_version" field.

func FromPackageVersionLTE

func FromPackageVersionLTE(v string) predicate.ReportDependencyGraph

FromPackageVersionLTE applies the LTE predicate on the "from_package_version" field.

func FromPackageVersionNEQ

func FromPackageVersionNEQ(v string) predicate.ReportDependencyGraph

FromPackageVersionNEQ applies the NEQ predicate on the "from_package_version" field.

func FromPackageVersionNotIn

func FromPackageVersionNotIn(vs ...string) predicate.ReportDependencyGraph

FromPackageVersionNotIn applies the NotIn predicate on the "from_package_version" field.

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

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

IDNotIn applies the NotIn predicate on the ID field.

func IsDirect

IsDirect applies equality check predicate on the "is_direct" field. It's identical to IsDirectEQ.

func IsDirectEQ

func IsDirectEQ(v bool) predicate.ReportDependencyGraph

IsDirectEQ applies the EQ predicate on the "is_direct" field.

func IsDirectNEQ

func IsDirectNEQ(v bool) predicate.ReportDependencyGraph

IsDirectNEQ applies the NEQ predicate on the "is_direct" field.

func IsRootEdge

func IsRootEdge(v bool) predicate.ReportDependencyGraph

IsRootEdge applies equality check predicate on the "is_root_edge" field. It's identical to IsRootEdgeEQ.

func IsRootEdgeEQ

func IsRootEdgeEQ(v bool) predicate.ReportDependencyGraph

IsRootEdgeEQ applies the EQ predicate on the "is_root_edge" field.

func IsRootEdgeNEQ

func IsRootEdgeNEQ(v bool) predicate.ReportDependencyGraph

IsRootEdgeNEQ applies the NEQ predicate on the "is_root_edge" field.

func ManifestID

ManifestID applies equality check predicate on the "manifest_id" field. It's identical to ManifestIDEQ.

func ManifestIDContains

func ManifestIDContains(v string) predicate.ReportDependencyGraph

ManifestIDContains applies the Contains predicate on the "manifest_id" field.

func ManifestIDContainsFold

func ManifestIDContainsFold(v string) predicate.ReportDependencyGraph

ManifestIDContainsFold applies the ContainsFold predicate on the "manifest_id" field.

func ManifestIDEQ

func ManifestIDEQ(v string) predicate.ReportDependencyGraph

ManifestIDEQ applies the EQ predicate on the "manifest_id" field.

func ManifestIDEqualFold

func ManifestIDEqualFold(v string) predicate.ReportDependencyGraph

ManifestIDEqualFold applies the EqualFold predicate on the "manifest_id" field.

func ManifestIDGT

func ManifestIDGT(v string) predicate.ReportDependencyGraph

ManifestIDGT applies the GT predicate on the "manifest_id" field.

func ManifestIDGTE

func ManifestIDGTE(v string) predicate.ReportDependencyGraph

ManifestIDGTE applies the GTE predicate on the "manifest_id" field.

func ManifestIDHasPrefix

func ManifestIDHasPrefix(v string) predicate.ReportDependencyGraph

ManifestIDHasPrefix applies the HasPrefix predicate on the "manifest_id" field.

func ManifestIDHasSuffix

func ManifestIDHasSuffix(v string) predicate.ReportDependencyGraph

ManifestIDHasSuffix applies the HasSuffix predicate on the "manifest_id" field.

func ManifestIDIn

func ManifestIDIn(vs ...string) predicate.ReportDependencyGraph

ManifestIDIn applies the In predicate on the "manifest_id" field.

func ManifestIDLT

func ManifestIDLT(v string) predicate.ReportDependencyGraph

ManifestIDLT applies the LT predicate on the "manifest_id" field.

func ManifestIDLTE

func ManifestIDLTE(v string) predicate.ReportDependencyGraph

ManifestIDLTE applies the LTE predicate on the "manifest_id" field.

func ManifestIDNEQ

func ManifestIDNEQ(v string) predicate.ReportDependencyGraph

ManifestIDNEQ applies the NEQ predicate on the "manifest_id" field.

func ManifestIDNotIn

func ManifestIDNotIn(vs ...string) predicate.ReportDependencyGraph

ManifestIDNotIn applies the NotIn predicate on the "manifest_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 ToPackageEcosystem

func ToPackageEcosystem(v string) predicate.ReportDependencyGraph

ToPackageEcosystem applies equality check predicate on the "to_package_ecosystem" field. It's identical to ToPackageEcosystemEQ.

func ToPackageEcosystemContains

func ToPackageEcosystemContains(v string) predicate.ReportDependencyGraph

ToPackageEcosystemContains applies the Contains predicate on the "to_package_ecosystem" field.

func ToPackageEcosystemContainsFold

func ToPackageEcosystemContainsFold(v string) predicate.ReportDependencyGraph

ToPackageEcosystemContainsFold applies the ContainsFold predicate on the "to_package_ecosystem" field.

func ToPackageEcosystemEQ

func ToPackageEcosystemEQ(v string) predicate.ReportDependencyGraph

ToPackageEcosystemEQ applies the EQ predicate on the "to_package_ecosystem" field.

func ToPackageEcosystemEqualFold

func ToPackageEcosystemEqualFold(v string) predicate.ReportDependencyGraph

ToPackageEcosystemEqualFold applies the EqualFold predicate on the "to_package_ecosystem" field.

func ToPackageEcosystemGT

func ToPackageEcosystemGT(v string) predicate.ReportDependencyGraph

ToPackageEcosystemGT applies the GT predicate on the "to_package_ecosystem" field.

func ToPackageEcosystemGTE

func ToPackageEcosystemGTE(v string) predicate.ReportDependencyGraph

ToPackageEcosystemGTE applies the GTE predicate on the "to_package_ecosystem" field.

func ToPackageEcosystemHasPrefix

func ToPackageEcosystemHasPrefix(v string) predicate.ReportDependencyGraph

ToPackageEcosystemHasPrefix applies the HasPrefix predicate on the "to_package_ecosystem" field.

func ToPackageEcosystemHasSuffix

func ToPackageEcosystemHasSuffix(v string) predicate.ReportDependencyGraph

ToPackageEcosystemHasSuffix applies the HasSuffix predicate on the "to_package_ecosystem" field.

func ToPackageEcosystemIn

func ToPackageEcosystemIn(vs ...string) predicate.ReportDependencyGraph

ToPackageEcosystemIn applies the In predicate on the "to_package_ecosystem" field.

func ToPackageEcosystemLT

func ToPackageEcosystemLT(v string) predicate.ReportDependencyGraph

ToPackageEcosystemLT applies the LT predicate on the "to_package_ecosystem" field.

func ToPackageEcosystemLTE

func ToPackageEcosystemLTE(v string) predicate.ReportDependencyGraph

ToPackageEcosystemLTE applies the LTE predicate on the "to_package_ecosystem" field.

func ToPackageEcosystemNEQ

func ToPackageEcosystemNEQ(v string) predicate.ReportDependencyGraph

ToPackageEcosystemNEQ applies the NEQ predicate on the "to_package_ecosystem" field.

func ToPackageEcosystemNotIn

func ToPackageEcosystemNotIn(vs ...string) predicate.ReportDependencyGraph

ToPackageEcosystemNotIn applies the NotIn predicate on the "to_package_ecosystem" field.

func ToPackageID

func ToPackageID(v string) predicate.ReportDependencyGraph

ToPackageID applies equality check predicate on the "to_package_id" field. It's identical to ToPackageIDEQ.

func ToPackageIDContains

func ToPackageIDContains(v string) predicate.ReportDependencyGraph

ToPackageIDContains applies the Contains predicate on the "to_package_id" field.

func ToPackageIDContainsFold

func ToPackageIDContainsFold(v string) predicate.ReportDependencyGraph

ToPackageIDContainsFold applies the ContainsFold predicate on the "to_package_id" field.

func ToPackageIDEQ

func ToPackageIDEQ(v string) predicate.ReportDependencyGraph

ToPackageIDEQ applies the EQ predicate on the "to_package_id" field.

func ToPackageIDEqualFold

func ToPackageIDEqualFold(v string) predicate.ReportDependencyGraph

ToPackageIDEqualFold applies the EqualFold predicate on the "to_package_id" field.

func ToPackageIDGT

func ToPackageIDGT(v string) predicate.ReportDependencyGraph

ToPackageIDGT applies the GT predicate on the "to_package_id" field.

func ToPackageIDGTE

func ToPackageIDGTE(v string) predicate.ReportDependencyGraph

ToPackageIDGTE applies the GTE predicate on the "to_package_id" field.

func ToPackageIDHasPrefix

func ToPackageIDHasPrefix(v string) predicate.ReportDependencyGraph

ToPackageIDHasPrefix applies the HasPrefix predicate on the "to_package_id" field.

func ToPackageIDHasSuffix

func ToPackageIDHasSuffix(v string) predicate.ReportDependencyGraph

ToPackageIDHasSuffix applies the HasSuffix predicate on the "to_package_id" field.

func ToPackageIDIn

func ToPackageIDIn(vs ...string) predicate.ReportDependencyGraph

ToPackageIDIn applies the In predicate on the "to_package_id" field.

func ToPackageIDLT

func ToPackageIDLT(v string) predicate.ReportDependencyGraph

ToPackageIDLT applies the LT predicate on the "to_package_id" field.

func ToPackageIDLTE

func ToPackageIDLTE(v string) predicate.ReportDependencyGraph

ToPackageIDLTE applies the LTE predicate on the "to_package_id" field.

func ToPackageIDNEQ

func ToPackageIDNEQ(v string) predicate.ReportDependencyGraph

ToPackageIDNEQ applies the NEQ predicate on the "to_package_id" field.

func ToPackageIDNotIn

func ToPackageIDNotIn(vs ...string) predicate.ReportDependencyGraph

ToPackageIDNotIn applies the NotIn predicate on the "to_package_id" field.

func ToPackageName

func ToPackageName(v string) predicate.ReportDependencyGraph

ToPackageName applies equality check predicate on the "to_package_name" field. It's identical to ToPackageNameEQ.

func ToPackageNameContains

func ToPackageNameContains(v string) predicate.ReportDependencyGraph

ToPackageNameContains applies the Contains predicate on the "to_package_name" field.

func ToPackageNameContainsFold

func ToPackageNameContainsFold(v string) predicate.ReportDependencyGraph

ToPackageNameContainsFold applies the ContainsFold predicate on the "to_package_name" field.

func ToPackageNameEQ

func ToPackageNameEQ(v string) predicate.ReportDependencyGraph

ToPackageNameEQ applies the EQ predicate on the "to_package_name" field.

func ToPackageNameEqualFold

func ToPackageNameEqualFold(v string) predicate.ReportDependencyGraph

ToPackageNameEqualFold applies the EqualFold predicate on the "to_package_name" field.

func ToPackageNameGT

func ToPackageNameGT(v string) predicate.ReportDependencyGraph

ToPackageNameGT applies the GT predicate on the "to_package_name" field.

func ToPackageNameGTE

func ToPackageNameGTE(v string) predicate.ReportDependencyGraph

ToPackageNameGTE applies the GTE predicate on the "to_package_name" field.

func ToPackageNameHasPrefix

func ToPackageNameHasPrefix(v string) predicate.ReportDependencyGraph

ToPackageNameHasPrefix applies the HasPrefix predicate on the "to_package_name" field.

func ToPackageNameHasSuffix

func ToPackageNameHasSuffix(v string) predicate.ReportDependencyGraph

ToPackageNameHasSuffix applies the HasSuffix predicate on the "to_package_name" field.

func ToPackageNameIn

func ToPackageNameIn(vs ...string) predicate.ReportDependencyGraph

ToPackageNameIn applies the In predicate on the "to_package_name" field.

func ToPackageNameLT

func ToPackageNameLT(v string) predicate.ReportDependencyGraph

ToPackageNameLT applies the LT predicate on the "to_package_name" field.

func ToPackageNameLTE

func ToPackageNameLTE(v string) predicate.ReportDependencyGraph

ToPackageNameLTE applies the LTE predicate on the "to_package_name" field.

func ToPackageNameNEQ

func ToPackageNameNEQ(v string) predicate.ReportDependencyGraph

ToPackageNameNEQ applies the NEQ predicate on the "to_package_name" field.

func ToPackageNameNotIn

func ToPackageNameNotIn(vs ...string) predicate.ReportDependencyGraph

ToPackageNameNotIn applies the NotIn predicate on the "to_package_name" field.

func ToPackageVersion

func ToPackageVersion(v string) predicate.ReportDependencyGraph

ToPackageVersion applies equality check predicate on the "to_package_version" field. It's identical to ToPackageVersionEQ.

func ToPackageVersionContains

func ToPackageVersionContains(v string) predicate.ReportDependencyGraph

ToPackageVersionContains applies the Contains predicate on the "to_package_version" field.

func ToPackageVersionContainsFold

func ToPackageVersionContainsFold(v string) predicate.ReportDependencyGraph

ToPackageVersionContainsFold applies the ContainsFold predicate on the "to_package_version" field.

func ToPackageVersionEQ

func ToPackageVersionEQ(v string) predicate.ReportDependencyGraph

ToPackageVersionEQ applies the EQ predicate on the "to_package_version" field.

func ToPackageVersionEqualFold

func ToPackageVersionEqualFold(v string) predicate.ReportDependencyGraph

ToPackageVersionEqualFold applies the EqualFold predicate on the "to_package_version" field.

func ToPackageVersionGT

func ToPackageVersionGT(v string) predicate.ReportDependencyGraph

ToPackageVersionGT applies the GT predicate on the "to_package_version" field.

func ToPackageVersionGTE

func ToPackageVersionGTE(v string) predicate.ReportDependencyGraph

ToPackageVersionGTE applies the GTE predicate on the "to_package_version" field.

func ToPackageVersionHasPrefix

func ToPackageVersionHasPrefix(v string) predicate.ReportDependencyGraph

ToPackageVersionHasPrefix applies the HasPrefix predicate on the "to_package_version" field.

func ToPackageVersionHasSuffix

func ToPackageVersionHasSuffix(v string) predicate.ReportDependencyGraph

ToPackageVersionHasSuffix applies the HasSuffix predicate on the "to_package_version" field.

func ToPackageVersionIn

func ToPackageVersionIn(vs ...string) predicate.ReportDependencyGraph

ToPackageVersionIn applies the In predicate on the "to_package_version" field.

func ToPackageVersionLT

func ToPackageVersionLT(v string) predicate.ReportDependencyGraph

ToPackageVersionLT applies the LT predicate on the "to_package_version" field.

func ToPackageVersionLTE

func ToPackageVersionLTE(v string) predicate.ReportDependencyGraph

ToPackageVersionLTE applies the LTE predicate on the "to_package_version" field.

func ToPackageVersionNEQ

func ToPackageVersionNEQ(v string) predicate.ReportDependencyGraph

ToPackageVersionNEQ applies the NEQ predicate on the "to_package_version" field.

func ToPackageVersionNotIn

func ToPackageVersionNotIn(vs ...string) predicate.ReportDependencyGraph

ToPackageVersionNotIn applies the NotIn predicate on the "to_package_version" field.

func UpdatedAt

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

func UpdatedAtEQ

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

func UpdatedAtGT

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.ReportDependencyGraph

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

func UpdatedAtIn

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

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

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.ReportDependencyGraph

UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.

func UpdatedAtLT

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.ReportDependencyGraph

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.ReportDependencyGraph

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

func UpdatedAtNotIn

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

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

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.ReportDependencyGraph

UpdatedAtNotNil applies the NotNil 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).

func VersionConstraint

func VersionConstraint(v string) predicate.ReportDependencyGraph

VersionConstraint applies equality check predicate on the "version_constraint" field. It's identical to VersionConstraintEQ.

func VersionConstraintContains

func VersionConstraintContains(v string) predicate.ReportDependencyGraph

VersionConstraintContains applies the Contains predicate on the "version_constraint" field.

func VersionConstraintContainsFold

func VersionConstraintContainsFold(v string) predicate.ReportDependencyGraph

VersionConstraintContainsFold applies the ContainsFold predicate on the "version_constraint" field.

func VersionConstraintEQ

func VersionConstraintEQ(v string) predicate.ReportDependencyGraph

VersionConstraintEQ applies the EQ predicate on the "version_constraint" field.

func VersionConstraintEqualFold

func VersionConstraintEqualFold(v string) predicate.ReportDependencyGraph

VersionConstraintEqualFold applies the EqualFold predicate on the "version_constraint" field.

func VersionConstraintGT

func VersionConstraintGT(v string) predicate.ReportDependencyGraph

VersionConstraintGT applies the GT predicate on the "version_constraint" field.

func VersionConstraintGTE

func VersionConstraintGTE(v string) predicate.ReportDependencyGraph

VersionConstraintGTE applies the GTE predicate on the "version_constraint" field.

func VersionConstraintHasPrefix

func VersionConstraintHasPrefix(v string) predicate.ReportDependencyGraph

VersionConstraintHasPrefix applies the HasPrefix predicate on the "version_constraint" field.

func VersionConstraintHasSuffix

func VersionConstraintHasSuffix(v string) predicate.ReportDependencyGraph

VersionConstraintHasSuffix applies the HasSuffix predicate on the "version_constraint" field.

func VersionConstraintIn

func VersionConstraintIn(vs ...string) predicate.ReportDependencyGraph

VersionConstraintIn applies the In predicate on the "version_constraint" field.

func VersionConstraintIsNil

func VersionConstraintIsNil() predicate.ReportDependencyGraph

VersionConstraintIsNil applies the IsNil predicate on the "version_constraint" field.

func VersionConstraintLT

func VersionConstraintLT(v string) predicate.ReportDependencyGraph

VersionConstraintLT applies the LT predicate on the "version_constraint" field.

func VersionConstraintLTE

func VersionConstraintLTE(v string) predicate.ReportDependencyGraph

VersionConstraintLTE applies the LTE predicate on the "version_constraint" field.

func VersionConstraintNEQ

func VersionConstraintNEQ(v string) predicate.ReportDependencyGraph

VersionConstraintNEQ applies the NEQ predicate on the "version_constraint" field.

func VersionConstraintNotIn

func VersionConstraintNotIn(vs ...string) predicate.ReportDependencyGraph

VersionConstraintNotIn applies the NotIn predicate on the "version_constraint" field.

func VersionConstraintNotNil

func VersionConstraintNotNil() predicate.ReportDependencyGraph

VersionConstraintNotNil applies the NotNil predicate on the "version_constraint" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the ReportDependencyGraph queries.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByDependencyType

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

ByDependencyType orders the results by the dependency_type field.

func ByDepth

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

ByDepth orders the results by the depth field.

func ByFromPackageEcosystem

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

ByFromPackageEcosystem orders the results by the from_package_ecosystem field.

func ByFromPackageID

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

ByFromPackageID orders the results by the from_package_id field.

func ByFromPackageName

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

ByFromPackageName orders the results by the from_package_name field.

func ByFromPackageVersion

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

ByFromPackageVersion orders the results by the from_package_version field.

func ByID

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

ByID orders the results by the id field.

func ByIsDirect

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

ByIsDirect orders the results by the is_direct field.

func ByIsRootEdge

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

ByIsRootEdge orders the results by the is_root_edge field.

func ByManifestID

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

ByManifestID orders the results by the manifest_id field.

func ByToPackageEcosystem

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

ByToPackageEcosystem orders the results by the to_package_ecosystem field.

func ByToPackageID

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

ByToPackageID orders the results by the to_package_id field.

func ByToPackageName

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

ByToPackageName orders the results by the to_package_name field.

func ByToPackageVersion

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

ByToPackageVersion orders the results by the to_package_version field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByVersionConstraint

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

ByVersionConstraint orders the results by the version_constraint field.

Jump to

Keyboard shortcuts

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