standard

package
v1.11.2 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the standard type in the database.
	Label = "standard"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "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"
	// FieldCreatedBy holds the string denoting the created_by field in the database.
	FieldCreatedBy = "created_by"
	// FieldUpdatedBy holds the string denoting the updated_by field in the database.
	FieldUpdatedBy = "updated_by"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_at"
	// FieldDeletedBy holds the string denoting the deleted_by field in the database.
	FieldDeletedBy = "deleted_by"
	// FieldTags holds the string denoting the tags field in the database.
	FieldTags = "tags"
	// FieldRevision holds the string denoting the revision field in the database.
	FieldRevision = "revision"
	// FieldOwnerID holds the string denoting the owner_id field in the database.
	FieldOwnerID = "owner_id"
	// FieldSystemOwned holds the string denoting the system_owned field in the database.
	FieldSystemOwned = "system_owned"
	// FieldInternalNotes holds the string denoting the internal_notes field in the database.
	FieldInternalNotes = "internal_notes"
	// FieldSystemInternalID holds the string denoting the system_internal_id field in the database.
	FieldSystemInternalID = "system_internal_id"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldShortName holds the string denoting the short_name field in the database.
	FieldShortName = "short_name"
	// FieldFramework holds the string denoting the framework field in the database.
	FieldFramework = "framework"
	// FieldDescription holds the string denoting the description field in the database.
	FieldDescription = "description"
	// FieldGoverningBodyLogoURL holds the string denoting the governing_body_logo_url field in the database.
	FieldGoverningBodyLogoURL = "governing_body_logo_url"
	// FieldGoverningBody holds the string denoting the governing_body field in the database.
	FieldGoverningBody = "governing_body"
	// FieldDomains holds the string denoting the domains field in the database.
	FieldDomains = "domains"
	// FieldLink holds the string denoting the link field in the database.
	FieldLink = "link"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldIsPublic holds the string denoting the is_public field in the database.
	FieldIsPublic = "is_public"
	// FieldFreeToUse holds the string denoting the free_to_use field in the database.
	FieldFreeToUse = "free_to_use"
	// FieldStandardType holds the string denoting the standard_type field in the database.
	FieldStandardType = "standard_type"
	// FieldVersion holds the string denoting the version field in the database.
	FieldVersion = "version"
	// FieldLogoFileID holds the string denoting the logo_file_id field in the database.
	FieldLogoFileID = "logo_file_id"
	// EdgeOwner holds the string denoting the owner edge name in mutations.
	EdgeOwner = "owner"
	// EdgeControls holds the string denoting the controls edge name in mutations.
	EdgeControls = "controls"
	// EdgeTrustCenterCompliances holds the string denoting the trust_center_compliances edge name in mutations.
	EdgeTrustCenterCompliances = "trust_center_compliances"
	// EdgeTrustCenterDocs holds the string denoting the trust_center_docs edge name in mutations.
	EdgeTrustCenterDocs = "trust_center_docs"
	// EdgeApplicablePlatforms holds the string denoting the applicable_platforms edge name in mutations.
	EdgeApplicablePlatforms = "applicable_platforms"
	// EdgeLogoFile holds the string denoting the logo_file edge name in mutations.
	EdgeLogoFile = "logo_file"
	// Table holds the table name of the standard in the database.
	Table = "standards"
	// OwnerTable is the table that holds the owner relation/edge.
	OwnerTable = "standards"
	// OwnerInverseTable is the table name for the Organization entity.
	// It exists in this package in order to avoid circular dependency with the "organization" package.
	OwnerInverseTable = "organizations"
	// OwnerColumn is the table column denoting the owner relation/edge.
	OwnerColumn = "owner_id"
	// ControlsTable is the table that holds the controls relation/edge.
	ControlsTable = "controls"
	// ControlsInverseTable is the table name for the Control entity.
	// It exists in this package in order to avoid circular dependency with the "control" package.
	ControlsInverseTable = "controls"
	// ControlsColumn is the table column denoting the controls relation/edge.
	ControlsColumn = "standard_id"
	// TrustCenterCompliancesTable is the table that holds the trust_center_compliances relation/edge.
	TrustCenterCompliancesTable = "trust_center_compliances"
	// TrustCenterCompliancesInverseTable is the table name for the TrustCenterCompliance entity.
	// It exists in this package in order to avoid circular dependency with the "trustcentercompliance" package.
	TrustCenterCompliancesInverseTable = "trust_center_compliances"
	// TrustCenterCompliancesColumn is the table column denoting the trust_center_compliances relation/edge.
	TrustCenterCompliancesColumn = "standard_id"
	// TrustCenterDocsTable is the table that holds the trust_center_docs relation/edge.
	TrustCenterDocsTable = "trust_center_docs"
	// TrustCenterDocsInverseTable is the table name for the TrustCenterDoc entity.
	// It exists in this package in order to avoid circular dependency with the "trustcenterdoc" package.
	TrustCenterDocsInverseTable = "trust_center_docs"
	// TrustCenterDocsColumn is the table column denoting the trust_center_docs relation/edge.
	TrustCenterDocsColumn = "standard_id"
	// ApplicablePlatformsTable is the table that holds the applicable_platforms relation/edge. The primary key declared below.
	ApplicablePlatformsTable = "platform_applicable_frameworks"
	// ApplicablePlatformsInverseTable is the table name for the Platform entity.
	// It exists in this package in order to avoid circular dependency with the "platform" package.
	ApplicablePlatformsInverseTable = "platforms"
	// LogoFileTable is the table that holds the logo_file relation/edge.
	LogoFileTable = "standards"
	// LogoFileInverseTable is the table name for the File entity.
	// It exists in this package in order to avoid circular dependency with the "file" package.
	LogoFileInverseTable = "files"
	// LogoFileColumn is the table column denoting the logo_file relation/edge.
	LogoFileColumn = "logo_file_id"
)
View Source
const DefaultStatus enums.StandardStatus = "ACTIVE"

Variables

View Source
var (
	Hooks        [12]ent.Hook
	Interceptors [3]ent.Interceptor
	Policy       ent.Policy
	// 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
	// DefaultTags holds the default value on creation for the "tags" field.
	DefaultTags []string
	// DefaultRevision holds the default value on creation for the "revision" field.
	DefaultRevision string
	// RevisionValidator is a validator for the "revision" field. It is called by the builders before save.
	RevisionValidator func(string) error
	// DefaultSystemOwned holds the default value on creation for the "system_owned" field.
	DefaultSystemOwned bool
	// NameValidator is a validator for the "name" field. It is called by the builders before save.
	NameValidator func(string) error
	// GoverningBodyLogoURLValidator is a validator for the "governing_body_logo_url" field. It is called by the builders before save.
	GoverningBodyLogoURLValidator func(string) error
	// LinkValidator is a validator for the "link" field. It is called by the builders before save.
	LinkValidator func(string) error
	// DefaultIsPublic holds the default value on creation for the "is_public" field.
	DefaultIsPublic bool
	// DefaultFreeToUse holds the default value on creation for the "free_to_use" field.
	DefaultFreeToUse bool
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() string
)

Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:

import _ "github.com/theopenlane/core/internal/ent/generated/runtime"
View Source
var (
	// ApplicablePlatformsPrimaryKey and ApplicablePlatformsColumn2 are the table columns denoting the
	// primary key for the applicable_platforms relation (M2M).
	ApplicablePlatformsPrimaryKey = []string{"platform_id", "standard_id"}
)

