standard

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 6 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"
	// FieldMappingID holds the string denoting the mapping_id field in the database.
	FieldMappingID = "mapping_id"
	// FieldTags holds the string denoting the tags field in the database.
	FieldTags = "tags"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldDescription holds the string denoting the description field in the database.
	FieldDescription = "description"
	// FieldFamily holds the string denoting the family field in the database.
	FieldFamily = "family"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// 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"
	// FieldPurposeAndScope holds the string denoting the purpose_and_scope field in the database.
	FieldPurposeAndScope = "purpose_and_scope"
	// FieldBackground holds the string denoting the background field in the database.
	FieldBackground = "background"
	// FieldSatisfies holds the string denoting the satisfies field in the database.
	FieldSatisfies = "satisfies"
	// FieldDetails holds the string denoting the details field in the database.
	FieldDetails = "details"
	// EdgeControlobjectives holds the string denoting the controlobjectives edge name in mutations.
	EdgeControlobjectives = "controlobjectives"
	// EdgeControls holds the string denoting the controls edge name in mutations.
	EdgeControls = "controls"
	// EdgeProcedures holds the string denoting the procedures edge name in mutations.
	EdgeProcedures = "procedures"
	// EdgeActionplans holds the string denoting the actionplans edge name in mutations.
	EdgeActionplans = "actionplans"
	// EdgePrograms holds the string denoting the programs edge name in mutations.
	EdgePrograms = "programs"
	// Table holds the table name of the standard in the database.
	Table = "standards"
	// ControlobjectivesTable is the table that holds the controlobjectives relation/edge. The primary key declared below.
	ControlobjectivesTable = "standard_controlobjectives"
	// ControlobjectivesInverseTable is the table name for the ControlObjective entity.
	// It exists in this package in order to avoid circular dependency with the "controlobjective" package.
	ControlobjectivesInverseTable = "control_objectives"
	// ControlsTable is the table that holds the controls relation/edge. The primary key declared below.
	ControlsTable = "standard_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"
	// ProceduresTable is the table that holds the procedures relation/edge.
	ProceduresTable = "procedures"
	// ProceduresInverseTable is the table name for the Procedure entity.
	// It exists in this package in order to avoid circular dependency with the "procedure" package.
	ProceduresInverseTable = "procedures"
	// ProceduresColumn is the table column denoting the procedures relation/edge.
	ProceduresColumn = "standard_procedures"
	// ActionplansTable is the table that holds the actionplans relation/edge. The primary key declared below.
	ActionplansTable = "standard_actionplans"
	// ActionplansInverseTable is the table name for the ActionPlan entity.
	// It exists in this package in order to avoid circular dependency with the "actionplan" package.
	ActionplansInverseTable = "action_plans"
	// ProgramsTable is the table that holds the programs relation/edge. The primary key declared below.
	ProgramsTable = "standard_programs"
	// ProgramsInverseTable is the table name for the Program entity.
	// It exists in this package in order to avoid circular dependency with the "program" package.
	ProgramsInverseTable = "programs"
)

Variables