Columns holds all SQL columns for standard fields.

Functions

func And

func And(predicates ...predicate.Standard) predicate.Standard

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.Standard

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Standard

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Standard

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Standard

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

func CreatedAtIn

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

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

func CreatedAtIsNil

func CreatedAtIsNil() predicate.Standard

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Standard

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Standard

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Standard

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

func CreatedAtNotIn

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

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

func CreatedAtNotNil

func CreatedAtNotNil() predicate.Standard

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

func CreatedBy

func CreatedBy(v string) predicate.Standard

CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.

func CreatedByContains

func CreatedByContains(v string) predicate.Standard

CreatedByContains applies the Contains predicate on the "created_by" field.

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.Standard

CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.

func CreatedByEQ

func CreatedByEQ(v string) predicate.Standard

CreatedByEQ applies the EQ predicate on the "created_by" field.

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.Standard

CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.

func CreatedByGT

func CreatedByGT(v string) predicate.Standard

CreatedByGT applies the GT predicate on the "created_by" field.

func CreatedByGTE

func CreatedByGTE(v string) predicate.Standard

CreatedByGTE applies the GTE predicate on the "created_by" field.

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.Standard

CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.Standard

CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.

func CreatedByIn

func CreatedByIn(vs ...string) predicate.Standard

CreatedByIn applies the In predicate on the "created_by" field.

func CreatedByIsNil

func CreatedByIsNil() predicate.Standard

CreatedByIsNil applies the IsNil predicate on the "created_by" field.

func CreatedByLT

func CreatedByLT(v string) predicate.Standard

CreatedByLT applies the LT predicate on the "created_by" field.

func CreatedByLTE

func CreatedByLTE(v string) predicate.Standard

CreatedByLTE applies the LTE predicate on the "created_by" field.

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.Standard

CreatedByNEQ applies the NEQ predicate on the "created_by" field.

func CreatedByNotIn

func CreatedByNotIn(vs ...string) predicate.Standard

CreatedByNotIn applies the NotIn predicate on the "created_by" field.

func CreatedByNotNil

func CreatedByNotNil() predicate.Standard

CreatedByNotNil applies the NotNil predicate on the "created_by" field.

func DeletedAt

func DeletedAt(v time.Time) predicate.Standard

DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.Standard

DeletedAtEQ applies the EQ predicate on the "deleted_at" field.

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.Standard

DeletedAtGT applies the GT predicate on the "deleted_at" field.

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.Standard

DeletedAtGTE applies the GTE predicate on the "deleted_at" field.

func DeletedAtIn

func DeletedAtIn(vs ...time.Time) predicate.Standard

DeletedAtIn applies the In predicate on the "deleted_at" field.

func DeletedAtIsNil

func DeletedAtIsNil() predicate.Standard

DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.Standard

DeletedAtLT applies the LT predicate on the "deleted_at" field.

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.Standard

DeletedAtLTE applies the LTE predicate on the "deleted_at" field.

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.Standard

DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.

func DeletedAtNotIn

func DeletedAtNotIn(vs ...time.Time) predicate.Standard

DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.

func DeletedAtNotNil

func DeletedAtNotNil() predicate.Standard

DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.

func DeletedBy

func DeletedBy(v string) predicate.Standard

DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.

func DeletedByContains

func DeletedByContains(v string) predicate.Standard

DeletedByContains applies the Contains predicate on the "deleted_by" field.

func DeletedByContainsFold

func DeletedByContainsFold(v string) predicate.Standard

DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.

func DeletedByEQ

func DeletedByEQ(v string) predicate.Standard

DeletedByEQ applies the EQ predicate on the "deleted_by" field.

func DeletedByEqualFold

func DeletedByEqualFold(v string) predicate.Standard

DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.

func DeletedByGT

func DeletedByGT(v string) predicate.Standard

DeletedByGT applies the GT predicate on the "deleted_by" field.

func DeletedByGTE

func DeletedByGTE(v string) predicate.Standard

DeletedByGTE applies the GTE predicate on the "deleted_by" field.

func DeletedByHasPrefix

func DeletedByHasPrefix(v string) predicate.Standard

DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.

func DeletedByHasSuffix

func DeletedByHasSuffix(v string) predicate.Standard

DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.

func DeletedByIn

func DeletedByIn(vs ...string) predicate.Standard

DeletedByIn applies the In predicate on the "deleted_by" field.

func DeletedByIsNil

func DeletedByIsNil() predicate.Standard

DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.

func DeletedByLT

func DeletedByLT(v string) predicate.Standard

DeletedByLT applies the LT predicate on the "deleted_by" field.

func DeletedByLTE

func DeletedByLTE(v string) predicate.Standard

DeletedByLTE applies the LTE predicate on the "deleted_by" field.

func DeletedByNEQ

func DeletedByNEQ(v string) predicate.Standard

DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.

func DeletedByNotIn

func DeletedByNotIn(vs ...string) predicate.Standard

DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.

func DeletedByNotNil

func DeletedByNotNil() predicate.Standard

DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.

func Description

func Description(v string) predicate.Standard

Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.

func DescriptionContains

func DescriptionContains(v string) predicate.Standard

DescriptionContains applies the Contains predicate on the "description" field.

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.Standard

DescriptionContainsFold applies the ContainsFold predicate on the "description" field.

func DescriptionEQ

func DescriptionEQ(v string) predicate.Standard

DescriptionEQ applies the EQ predicate on the "description" field.

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.Standard

DescriptionEqualFold applies the EqualFold predicate on the "description" field.

func DescriptionGT

func DescriptionGT(v string) predicate.Standard

DescriptionGT applies the GT predicate on the "description" field.

func DescriptionGTE

func DescriptionGTE(v string) predicate.Standard

DescriptionGTE applies the GTE predicate on the "description" field.

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.Standard

DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.Standard

DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.

func DescriptionIn

func DescriptionIn(vs ...string) predicate.Standard

DescriptionIn applies the In predicate on the "description" field.

func DescriptionIsNil

func DescriptionIsNil() predicate.Standard

DescriptionIsNil applies the IsNil predicate on the "description" field.

func DescriptionLT

func DescriptionLT(v string) predicate.Standard

DescriptionLT applies the LT predicate on the "description" field.

func DescriptionLTE

func DescriptionLTE(v string) predicate.Standard

DescriptionLTE applies the LTE predicate on the "description" field.

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.Standard

DescriptionNEQ applies the NEQ predicate on the "description" field.

func DescriptionNotIn

func DescriptionNotIn(vs ...string) predicate.Standard

DescriptionNotIn applies the NotIn predicate on the "description" field.

func DescriptionNotNil

func DescriptionNotNil() predicate.Standard

DescriptionNotNil applies the NotNil predicate on the "description" field.

func DomainsIsNil added in v0.7.3

func DomainsIsNil() predicate.Standard

DomainsIsNil applies the IsNil predicate on the "domains" field.

func DomainsNotNil added in v0.7.3

func DomainsNotNil() predicate.Standard

DomainsNotNil applies the NotNil predicate on the "domains" field.

func Framework added in v0.7.3

func Framework(v string) predicate.Standard

Framework applies equality check predicate on the "framework" field. It's identical to FrameworkEQ.

func FrameworkContains added in v0.7.3

func FrameworkContains(v string) predicate.Standard

FrameworkContains applies the Contains predicate on the "framework" field.

func FrameworkContainsFold added in v0.7.3

func FrameworkContainsFold(v string) predicate.Standard

FrameworkContainsFold applies the ContainsFold predicate on the "framework" field.

func FrameworkEQ added in v0.7.3

func FrameworkEQ(v string) predicate.Standard

FrameworkEQ applies the EQ predicate on the "framework" field.

func FrameworkEqualFold added in v0.7.3

func FrameworkEqualFold(v string) predicate.Standard

FrameworkEqualFold applies the EqualFold predicate on the "framework" field.

func FrameworkGT added in v0.7.3

func FrameworkGT(v string) predicate.Standard

FrameworkGT applies the GT predicate on the "framework" field.

func FrameworkGTE added in v0.7.3

func FrameworkGTE(v string) predicate.Standard

FrameworkGTE applies the GTE predicate on the "framework" field.

func FrameworkHasPrefix added in v0.7.3

func FrameworkHasPrefix(v string) predicate.Standard

FrameworkHasPrefix applies the HasPrefix predicate on the "framework" field.

func FrameworkHasSuffix added in v0.7.3

func FrameworkHasSuffix(v string) predicate.Standard

FrameworkHasSuffix applies the HasSuffix predicate on the "framework" field.

func FrameworkIn added in v0.7.3

func FrameworkIn(vs ...string) predicate.Standard

FrameworkIn applies the In predicate on the "framework" field.

func FrameworkIsNil added in v0.7.3

func FrameworkIsNil() predicate.Standard

FrameworkIsNil applies the IsNil predicate on the "framework" field.

func FrameworkLT added in v0.7.3

func FrameworkLT(v string) predicate.Standard

FrameworkLT applies the LT predicate on the "framework" field.

func FrameworkLTE added in v0.7.3

func FrameworkLTE(v string) predicate.Standard

FrameworkLTE applies the LTE predicate on the "framework" field.

func FrameworkNEQ added in v0.7.3

func FrameworkNEQ(v string) predicate.Standard

FrameworkNEQ applies the NEQ predicate on the "framework" field.

func FrameworkNotIn added in v0.7.3

func FrameworkNotIn(vs ...string) predicate.Standard

FrameworkNotIn applies the NotIn predicate on the "framework" field.

func FrameworkNotNil added in v0.7.3

func FrameworkNotNil() predicate.Standard

FrameworkNotNil applies the NotNil predicate on the "framework" field.

func FreeToUse added in v0.7.3

func FreeToUse(v bool) predicate.Standard

FreeToUse applies equality check predicate on the "free_to_use" field. It's identical to FreeToUseEQ.

func FreeToUseEQ added in v0.7.3

func FreeToUseEQ(v bool) predicate.Standard

FreeToUseEQ applies the EQ predicate on the "free_to_use" field.

func FreeToUseIsNil added in v0.7.3

func FreeToUseIsNil() predicate.Standard

FreeToUseIsNil applies the IsNil predicate on the "free_to_use" field.

func FreeToUseNEQ added in v0.7.3

func FreeToUseNEQ(v bool) predicate.Standard

FreeToUseNEQ applies the NEQ predicate on the "free_to_use" field.

func FreeToUseNotNil added in v0.7.3

func FreeToUseNotNil() predicate.Standard

FreeToUseNotNil applies the NotNil predicate on the "free_to_use" field.

func GoverningBody added in v0.7.3

func GoverningBody(v string) predicate.Standard

GoverningBody applies equality check predicate on the "governing_body" field. It's identical to GoverningBodyEQ.

func GoverningBodyContains added in v0.7.3

func GoverningBodyContains(v string) predicate.Standard

GoverningBodyContains applies the Contains predicate on the "governing_body" field.

func GoverningBodyContainsFold added in v0.7.3

func GoverningBodyContainsFold(v string) predicate.Standard

GoverningBodyContainsFold applies the ContainsFold predicate on the "governing_body" field.

func GoverningBodyEQ added in v0.7.3

func GoverningBodyEQ(v string) predicate.Standard

GoverningBodyEQ applies the EQ predicate on the "governing_body" field.

func GoverningBodyEqualFold added in v0.7.3

func GoverningBodyEqualFold(v string) predicate.Standard

GoverningBodyEqualFold applies the EqualFold predicate on the "governing_body" field.

func GoverningBodyGT added in v0.7.3

func GoverningBodyGT(v string) predicate.Standard

GoverningBodyGT applies the GT predicate on the "governing_body" field.

func GoverningBodyGTE added in v0.7.3

func GoverningBodyGTE(v string) predicate.Standard

GoverningBodyGTE applies the GTE predicate on the "governing_body" field.

func GoverningBodyHasPrefix added in v0.7.3

func GoverningBodyHasPrefix(v string) predicate.Standard

GoverningBodyHasPrefix applies the HasPrefix predicate on the "governing_body" field.

func GoverningBodyHasSuffix added in v0.7.3

func GoverningBodyHasSuffix(v string) predicate.Standard

GoverningBodyHasSuffix applies the HasSuffix predicate on the "governing_body" field.

func GoverningBodyIn added in v0.7.3

func GoverningBodyIn(vs ...string) predicate.Standard

GoverningBodyIn applies the In predicate on the "governing_body" field.

func GoverningBodyIsNil added in v0.7.3

func GoverningBodyIsNil() predicate.Standard

GoverningBodyIsNil applies the IsNil predicate on the "governing_body" field.

func GoverningBodyLT added in v0.7.3

func GoverningBodyLT(v string) predicate.Standard

GoverningBodyLT applies the LT predicate on the "governing_body" field.

func GoverningBodyLTE added in v0.7.3

func GoverningBodyLTE(v string) predicate.Standard

GoverningBodyLTE applies the LTE predicate on the "governing_body" field.

func GoverningBodyLogoURL added in v0.7.5

func GoverningBodyLogoURL(v string) predicate.Standard

GoverningBodyLogoURL applies equality check predicate on the "governing_body_logo_url" field. It's identical to GoverningBodyLogoURLEQ.

func GoverningBodyLogoURLContains added in v0.7.5

func GoverningBodyLogoURLContains(v string) predicate.Standard

GoverningBodyLogoURLContains applies the Contains predicate on the "governing_body_logo_url" field.

func GoverningBodyLogoURLContainsFold added in v0.7.5

func GoverningBodyLogoURLContainsFold(v string) predicate.Standard

GoverningBodyLogoURLContainsFold applies the ContainsFold predicate on the "governing_body_logo_url" field.

func GoverningBodyLogoURLEQ added in v0.7.5

func GoverningBodyLogoURLEQ(v string) predicate.Standard

GoverningBodyLogoURLEQ applies the EQ predicate on the "governing_body_logo_url" field.

func GoverningBodyLogoURLEqualFold added in v0.7.5

func GoverningBodyLogoURLEqualFold(v string) predicate.Standard

GoverningBodyLogoURLEqualFold applies the EqualFold predicate on the "governing_body_logo_url" field.

func GoverningBodyLogoURLGT added in v0.7.5

func GoverningBodyLogoURLGT(v string) predicate.Standard

GoverningBodyLogoURLGT applies the GT predicate on the "governing_body_logo_url" field.

func GoverningBodyLogoURLGTE added in v0.7.5