View Source
var (
	// ControlobjectivesPrimaryKey and ControlobjectivesColumn2 are the table columns denoting the
	// primary key for the controlobjectives relation (M2M).
	ControlobjectivesPrimaryKey = []string{"standard_id", "control_objective_id"}
	// ControlsPrimaryKey and ControlsColumn2 are the table columns denoting the
	// primary key for the controls relation (M2M).
	ControlsPrimaryKey = []string{"standard_id", "control_id"}
	// ActionplansPrimaryKey and ActionplansColumn2 are the table columns denoting the
	// primary key for the actionplans relation (M2M).
	ActionplansPrimaryKey = []string{"standard_id", "action_plan_id"}
	// ProgramsPrimaryKey and ProgramsColumn2 are the table columns denoting the
	// primary key for the programs relation (M2M).
	ProgramsPrimaryKey = []string{"standard_id", "program_id"}
)
View Source
var (
	Hooks        [2]ent.Hook
	Interceptors [1]ent.Interceptor
	// 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
	// DefaultMappingID holds the default value on creation for the "mapping_id" field.
	DefaultMappingID func() string
	// DefaultTags holds the default value on creation for the "tags" field.
	DefaultTags []string
	// 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"

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 Background

func Background(v string) predicate.Standard

Background applies equality check predicate on the "background" field. It's identical to BackgroundEQ.

func BackgroundContains

func BackgroundContains(v string) predicate.Standard

BackgroundContains applies the Contains predicate on the "background" field.

func BackgroundContainsFold

func BackgroundContainsFold(v string) predicate.Standard

BackgroundContainsFold applies the ContainsFold predicate on the "background" field.

func BackgroundEQ

func BackgroundEQ(v string) predicate.Standard

BackgroundEQ applies the EQ predicate on the "background" field.

func BackgroundEqualFold

func BackgroundEqualFold(v string) predicate.Standard

BackgroundEqualFold applies the EqualFold predicate on the "background" field.

func BackgroundGT

func BackgroundGT(v string) predicate.Standard

BackgroundGT applies the GT predicate on the "background" field.

func BackgroundGTE

func BackgroundGTE(v string) predicate.Standard

BackgroundGTE applies the GTE predicate on the "background" field.

func BackgroundHasPrefix

func BackgroundHasPrefix(v string) predicate.Standard

BackgroundHasPrefix applies the HasPrefix predicate on the "background" field.

func BackgroundHasSuffix

func BackgroundHasSuffix(v string) predicate.Standard

BackgroundHasSuffix applies the HasSuffix predicate on the "background" field.

func BackgroundIn

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

BackgroundIn applies the In predicate on the "background" field.

func BackgroundIsNil

func BackgroundIsNil() predicate.Standard

BackgroundIsNil applies the IsNil predicate on the "background" field.

func BackgroundLT

func BackgroundLT(v string) predicate.Standard

BackgroundLT applies the LT predicate on the "background" field.

func BackgroundLTE

func BackgroundLTE(v string) predicate.Standard

BackgroundLTE applies the LTE predicate on the "background" field.

func BackgroundNEQ

func BackgroundNEQ(v string) predicate.Standard

BackgroundNEQ applies the NEQ predicate on the "background" field.

func BackgroundNotIn

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

BackgroundNotIn applies the NotIn predicate on the "background" field.

func BackgroundNotNil

func BackgroundNotNil() predicate.Standard

BackgroundNotNil applies the NotNil predicate on the "background" field.

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 DetailsIsNil

func DetailsIsNil() predicate.Standard

DetailsIsNil applies the IsNil predicate on the "details" field.

func DetailsNotNil

func DetailsNotNil() predicate.Standard

DetailsNotNil applies the NotNil predicate on the "details" field.

func Family

func Family(v string) predicate.Standard

Family applies equality check predicate on the "family" field. It's identical to FamilyEQ.

func FamilyContains

func FamilyContains(v string) predicate.Standard

FamilyContains applies the Contains predicate on the "family" field.

func FamilyContainsFold

func FamilyContainsFold(v string) predicate.Standard

FamilyContainsFold applies the ContainsFold predicate on the "family" field.

func FamilyEQ

func FamilyEQ(v string) predicate.Standard

FamilyEQ applies the EQ predicate on the "family" field.

func FamilyEqualFold

func FamilyEqualFold(v string) predicate.Standard

FamilyEqualFold applies the EqualFold predicate on the "family" field.

func FamilyGT

func FamilyGT(v string) predicate.Standard

FamilyGT applies the GT predicate on the "family" field.

func FamilyGTE

func FamilyGTE(v string) predicate.Standard

FamilyGTE applies the GTE predicate on the "family" field.

func FamilyHasPrefix

func FamilyHasPrefix(v string) predicate.Standard

FamilyHasPrefix applies the HasPrefix predicate on the "family" field.

func FamilyHasSuffix

func FamilyHasSuffix(v string) predicate.Standard

FamilyHasSuffix applies the HasSuffix predicate on the "family" field.

func FamilyIn

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

FamilyIn applies the In predicate on the "family" field.

func FamilyIsNil

func FamilyIsNil() predicate.Standard

FamilyIsNil applies the IsNil predicate on the "family" field.

func FamilyLT

func FamilyLT(v string) predicate.Standard

FamilyLT applies the LT predicate on the "family" field.

func FamilyLTE

func FamilyLTE(v string) predicate.Standard

FamilyLTE applies the LTE predicate on the "family" field.

func FamilyNEQ

func FamilyNEQ(v string) predicate.Standard

FamilyNEQ applies the NEQ predicate on the "family" field.

func FamilyNotIn

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

FamilyNotIn applies the NotIn predicate on the "family" field.

func FamilyNotNil

func FamilyNotNil() predicate.Standard

FamilyNotNil applies the NotNil predicate on the "family" field.

func HasActionplans

func HasActionplans() predicate.Standard

HasActionplans applies the HasEdge predicate on the "actionplans" edge.

func HasActionplansWith

func HasActionplansWith(preds ...predicate.ActionPlan) predicate.Standard

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

func HasControlobjectives

func HasControlobjectives() predicate.Standard

HasControlobjectives applies the HasEdge predicate on the "controlobjectives" edge.

func HasControlobjectivesWith

func HasControlobjectivesWith(preds ...predicate.ControlObjective) predicate.Standard

HasControlobjectivesWith applies the HasEdge predicate on the "controlobjectives" 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 HasProcedures

func HasProcedures() predicate.Standard

HasProcedures applies the HasEdge predicate on the "procedures" edge.

func HasProceduresWith

func HasProceduresWith(preds ...predicate.Procedure) predicate.Standard

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

func HasPrograms added in v0.3.5

func HasPrograms() predicate.Standard

HasPrograms applies the HasEdge predicate on the "programs" edge.

func HasProgramsWith added in v0.3.5

func HasProgramsWith(preds ...predicate.Program) predicate.Standard

HasProgramsWith applies the HasEdge predicate on the "programs" 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 MappingID

func MappingID(v string) predicate.Standard

MappingID applies equality check predicate on the "mapping_id" field. It's identical to MappingIDEQ.

func MappingIDContains

func MappingIDContains(v string) predicate.Standard

MappingIDContains applies the Contains predicate on the "mapping_id" field.

func MappingIDContainsFold

func MappingIDContainsFold(v string) predicate.Standard

MappingIDContainsFold applies the ContainsFold predicate on the "mapping_id" field.

func MappingIDEQ

func MappingIDEQ(v string) predicate.Standard

MappingIDEQ applies the EQ predicate on the "mapping_id" field.

func MappingIDEqualFold

func MappingIDEqualFold(v string) predicate.Standard

MappingIDEqualFold applies the EqualFold predicate on the "mapping_id" field.

func MappingIDGT

func MappingIDGT(v string) predicate.Standard

MappingIDGT applies the GT predicate on the "mapping_id" field.

func MappingIDGTE

func MappingIDGTE(v string) predicate.Standard

MappingIDGTE applies the GTE predicate on the "mapping_id" field.

func MappingIDHasPrefix

func MappingIDHasPrefix(v string) predicate.Standard

MappingIDHasPrefix applies the HasPrefix predicate on the "mapping_id" field.

func MappingIDHasSuffix

func MappingIDHasSuffix(v string) predicate.Standard

MappingIDHasSuffix applies the HasSuffix predicate on the "mapping_id" field.

func MappingIDIn

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

MappingIDIn applies the In predicate on the "mapping_id" field.

func MappingIDLT

func MappingIDLT(v string) predicate.Standard

MappingIDLT applies the LT predicate on the "mapping_id" field.

func MappingIDLTE

func MappingIDLTE(v string) predicate.Standard

MappingIDLTE applies the LTE predicate on the "mapping_id" field.

func MappingIDNEQ

func MappingIDNEQ(v string) predicate.Standard

MappingIDNEQ applies the NEQ predicate on the "mapping_id" field.

func MappingIDNotIn

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

MappingIDNotIn applies the NotIn predicate on the "mapping_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 PurposeAndScope

func PurposeAndScope(v string) predicate.Standard

PurposeAndScope applies equality check predicate on the "purpose_and_scope" field. It's identical to PurposeAndScopeEQ.

func PurposeAndScopeContains

func PurposeAndScopeContains(v string) predicate.Standard

PurposeAndScopeContains applies the Contains predicate on the "purpose_and_scope" field.

func PurposeAndScopeContainsFold

func PurposeAndScopeContainsFold(v string) predicate.Standard

PurposeAndScopeContainsFold applies the ContainsFold predicate on the "purpose_and_scope" field.

func PurposeAndScopeEQ

func PurposeAndScopeEQ(v string) predicate.Standard

PurposeAndScopeEQ applies the EQ predicate on the "purpose_and_scope" field.

func PurposeAndScopeEqualFold

func PurposeAndScopeEqualFold(v string) predicate.Standard

PurposeAndScopeEqualFold applies the EqualFold predicate on the "purpose_and_scope" field.

func PurposeAndScopeGT

func PurposeAndScopeGT(v string) predicate.Standard

PurposeAndScopeGT applies the GT predicate on the "purpose_and_scope" field.

func PurposeAndScopeGTE

func PurposeAndScopeGTE(v string) predicate.Standard

PurposeAndScopeGTE applies the GTE predicate on the "purpose_and_scope" field.

func PurposeAndScopeHasPrefix

func PurposeAndScopeHasPrefix(v string) predicate.Standard

PurposeAndScopeHasPrefix applies the HasPrefix predicate on the "purpose_and_scope" field.

func PurposeAndScopeHasSuffix

func PurposeAndScopeHasSuffix(v string) predicate.Standard

PurposeAndScopeHasSuffix applies the HasSuffix predicate on the "purpose_and_scope" field.

func PurposeAndScopeIn

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

PurposeAndScopeIn applies the In predicate on the "purpose_and_scope" field.

func PurposeAndScopeIsNil

func PurposeAndScopeIsNil() predicate.Standard

PurposeAndScopeIsNil applies the IsNil predicate on the "purpose_and_scope" field.

func PurposeAndScopeLT

func PurposeAndScopeLT(v string) predicate.Standard

PurposeAndScopeLT applies the LT predicate on the "purpose_and_scope" field.

func PurposeAndScopeLTE

func PurposeAndScopeLTE(v string) predicate.Standard

PurposeAndScopeLTE applies the LTE predicate on the "purpose_and_scope" field.

func PurposeAndScopeNEQ

func PurposeAndScopeNEQ(v string) predicate.Standard

PurposeAndScopeNEQ applies the NEQ predicate on the "purpose_and_scope" field.

func PurposeAndScopeNotIn

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

PurposeAndScopeNotIn applies the NotIn predicate on the "purpose_and_scope" field.

func PurposeAndScopeNotNil

func PurposeAndScopeNotNil() predicate.Standard

PurposeAndScopeNotNil applies the NotNil predicate on the "purpose_and_scope" field.

func Satisfies

func Satisfies(v string) predicate.Standard

Satisfies applies equality check predicate on the "satisfies" field. It's identical to SatisfiesEQ.

func SatisfiesContains

func SatisfiesContains(v string) predicate.Standard

SatisfiesContains applies the Contains predicate on the "satisfies" field.

func SatisfiesContainsFold

func SatisfiesContainsFold(v string) predicate.Standard

SatisfiesContainsFold applies the ContainsFold predicate on the "satisfies" field.

func SatisfiesEQ

func SatisfiesEQ(v string) predicate.Standard

SatisfiesEQ applies the EQ predicate on the "satisfies" field.

func SatisfiesEqualFold

func SatisfiesEqualFold(v string) predicate.Standard

SatisfiesEqualFold applies the EqualFold predicate on the "satisfies" field.

func SatisfiesGT

func SatisfiesGT(v string) predicate.Standard

SatisfiesGT applies the GT predicate on the "satisfies" field.

func SatisfiesGTE

func SatisfiesGTE(v string) predicate.Standard

SatisfiesGTE applies the GTE predicate on the "satisfies" field.

func SatisfiesHasPrefix

func SatisfiesHasPrefix(v string) predicate.Standard

SatisfiesHasPrefix applies the HasPrefix predicate on the "satisfies" field.

func SatisfiesHasSuffix

func SatisfiesHasSuffix(v string) predicate.Standard

SatisfiesHasSuffix applies the HasSuffix predicate on the "satisfies" field.

func SatisfiesIn

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

SatisfiesIn applies the In predicate on the "satisfies" field.

func SatisfiesIsNil

func SatisfiesIsNil() predicate.Standard

SatisfiesIsNil applies the IsNil predicate on the "satisfies" field.

func SatisfiesLT

func SatisfiesLT(v string) predicate.Standard

SatisfiesLT applies the LT predicate on the "satisfies" field.

func SatisfiesLTE

func SatisfiesLTE(v string) predicate.Standard

SatisfiesLTE applies the LTE predicate on the "satisfies" field.

func SatisfiesNEQ

func SatisfiesNEQ(v string) predicate.Standard

SatisfiesNEQ applies the NEQ predicate on the "satisfies" field.

func SatisfiesNotIn

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

SatisfiesNotIn applies the NotIn predicate on the "satisfies" field.

func SatisfiesNotNil

func SatisfiesNotNil() predicate.Standard

SatisfiesNotNil applies the NotNil predicate on the "satisfies" 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 Status

func Status(v string) predicate.Standard

Status applies equality check predicate on the "status" field. It's identical to StatusEQ.

func StatusContains

func StatusContains(v string) predicate.Standard

StatusContains applies the Contains predicate on the "status" field.

func StatusContainsFold

func StatusContainsFold(v string) predicate.Standard

StatusContainsFold applies the ContainsFold predicate on the "status" field.

func StatusEQ

func StatusEQ(v string) predicate.Standard

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

func StatusEqualFold

func StatusEqualFold(v string) predicate.Standard

StatusEqualFold applies the EqualFold predicate on the "status" field.

func StatusGT

func StatusGT(v string) predicate.Standard

StatusGT applies the GT predicate on the "status" field.

func StatusGTE

func StatusGTE(v string) predicate.Standard

StatusGTE applies the GTE predicate on the "status" field.

func StatusHasPrefix

func StatusHasPrefix(v string) predicate.Standard

StatusHasPrefix applies the HasPrefix predicate on the "status" field.

func StatusHasSuffix

func StatusHasSuffix(v string) predicate.Standard

StatusHasSuffix applies the HasSuffix predicate on the "status" field.

func StatusIn

func StatusIn(vs ...string) 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 StatusLT

func StatusLT(v string) predicate.Standard

StatusLT applies the LT predicate on the "status" field.

func StatusLTE

func StatusLTE(v string) predicate.Standard

StatusLTE applies the LTE predicate on the "status" field.

func StatusNEQ

func StatusNEQ(v string) predicate.Standard

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

func StatusNotIn

func StatusNotIn(vs ...string) 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 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 ByActionplans

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

ByActionplans orders the results by actionplans terms.

func ByActionplansCount

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

ByActionplansCount orders the results by actionplans count.

func ByBackground

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

ByBackground orders the results by the background field.

func ByControlobjectives

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

ByControlobjectives orders the results by controlobjectives terms.

func ByControlobjectivesCount

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

ByControlobjectivesCount orders the results by controlobjectives 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 ByFamily

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

ByFamily orders the results by the family field.

func ByID

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

ByID orders the results by the id field.

func ByMappingID

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

ByMappingID orders the results by the mapping_id field.

func ByName

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

ByName orders the results by the name field.

func ByProcedures

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

ByProcedures orders the results by procedures terms.

func ByProceduresCount

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

ByProceduresCount orders the results by procedures count.

func ByPrograms added in v0.3.5

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

ByPrograms orders the results by programs terms.

func ByProgramsCount added in v0.3.5

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

ByProgramsCount orders the results by programs count.

func ByPurposeAndScope

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

ByPurposeAndScope orders the results by the purpose_and_scope field.

func BySatisfies

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

BySatisfies orders the results by the satisfies 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 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