func GoverningBodyLogoURLGTE(v string) predicate.Standard

GoverningBodyLogoURLGTE applies the GTE predicate on the "governing_body_logo_url" field.

func GoverningBodyLogoURLHasPrefix added in v0.7.5

func GoverningBodyLogoURLHasPrefix(v string) predicate.Standard

GoverningBodyLogoURLHasPrefix applies the HasPrefix predicate on the "governing_body_logo_url" field.

func GoverningBodyLogoURLHasSuffix added in v0.7.5

func GoverningBodyLogoURLHasSuffix(v string) predicate.Standard

GoverningBodyLogoURLHasSuffix applies the HasSuffix predicate on the "governing_body_logo_url" field.

func GoverningBodyLogoURLIn added in v0.7.5

func GoverningBodyLogoURLIn(vs ...string) predicate.Standard

GoverningBodyLogoURLIn applies the In predicate on the "governing_body_logo_url" field.

func GoverningBodyLogoURLIsNil added in v0.7.5

func GoverningBodyLogoURLIsNil() predicate.Standard

GoverningBodyLogoURLIsNil applies the IsNil predicate on the "governing_body_logo_url" field.

func GoverningBodyLogoURLLT added in v0.7.5

func GoverningBodyLogoURLLT(v string) predicate.Standard

GoverningBodyLogoURLLT applies the LT predicate on the "governing_body_logo_url" field.

func GoverningBodyLogoURLLTE added in v0.7.5

func GoverningBodyLogoURLLTE(v string) predicate.Standard

GoverningBodyLogoURLLTE applies the LTE predicate on the "governing_body_logo_url" field.

func GoverningBodyLogoURLNEQ added in v0.7.5

func GoverningBodyLogoURLNEQ(v string) predicate.Standard

GoverningBodyLogoURLNEQ applies the NEQ predicate on the "governing_body_logo_url" field.

func GoverningBodyLogoURLNotIn added in v0.7.5

func GoverningBodyLogoURLNotIn(vs ...string) predicate.Standard

GoverningBodyLogoURLNotIn applies the NotIn predicate on the "governing_body_logo_url" field.

func GoverningBodyLogoURLNotNil added in v0.7.5

func GoverningBodyLogoURLNotNil() predicate.Standard

GoverningBodyLogoURLNotNil applies the NotNil predicate on the "governing_body_logo_url" field.

func GoverningBodyNEQ added in v0.7.3

func GoverningBodyNEQ(v string) predicate.Standard

GoverningBodyNEQ applies the NEQ predicate on the "governing_body" field.

func GoverningBodyNotIn added in v0.7.3

func GoverningBodyNotIn(vs ...string) predicate.Standard

GoverningBodyNotIn applies the NotIn predicate on the "governing_body" field.

func GoverningBodyNotNil added in v0.7.3

func GoverningBodyNotNil() predicate.Standard

GoverningBodyNotNil applies the NotNil predicate on the "governing_body" field.

func HasApplicablePlatforms added in v1.5.0

func HasApplicablePlatforms() predicate.Standard

HasApplicablePlatforms applies the HasEdge predicate on the "applicable_platforms" edge.

func HasApplicablePlatformsWith added in v1.5.0

func HasApplicablePlatformsWith(preds ...predicate.Platform) predicate.Standard

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

func HasControls

func HasControls() predicate.Standard

HasControls applies the HasEdge predicate on the "controls" edge.

func HasControlsWith

func HasControlsWith(preds ...predicate.Control) predicate.Standard

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

func HasLogoFile added in v0.47.4

func HasLogoFile() predicate.Standard

HasLogoFile applies the HasEdge predicate on the "logo_file" edge.

func HasLogoFileWith added in v0.47.4

func HasLogoFileWith(preds ...predicate.File) predicate.Standard

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

func HasOwner added in v0.7.3

func HasOwner() predicate.Standard

HasOwner applies the HasEdge predicate on the "owner" edge.

func HasOwnerWith added in v0.7.3

func HasOwnerWith(preds ...predicate.Organization) predicate.Standard

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

func HasTrustCenterCompliances added in v0.28.2

func HasTrustCenterCompliances() predicate.Standard

HasTrustCenterCompliances applies the HasEdge predicate on the "trust_center_compliances" edge.

func HasTrustCenterCompliancesWith added in v0.28.2

func HasTrustCenterCompliancesWith(preds ...predicate.TrustCenterCompliance) predicate.Standard

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

func HasTrustCenterDocs added in v0.47.4

func HasTrustCenterDocs() predicate.Standard

HasTrustCenterDocs applies the HasEdge predicate on the "trust_center_docs" edge.

func HasTrustCenterDocsWith added in v0.47.4

func HasTrustCenterDocsWith(preds ...predicate.TrustCenterDoc) predicate.Standard

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

func ID

func ID(id string) predicate.Standard

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.Standard

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

func IDEQ(id string) predicate.Standard

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.Standard

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

func IDGT(id string) predicate.Standard

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.Standard

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.Standard

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.Standard

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.Standard

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func InternalNotes added in v0.34.0

func InternalNotes(v string) predicate.Standard

InternalNotes applies equality check predicate on the "internal_notes" field. It's identical to InternalNotesEQ.

func InternalNotesContains added in v0.34.0

func InternalNotesContains(v string) predicate.Standard

InternalNotesContains applies the Contains predicate on the "internal_notes" field.

func InternalNotesContainsFold added in v0.34.0

func InternalNotesContainsFold(v string) predicate.Standard

InternalNotesContainsFold applies the ContainsFold predicate on the "internal_notes" field.

func InternalNotesEQ added in v0.34.0

func InternalNotesEQ(v string) predicate.Standard

InternalNotesEQ applies the EQ predicate on the "internal_notes" field.

func InternalNotesEqualFold added in v0.34.0

func InternalNotesEqualFold(v string) predicate.Standard

InternalNotesEqualFold applies the EqualFold predicate on the "internal_notes" field.

func InternalNotesGT added in v0.34.0

func InternalNotesGT(v string) predicate.Standard

InternalNotesGT applies the GT predicate on the "internal_notes" field.

func InternalNotesGTE added in v0.34.0

func InternalNotesGTE(v string) predicate.Standard

InternalNotesGTE applies the GTE predicate on the "internal_notes" field.

func InternalNotesHasPrefix added in v0.34.0

func InternalNotesHasPrefix(v string) predicate.Standard

InternalNotesHasPrefix applies the HasPrefix predicate on the "internal_notes" field.

func InternalNotesHasSuffix added in v0.34.0

func InternalNotesHasSuffix(v string) predicate.Standard

InternalNotesHasSuffix applies the HasSuffix predicate on the "internal_notes" field.

func InternalNotesIn added in v0.34.0

func InternalNotesIn(vs ...string) predicate.Standard

InternalNotesIn applies the In predicate on the "internal_notes" field.

func InternalNotesIsNil added in v0.34.0

func InternalNotesIsNil() predicate.Standard

InternalNotesIsNil applies the IsNil predicate on the "internal_notes" field.

func InternalNotesLT added in v0.34.0

func InternalNotesLT(v string) predicate.Standard

InternalNotesLT applies the LT predicate on the "internal_notes" field.

func InternalNotesLTE added in v0.34.0

func InternalNotesLTE(v string) predicate.Standard

InternalNotesLTE applies the LTE predicate on the "internal_notes" field.

func InternalNotesNEQ added in v0.34.0

func InternalNotesNEQ(v string) predicate.Standard

InternalNotesNEQ applies the NEQ predicate on the "internal_notes" field.

func InternalNotesNotIn added in v0.34.0

func InternalNotesNotIn(vs ...string) predicate.Standard

InternalNotesNotIn applies the NotIn predicate on the "internal_notes" field.

func InternalNotesNotNil added in v0.34.0

func InternalNotesNotNil() predicate.Standard

InternalNotesNotNil applies the NotNil predicate on the "internal_notes" field.

func IsPublic added in v0.7.3

func IsPublic(v bool) predicate.Standard

IsPublic applies equality check predicate on the "is_public" field. It's identical to IsPublicEQ.

func IsPublicEQ added in v0.7.3

func IsPublicEQ(v bool) predicate.Standard

IsPublicEQ applies the EQ predicate on the "is_public" field.

func IsPublicIsNil added in v0.7.3

func IsPublicIsNil() predicate.Standard

IsPublicIsNil applies the IsNil predicate on the "is_public" field.

func IsPublicNEQ added in v0.7.3

func IsPublicNEQ(v bool) predicate.Standard

IsPublicNEQ applies the NEQ predicate on the "is_public" field.

func IsPublicNotNil added in v0.7.3

func IsPublicNotNil() predicate.Standard

IsPublicNotNil applies the NotNil predicate on the "is_public" field.

func Link(v string) predicate.Standard

Link applies equality check predicate on the "link" field. It's identical to LinkEQ.

func LinkContains added in v0.7.3

func LinkContains(v string) predicate.Standard

LinkContains applies the Contains predicate on the "link" field.

func LinkContainsFold added in v0.7.3

func LinkContainsFold(v string) predicate.Standard

LinkContainsFold applies the ContainsFold predicate on the "link" field.

func LinkEQ added in v0.7.3

func LinkEQ(v string) predicate.Standard

LinkEQ applies the EQ predicate on the "link" field.

func LinkEqualFold added in v0.7.3

func LinkEqualFold(v string) predicate.Standard

LinkEqualFold applies the EqualFold predicate on the "link" field.

func LinkGT added in v0.7.3

func LinkGT(v string) predicate.Standard

LinkGT applies the GT predicate on the "link" field.

func LinkGTE added in v0.7.3

func LinkGTE(v string) predicate.Standard

LinkGTE applies the GTE predicate on the "link" field.

func LinkHasPrefix added in v0.7.3

func LinkHasPrefix(v string) predicate.Standard

LinkHasPrefix applies the HasPrefix predicate on the "link" field.

func LinkHasSuffix added in v0.7.3

func LinkHasSuffix(v string) predicate.Standard

LinkHasSuffix applies the HasSuffix predicate on the "link" field.

func LinkIn added in v0.7.3

func LinkIn(vs ...string) predicate.Standard

LinkIn applies the In predicate on the "link" field.

func LinkIsNil added in v0.7.3

func LinkIsNil() predicate.Standard

LinkIsNil applies the IsNil predicate on the "link" field.

func LinkLT added in v0.7.3

func LinkLT(v string) predicate.Standard

LinkLT applies the LT predicate on the "link" field.

func LinkLTE added in v0.7.3

func LinkLTE(v string) predicate.Standard

LinkLTE applies the LTE predicate on the "link" field.

func LinkNEQ added in v0.7.3

func LinkNEQ(v string) predicate.Standard

LinkNEQ applies the NEQ predicate on the "link" field.

func LinkNotIn added in v0.7.3

func LinkNotIn(vs ...string) predicate.Standard

LinkNotIn applies the NotIn predicate on the "link" field.

func LinkNotNil added in v0.7.3

func LinkNotNil() predicate.Standard

LinkNotNil applies the NotNil predicate on the "link" field.

func LogoFileID added in v0.47.4

func LogoFileID(v string) predicate.Standard

LogoFileID applies equality check predicate on the "logo_file_id" field. It's identical to LogoFileIDEQ.

func LogoFileIDContains added in v0.47.4

func LogoFileIDContains(v string) predicate.Standard

LogoFileIDContains applies the Contains predicate on the "logo_file_id" field.

func LogoFileIDContainsFold added in v0.47.4

func LogoFileIDContainsFold(v string) predicate.Standard

LogoFileIDContainsFold applies the ContainsFold predicate on the "logo_file_id" field.

func LogoFileIDEQ added in v0.47.4

func LogoFileIDEQ(v string) predicate.Standard

LogoFileIDEQ applies the EQ predicate on the "logo_file_id" field.

func LogoFileIDEqualFold added in v0.47.4

func LogoFileIDEqualFold(v string) predicate.Standard

LogoFileIDEqualFold applies the EqualFold predicate on the "logo_file_id" field.

func LogoFileIDGT added in v0.47.4

func LogoFileIDGT(v string) predicate.Standard

LogoFileIDGT applies the GT predicate on the "logo_file_id" field.

func LogoFileIDGTE added in v0.47.4

func LogoFileIDGTE(v string) predicate.Standard

LogoFileIDGTE applies the GTE predicate on the "logo_file_id" field.

func LogoFileIDHasPrefix added in v0.47.4

func LogoFileIDHasPrefix(v string) predicate.Standard

LogoFileIDHasPrefix applies the HasPrefix predicate on the "logo_file_id" field.

func LogoFileIDHasSuffix added in v0.47.4

func LogoFileIDHasSuffix(v string) predicate.Standard

LogoFileIDHasSuffix applies the HasSuffix predicate on the "logo_file_id" field.

func LogoFileIDIn added in v0.47.4

func LogoFileIDIn(vs ...string) predicate.Standard

LogoFileIDIn applies the In predicate on the "logo_file_id" field.

func LogoFileIDIsNil added in v0.47.4

func LogoFileIDIsNil() predicate.Standard

LogoFileIDIsNil applies the IsNil predicate on the "logo_file_id" field.

func LogoFileIDLT added in v0.47.4

func LogoFileIDLT(v string) predicate.Standard

LogoFileIDLT applies the LT predicate on the "logo_file_id" field.

func LogoFileIDLTE added in v0.47.4

func LogoFileIDLTE(v string) predicate.Standard

LogoFileIDLTE applies the LTE predicate on the "logo_file_id" field.

func LogoFileIDNEQ added in v0.47.4

func LogoFileIDNEQ(v string) predicate.Standard

LogoFileIDNEQ applies the NEQ predicate on the "logo_file_id" field.

func LogoFileIDNotIn added in v0.47.4

func LogoFileIDNotIn(vs ...string) predicate.Standard

LogoFileIDNotIn applies the NotIn predicate on the "logo_file_id" field.

func LogoFileIDNotNil added in v0.47.4

func LogoFileIDNotNil() predicate.Standard

LogoFileIDNotNil applies the NotNil predicate on the "logo_file_id" field.

func Name

func Name(v string) predicate.Standard

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.Standard

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.Standard

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.Standard

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.Standard

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.Standard

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.Standard

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.Standard

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.Standard

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.Standard

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.Standard

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.Standard

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.Standard

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.Standard

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Standard) predicate.Standard

Or groups predicates with the OR operator between them.

func OwnerID added in v0.7.3

func OwnerID(v string) predicate.Standard

OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.

func OwnerIDContains added in v0.7.3

func OwnerIDContains(v string) predicate.Standard

OwnerIDContains applies the Contains predicate on the "owner_id" field.

func OwnerIDContainsFold added in v0.7.3

func OwnerIDContainsFold(v string) predicate.Standard

OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.

func OwnerIDEQ added in v0.7.3

func OwnerIDEQ(v string) predicate.Standard

OwnerIDEQ applies the EQ predicate on the "owner_id" field.

func OwnerIDEqualFold added in v0.7.3

func OwnerIDEqualFold(v string) predicate.Standard

OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.

func OwnerIDGT added in v0.7.3

func OwnerIDGT(v string) predicate.Standard

OwnerIDGT applies the GT predicate on the "owner_id" field.

func OwnerIDGTE added in v0.7.3

func OwnerIDGTE(v string) predicate.Standard

OwnerIDGTE applies the GTE predicate on the "owner_id" field.

func OwnerIDHasPrefix added in v0.7.3

func OwnerIDHasPrefix(v string) predicate.Standard

OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.

func OwnerIDHasSuffix added in v0.7.3

func OwnerIDHasSuffix(v string) predicate.Standard

OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.

func OwnerIDIn added in v0.7.3

func OwnerIDIn(vs ...string) predicate.Standard

OwnerIDIn applies the In predicate on the "owner_id" field.

func OwnerIDIsNil added in v0.7.3

func OwnerIDIsNil() predicate.Standard

OwnerIDIsNil applies the IsNil predicate on the "owner_id" field.

func OwnerIDLT added in v0.7.3

func OwnerIDLT(v string) predicate.Standard

OwnerIDLT applies the LT predicate on the "owner_id" field.

func OwnerIDLTE added in v0.7.3

func OwnerIDLTE(v string) predicate.Standard

OwnerIDLTE applies the LTE predicate on the "owner_id" field.

func OwnerIDNEQ added in v0.7.3

func OwnerIDNEQ(v string) predicate.Standard

OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.

func OwnerIDNotIn added in v0.7.3

func OwnerIDNotIn(vs ...string) predicate.Standard

OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.

func OwnerIDNotNil added in v0.7.3

func OwnerIDNotNil() predicate.Standard

OwnerIDNotNil applies the NotNil predicate on the "owner_id" field.

func Revision added in v0.7.3

func Revision(v string) predicate.Standard

Revision applies equality check predicate on the "revision" field. It's identical to RevisionEQ.

func RevisionContains added in v0.7.3

func RevisionContains(v string) predicate.Standard

RevisionContains applies the Contains predicate on the "revision" field.

func RevisionContainsFold added in v0.7.3

func RevisionContainsFold(v string) predicate.Standard

RevisionContainsFold applies the ContainsFold predicate on the "revision" field.

func RevisionEQ added in v0.7.3

func RevisionEQ(v string) predicate.Standard

RevisionEQ applies the EQ predicate on the "revision" field.

func RevisionEqualFold added in v0.7.3

func RevisionEqualFold(v string) predicate.Standard

RevisionEqualFold applies the EqualFold predicate on the "revision" field.

func RevisionGT added in v0.7.3

func RevisionGT(v string) predicate.Standard

RevisionGT applies the GT predicate on the "revision" field.

func RevisionGTE added in v0.7.3

func RevisionGTE(v string) predicate.Standard

RevisionGTE applies the GTE predicate on the "revision" field.

func RevisionHasPrefix added in v0.7.3

func RevisionHasPrefix(v string) predicate.Standard

RevisionHasPrefix applies the HasPrefix predicate on the "revision" field.

func RevisionHasSuffix added in v0.7.3

func RevisionHasSuffix(v string) predicate.Standard

RevisionHasSuffix applies the HasSuffix predicate on the "revision" field.

func RevisionIn added in v0.7.3

func RevisionIn(vs ...string) predicate.Standard

RevisionIn applies the In predicate on the "revision" field.

func RevisionIsNil added in v0.7.3

func RevisionIsNil() predicate.Standard

RevisionIsNil applies the IsNil predicate on the "revision" field.

func RevisionLT added in v0.7.3

func RevisionLT(v string) predicate.Standard

RevisionLT applies the LT predicate on the "revision" field.

func RevisionLTE added in v0.7.3

func RevisionLTE(v string) predicate.Standard

RevisionLTE applies the LTE predicate on the "revision" field.

func RevisionNEQ added in v0.7.3

func RevisionNEQ(v string) predicate.Standard

RevisionNEQ applies the NEQ predicate on the "revision" field.

func RevisionNotIn added in v0.7.3

func RevisionNotIn(vs ...string) predicate.Standard

RevisionNotIn applies the NotIn predicate on the "revision" field.

func RevisionNotNil added in v0.7.3

func RevisionNotNil() predicate.Standard

RevisionNotNil applies the NotNil predicate on the "revision" field.

func ShortName added in v0.7.3

func ShortName(v string) predicate.Standard

ShortName applies equality check predicate on the "short_name" field. It's identical to ShortNameEQ.

func ShortNameContains added in v0.7.3

func ShortNameContains(v string) predicate.Standard

ShortNameContains applies the Contains predicate on the "short_name" field.

func ShortNameContainsFold added in v0.7.3

func ShortNameContainsFold(v string) predicate.Standard

ShortNameContainsFold applies the ContainsFold predicate on the "short_name" field.

func ShortNameEQ added in v0.7.3

func ShortNameEQ(v string) predicate.Standard

ShortNameEQ applies the EQ predicate on the "short_name" field.

func ShortNameEqualFold added in v0.7.3

func ShortNameEqualFold(v string) predicate.Standard

ShortNameEqualFold applies the EqualFold predicate on the "short_name" field.

func ShortNameGT added in v0.7.3

func ShortNameGT(v string) predicate.Standard

ShortNameGT applies the GT predicate on the "short_name" field.

func ShortNameGTE added in v0.7.3

func ShortNameGTE(v string) predicate.Standard

ShortNameGTE applies the GTE predicate on the "short_name" field.

func ShortNameHasPrefix added in v0.7.3

func ShortNameHasPrefix(v string) predicate.Standard

ShortNameHasPrefix applies the HasPrefix predicate on the "short_name" field.

func ShortNameHasSuffix added in v0.7.3

func ShortNameHasSuffix(v string) predicate.Standard

ShortNameHasSuffix applies the HasSuffix predicate on the "short_name" field.

func ShortNameIn added in v0.7.3

func ShortNameIn(vs ...string) predicate.Standard

ShortNameIn applies the In predicate on the "short_name" field.

func ShortNameIsNil added in v0.7.3

func ShortNameIsNil() predicate.Standard

ShortNameIsNil applies the IsNil predicate on the "short_name" field.

func ShortNameLT added in v0.7.3

func ShortNameLT(v string) predicate.Standard

ShortNameLT applies the LT predicate on the "short_name" field.

func ShortNameLTE added in v0.7.3

func ShortNameLTE(v string) predicate.Standard

ShortNameLTE applies the LTE predicate on the "short_name" field.

func ShortNameNEQ added in v0.7.3

func ShortNameNEQ(v string) predicate.Standard

ShortNameNEQ applies the NEQ predicate on the "short_name" field.

func ShortNameNotIn added in v0.7.3

func ShortNameNotIn(vs ...string) predicate.Standard

ShortNameNotIn applies the NotIn predicate on the "short_name" field.

func ShortNameNotNil added in v0.7.3

func ShortNameNotNil() predicate.Standard

ShortNameNotNil applies the NotNil predicate on the "short_name" field.

func StandardType

func StandardType(v string) predicate.Standard

StandardType applies equality check predicate on the "standard_type" field. It's identical to StandardTypeEQ.

func StandardTypeContains

func StandardTypeContains(v string) predicate.Standard

StandardTypeContains applies the Contains predicate on the "standard_type" field.

func StandardTypeContainsFold

func StandardTypeContainsFold(v string) predicate.Standard

StandardTypeContainsFold applies the ContainsFold predicate on the "standard_type" field.

func StandardTypeEQ

func StandardTypeEQ(v string) predicate.Standard

StandardTypeEQ applies the EQ predicate on the "standard_type" field.

func StandardTypeEqualFold

func StandardTypeEqualFold(v string) predicate.Standard

StandardTypeEqualFold applies the EqualFold predicate on the "standard_type" field.

func StandardTypeGT

func StandardTypeGT(v string) predicate.Standard

StandardTypeGT applies the GT predicate on the "standard_type" field.

func StandardTypeGTE

func StandardTypeGTE(v string) predicate.Standard

StandardTypeGTE applies the GTE predicate on the "standard_type" field.

func StandardTypeHasPrefix

func StandardTypeHasPrefix(v string) predicate.Standard

StandardTypeHasPrefix applies the HasPrefix predicate on the "standard_type" field.

func StandardTypeHasSuffix

func StandardTypeHasSuffix(v string) predicate.Standard

StandardTypeHasSuffix applies the HasSuffix predicate on the "standard_type" field.

func StandardTypeIn

func StandardTypeIn(vs ...string) predicate.Standard

StandardTypeIn applies the In predicate on the "standard_type" field.

func StandardTypeIsNil

func StandardTypeIsNil() predicate.Standard

StandardTypeIsNil applies the IsNil predicate on the "standard_type" field.

func StandardTypeLT

func StandardTypeLT(v string) predicate.Standard

StandardTypeLT applies the LT predicate on the "standard_type" field.

func StandardTypeLTE

func StandardTypeLTE(v string) predicate.Standard

StandardTypeLTE applies the LTE predicate on the "standard_type" field.

func StandardTypeNEQ

func StandardTypeNEQ(v string) predicate.Standard

StandardTypeNEQ applies the NEQ predicate on the "standard_type" field.

func StandardTypeNotIn

func StandardTypeNotIn(vs ...string) predicate.Standard

StandardTypeNotIn applies the NotIn predicate on the "standard_type" field.

func StandardTypeNotNil

func StandardTypeNotNil() predicate.Standard

StandardTypeNotNil applies the NotNil predicate on the "standard_type" field.

func StatusEQ

StatusEQ applies the EQ predicate on the "status" field.

func StatusIn

func StatusIn(vs ...enums.StandardStatus) predicate.Standard

StatusIn applies the In predicate on the "status" field.

func StatusIsNil

func StatusIsNil() predicate.Standard

StatusIsNil applies the IsNil predicate on the "status" field.

func StatusNEQ

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...enums.StandardStatus) predicate.Standard

StatusNotIn applies the NotIn predicate on the "status" field.

func StatusNotNil

func StatusNotNil() predicate.Standard

StatusNotNil applies the NotNil predicate on the "status" field.

func StatusValidator added in v0.7.5

func StatusValidator(s enums.StandardStatus) error

StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.

func SystemInternalID added in v0.34.0

func SystemInternalID(v string) predicate.Standard

SystemInternalID applies equality check predicate on the "system_internal_id" field. It's identical to SystemInternalIDEQ.

func SystemInternalIDContains added in v0.34.0

func SystemInternalIDContains(v string) predicate.Standard

SystemInternalIDContains applies the Contains predicate on the "system_internal_id" field.

func SystemInternalIDContainsFold added in v0.34.0

func SystemInternalIDContainsFold(v string) predicate.Standard

SystemInternalIDContainsFold applies the ContainsFold predicate on the "system_internal_id" field.

func SystemInternalIDEQ added in v0.34.0

func SystemInternalIDEQ(v string) predicate.Standard

SystemInternalIDEQ applies the EQ predicate on the "system_internal_id" field.

func SystemInternalIDEqualFold added in v0.34.0

func SystemInternalIDEqualFold(v string) predicate.Standard

SystemInternalIDEqualFold applies the EqualFold predicate on the "system_internal_id" field.

func SystemInternalIDGT added in v0.34.0

func SystemInternalIDGT(v string) predicate.Standard

SystemInternalIDGT applies the GT predicate on the "system_internal_id" field.

func SystemInternalIDGTE added in v0.34.0

func SystemInternalIDGTE(v string) predicate.Standard

SystemInternalIDGTE applies the GTE predicate on the "system_internal_id" field.

func SystemInternalIDHasPrefix added in v0.34.0

func SystemInternalIDHasPrefix(v string) predicate.Standard

SystemInternalIDHasPrefix applies the HasPrefix predicate on the "system_internal_id" field.

func SystemInternalIDHasSuffix added in v0.34.0

func SystemInternalIDHasSuffix(v string) predicate.Standard

SystemInternalIDHasSuffix applies the HasSuffix predicate on the "system_internal_id" field.

func SystemInternalIDIn added in v0.34.0

func SystemInternalIDIn(vs ...string) predicate.Standard

SystemInternalIDIn applies the In predicate on the "system_internal_id" field.

func SystemInternalIDIsNil added in v0.34.0

func SystemInternalIDIsNil() predicate.Standard

SystemInternalIDIsNil applies the IsNil predicate on the "system_internal_id" field.

func SystemInternalIDLT added in v0.34.0

func SystemInternalIDLT(v string) predicate.Standard

SystemInternalIDLT applies the LT predicate on the "system_internal_id" field.

func SystemInternalIDLTE added in v0.34.0

func SystemInternalIDLTE(v string) predicate.Standard

SystemInternalIDLTE applies the LTE predicate on the "system_internal_id" field.

func SystemInternalIDNEQ added in v0.34.0

func SystemInternalIDNEQ(v string) predicate.Standard

SystemInternalIDNEQ applies the NEQ predicate on the "system_internal_id" field.

func SystemInternalIDNotIn added in v0.34.0

func SystemInternalIDNotIn(vs ...string) predicate.Standard

SystemInternalIDNotIn applies the NotIn predicate on the "system_internal_id" field.

func SystemInternalIDNotNil added in v0.34.0

func SystemInternalIDNotNil() predicate.Standard

SystemInternalIDNotNil applies the NotNil predicate on the "system_internal_id" field.

func SystemOwned added in v0.7.3

func SystemOwned(v bool) predicate.Standard

SystemOwned applies equality check predicate on the "system_owned" field. It's identical to SystemOwnedEQ.

func SystemOwnedEQ added in v0.7.3

func SystemOwnedEQ(v bool) predicate.Standard

SystemOwnedEQ applies the EQ predicate on the "system_owned" field.

func SystemOwnedIsNil added in v0.7.3

func SystemOwnedIsNil() predicate.Standard

SystemOwnedIsNil applies the IsNil predicate on the "system_owned" field.

func SystemOwnedNEQ added in v0.7.3

func SystemOwnedNEQ(v bool) predicate.Standard

SystemOwnedNEQ applies the NEQ predicate on the "system_owned" field.

func SystemOwnedNotNil added in v0.7.3

func SystemOwnedNotNil() predicate.Standard

SystemOwnedNotNil applies the NotNil predicate on the "system_owned" field.

func TagsIsNil

func TagsIsNil() predicate.Standard

TagsIsNil applies the IsNil predicate on the "tags" field.

func TagsNotNil

func TagsNotNil() predicate.Standard

TagsNotNil applies the NotNil predicate on the "tags" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Standard

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Standard

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Standard

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Standard

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

func UpdatedAtIn

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

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

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.Standard

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Standard

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Standard

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Standard

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

func UpdatedAtNotIn

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

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

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.Standard

UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.

func UpdatedBy

func UpdatedBy(v string) predicate.Standard

UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.

func UpdatedByContains

func UpdatedByContains(v string) predicate.Standard

UpdatedByContains applies the Contains predicate on the "updated_by" field.

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.Standard

UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.Standard

UpdatedByEQ applies the EQ predicate on the "updated_by" field.

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.Standard

UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.

func UpdatedByGT

func UpdatedByGT(v string) predicate.Standard

UpdatedByGT applies the GT predicate on the "updated_by" field.

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.Standard

UpdatedByGTE applies the GTE predicate on the "updated_by" field.

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.Standard

UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.Standard

UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.

func UpdatedByIn

func UpdatedByIn(vs ...string) predicate.Standard

UpdatedByIn applies the In predicate on the "updated_by" field.

func UpdatedByIsNil

func UpdatedByIsNil() predicate.Standard

UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.

func UpdatedByLT

func UpdatedByLT(v string) predicate.Standard

UpdatedByLT applies the LT predicate on the "updated_by" field.

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.Standard

UpdatedByLTE applies the LTE predicate on the "updated_by" field.

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.Standard

UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.

func UpdatedByNotIn

func UpdatedByNotIn(vs ...string) predicate.Standard

UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.

func UpdatedByNotNil

func UpdatedByNotNil() predicate.Standard

UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.

func ValidColumn

func ValidColumn(column string) bool

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

func Version

func Version(v string) predicate.Standard

Version applies equality check predicate on the "version" field. It's identical to VersionEQ.

func VersionContains

func VersionContains(v string) predicate.Standard

VersionContains applies the Contains predicate on the "version" field.

func VersionContainsFold

func VersionContainsFold(v string) predicate.Standard

VersionContainsFold applies the ContainsFold predicate on the "version" field.

func VersionEQ

func VersionEQ(v string) predicate.Standard

VersionEQ applies the EQ predicate on the "version" field.

func VersionEqualFold

func VersionEqualFold(v string) predicate.Standard

VersionEqualFold applies the EqualFold predicate on the "version" field.

func VersionGT

func VersionGT(v string) predicate.Standard

VersionGT applies the GT predicate on the "version" field.

func VersionGTE

func VersionGTE(v string) predicate.Standard

VersionGTE applies the GTE predicate on the "version" field.

func VersionHasPrefix

func VersionHasPrefix(v string) predicate.Standard

VersionHasPrefix applies the HasPrefix predicate on the "version" field.

func VersionHasSuffix

func VersionHasSuffix(v string) predicate.Standard

VersionHasSuffix applies the HasSuffix predicate on the "version" field.

func VersionIn

func VersionIn(vs ...string) predicate.Standard

VersionIn applies the In predicate on the "version" field.

func VersionIsNil

func VersionIsNil() predicate.Standard

VersionIsNil applies the IsNil predicate on the "version" field.

func VersionLT

func VersionLT(v string) predicate.Standard

VersionLT applies the LT predicate on the "version" field.

func VersionLTE

func VersionLTE(v string) predicate.Standard

VersionLTE applies the LTE predicate on the "version" field.

func VersionNEQ

func VersionNEQ(v string) predicate.Standard

VersionNEQ applies the NEQ predicate on the "version" field.

func VersionNotIn

func VersionNotIn(vs ...string) predicate.Standard

VersionNotIn applies the NotIn predicate on the "version" field.

func VersionNotNil

func VersionNotNil() predicate.Standard

VersionNotNil applies the NotNil predicate on the "version" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Standard queries.

func ByApplicablePlatforms added in v1.5.0

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

ByApplicablePlatforms orders the results by applicable_platforms terms.

func ByApplicablePlatformsCount added in v1.5.0

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

ByApplicablePlatformsCount orders the results by applicable_platforms count.

func ByControls

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

ByControls orders the results by controls terms.

func ByControlsCount

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

ByControlsCount orders the results by controls count.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByCreatedBy

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

ByCreatedBy orders the results by the created_by field.

func ByDeletedAt

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

ByDeletedAt orders the results by the deleted_at field.

func ByDeletedBy

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

ByDeletedBy orders the results by the deleted_by field.

func ByDescription

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

ByDescription orders the results by the description field.

func ByFramework added in v0.7.3

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

ByFramework orders the results by the framework field.

func ByFreeToUse added in v0.7.3

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

ByFreeToUse orders the results by the free_to_use field.

func ByGoverningBody added in v0.7.3

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

ByGoverningBody orders the results by the governing_body field.

func ByGoverningBodyLogoURL added in v0.7.5

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

ByGoverningBodyLogoURL orders the results by the governing_body_logo_url field.

func ByID

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

ByID orders the results by the id field.

func ByInternalNotes added in v0.34.0

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

ByInternalNotes orders the results by the internal_notes field.

func ByIsPublic added in v0.7.3

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

ByIsPublic orders the results by the is_public field.

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

ByLink orders the results by the link field.

func ByLogoFileField added in v0.47.4

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

ByLogoFileField orders the results by logo_file field.

func ByLogoFileID added in v0.47.4

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

ByLogoFileID orders the results by the logo_file_id field.

func ByName

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

ByName orders the results by the name field.

func ByOwnerField added in v0.7.3

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

ByOwnerField orders the results by owner field.

func ByOwnerID added in v0.7.3

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

ByOwnerID orders the results by the owner_id field.

func ByRevision added in v0.7.3

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

ByRevision orders the results by the revision field.

func ByShortName added in v0.7.3

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

ByShortName orders the results by the short_name field.

func ByStandardType

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

ByStandardType orders the results by the standard_type field.

func ByStatus

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

ByStatus orders the results by the status field.

func BySystemInternalID added in v0.34.0

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

BySystemInternalID orders the results by the system_internal_id field.

func BySystemOwned added in v0.7.3

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

BySystemOwned orders the results by the system_owned field.

func ByTrustCenterCompliances added in v0.28.2

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

ByTrustCenterCompliances orders the results by trust_center_compliances terms.

func ByTrustCenterCompliancesCount added in v0.28.2

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

ByTrustCenterCompliancesCount orders the results by trust_center_compliances count.

func ByTrustCenterDocs added in v0.47.4

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

ByTrustCenterDocs orders the results by trust_center_docs terms.

func ByTrustCenterDocsCount added in v0.47.4

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

ByTrustCenterDocsCount orders the results by trust_center_docs count.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByUpdatedBy

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

ByUpdatedBy orders the results by the updated_by field.

func ByVersion

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

ByVersion orders the results by the version field.

Jump to

Keyboard shortcuts

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