certificate

package
v0.0.0-...-1cc1a95 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the certificate type in the database.
	Label = "certificate"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldCode holds the string denoting the code field in the database.
	FieldCode = "code"
	// FieldDescription holds the string denoting the description field in the database.
	FieldDescription = "description"
	// FieldDepartment holds the string denoting the department field in the database.
	FieldDepartment = "department"
	// FieldIssueDate holds the string denoting the issue_date field in the database.
	FieldIssueDate = "issue_date"
	// FieldCertificateType holds the string denoting the certificate_type field in the database.
	FieldCertificateType = "certificate_type"
	// FieldCertificateLevel holds the string denoting the certificate_level field in the database.
	FieldCertificateLevel = "certificate_level"
	// FieldCertificateType2 holds the string denoting the certificate_type2 field in the database.
	FieldCertificateType2 = "certificate_type2"
	// FieldAwardCategory holds the string denoting the award_category field in the database.
	FieldAwardCategory = "award_category"
	// FieldCertificateImage holds the string denoting the certificate_image field in the database.
	FieldCertificateImage = "certificate_image"
	// EdgeStudent holds the string denoting the student edge name in mutations.
	EdgeStudent = "student"
	// Table holds the table name of the certificate in the database.
	Table = "certificates"
	// StudentTable is the table that holds the student relation/edge.
	StudentTable = "certificates"
	// StudentInverseTable is the table name for the Student entity.
	// It exists in this package in order to avoid circular dependency with the "student" package.
	StudentInverseTable = "students"
	// StudentColumn is the table column denoting the student relation/edge.
	StudentColumn = "certificate_student"
)

Variables

Columns holds all SQL columns for certificate fields.

View Source
var ForeignKeys = []string{
	"certificate_student",
}

ForeignKeys holds the SQL foreign-keys that are owned by the "certificates" table and are not defined as standalone fields in the schema.

Functions

func And

func And(predicates ...predicate.Certificate) predicate.Certificate

And groups predicates with the AND operator between them.

func AwardCategory

func AwardCategory(v string) predicate.Certificate

AwardCategory applies equality check predicate on the "award_category" field. It's identical to AwardCategoryEQ.

func AwardCategoryContains

func AwardCategoryContains(v string) predicate.Certificate

AwardCategoryContains applies the Contains predicate on the "award_category" field.

func AwardCategoryContainsFold

func AwardCategoryContainsFold(v string) predicate.Certificate

AwardCategoryContainsFold applies the ContainsFold predicate on the "award_category" field.

func AwardCategoryEQ

func AwardCategoryEQ(v string) predicate.Certificate

AwardCategoryEQ applies the EQ predicate on the "award_category" field.

func AwardCategoryEqualFold

func AwardCategoryEqualFold(v string) predicate.Certificate

AwardCategoryEqualFold applies the EqualFold predicate on the "award_category" field.

func AwardCategoryGT

func AwardCategoryGT(v string) predicate.Certificate

AwardCategoryGT applies the GT predicate on the "award_category" field.

func AwardCategoryGTE

func AwardCategoryGTE(v string) predicate.Certificate

AwardCategoryGTE applies the GTE predicate on the "award_category" field.

func AwardCategoryHasPrefix

func AwardCategoryHasPrefix(v string) predicate.Certificate

AwardCategoryHasPrefix applies the HasPrefix predicate on the "award_category" field.

func AwardCategoryHasSuffix

func AwardCategoryHasSuffix(v string) predicate.Certificate

AwardCategoryHasSuffix applies the HasSuffix predicate on the "award_category" field.

func AwardCategoryIn

func AwardCategoryIn(vs ...string) predicate.Certificate

AwardCategoryIn applies the In predicate on the "award_category" field.

func AwardCategoryLT

func AwardCategoryLT(v string) predicate.Certificate

AwardCategoryLT applies the LT predicate on the "award_category" field.

func AwardCategoryLTE

func AwardCategoryLTE(v string) predicate.Certificate

AwardCategoryLTE applies the LTE predicate on the "award_category" field.

func AwardCategoryNEQ

func AwardCategoryNEQ(v string) predicate.Certificate

AwardCategoryNEQ applies the NEQ predicate on the "award_category" field.

func AwardCategoryNotIn

func AwardCategoryNotIn(vs ...string) predicate.Certificate

AwardCategoryNotIn applies the NotIn predicate on the "award_category" field.

func CertificateImage

func CertificateImage(v []byte) predicate.Certificate

CertificateImage applies equality check predicate on the "certificate_image" field. It's identical to CertificateImageEQ.

func CertificateImageEQ

func CertificateImageEQ(v []byte) predicate.Certificate

CertificateImageEQ applies the EQ predicate on the "certificate_image" field.

func CertificateImageGT

func CertificateImageGT(v []byte) predicate.Certificate

CertificateImageGT applies the GT predicate on the "certificate_image" field.

func CertificateImageGTE

func CertificateImageGTE(v []byte) predicate.Certificate

CertificateImageGTE applies the GTE predicate on the "certificate_image" field.

func CertificateImageIn

func CertificateImageIn(vs ...[]byte) predicate.Certificate

CertificateImageIn applies the In predicate on the "certificate_image" field.

func CertificateImageLT

func CertificateImageLT(v []byte) predicate.Certificate

CertificateImageLT applies the LT predicate on the "certificate_image" field.

func CertificateImageLTE

func CertificateImageLTE(v []byte) predicate.Certificate

CertificateImageLTE applies the LTE predicate on the "certificate_image" field.

func CertificateImageNEQ

func CertificateImageNEQ(v []byte) predicate.Certificate

CertificateImageNEQ applies the NEQ predicate on the "certificate_image" field.

func CertificateImageNotIn

func CertificateImageNotIn(vs ...[]byte) predicate.Certificate

CertificateImageNotIn applies the NotIn predicate on the "certificate_image" field.

func CertificateLevel

func CertificateLevel(v string) predicate.Certificate

CertificateLevel applies equality check predicate on the "certificate_level" field. It's identical to CertificateLevelEQ.

func CertificateLevelContains

func CertificateLevelContains(v string) predicate.Certificate

CertificateLevelContains applies the Contains predicate on the "certificate_level" field.

func CertificateLevelContainsFold

func CertificateLevelContainsFold(v string) predicate.Certificate

CertificateLevelContainsFold applies the ContainsFold predicate on the "certificate_level" field.

func CertificateLevelEQ

func CertificateLevelEQ(v string) predicate.Certificate

CertificateLevelEQ applies the EQ predicate on the "certificate_level" field.

func CertificateLevelEqualFold

func CertificateLevelEqualFold(v string) predicate.Certificate

CertificateLevelEqualFold applies the EqualFold predicate on the "certificate_level" field.

func CertificateLevelGT

func CertificateLevelGT(v string) predicate.Certificate

CertificateLevelGT applies the GT predicate on the "certificate_level" field.

func CertificateLevelGTE

func CertificateLevelGTE(v string) predicate.Certificate

CertificateLevelGTE applies the GTE predicate on the "certificate_level" field.

func CertificateLevelHasPrefix

func CertificateLevelHasPrefix(v string) predicate.Certificate

CertificateLevelHasPrefix applies the HasPrefix predicate on the "certificate_level" field.

func CertificateLevelHasSuffix

func CertificateLevelHasSuffix(v string) predicate.Certificate

CertificateLevelHasSuffix applies the HasSuffix predicate on the "certificate_level" field.

func CertificateLevelIn

func CertificateLevelIn(vs ...string) predicate.Certificate

CertificateLevelIn applies the In predicate on the "certificate_level" field.

func CertificateLevelLT

func CertificateLevelLT(v string) predicate.Certificate

CertificateLevelLT applies the LT predicate on the "certificate_level" field.

func CertificateLevelLTE

func CertificateLevelLTE(v string) predicate.Certificate

CertificateLevelLTE applies the LTE predicate on the "certificate_level" field.

func CertificateLevelNEQ

func CertificateLevelNEQ(v string) predicate.Certificate

CertificateLevelNEQ applies the NEQ predicate on the "certificate_level" field.

func CertificateLevelNotIn

func CertificateLevelNotIn(vs ...string) predicate.Certificate

CertificateLevelNotIn applies the NotIn predicate on the "certificate_level" field.

func CertificateType

func CertificateType(v string) predicate.Certificate

CertificateType applies equality check predicate on the "certificate_type" field. It's identical to CertificateTypeEQ.

func CertificateType2

func CertificateType2(v string) predicate.Certificate

CertificateType2 applies equality check predicate on the "certificate_type2" field. It's identical to CertificateType2EQ.

func CertificateType2Contains

func CertificateType2Contains(v string) predicate.Certificate

CertificateType2Contains applies the Contains predicate on the "certificate_type2" field.

func CertificateType2ContainsFold

func CertificateType2ContainsFold(v string) predicate.Certificate

CertificateType2ContainsFold applies the ContainsFold predicate on the "certificate_type2" field.

func CertificateType2EQ

func CertificateType2EQ(v string) predicate.Certificate

CertificateType2EQ applies the EQ predicate on the "certificate_type2" field.

func CertificateType2EqualFold

func CertificateType2EqualFold(v string) predicate.Certificate

CertificateType2EqualFold applies the EqualFold predicate on the "certificate_type2" field.

func CertificateType2GT

func CertificateType2GT(v string) predicate.Certificate

CertificateType2GT applies the GT predicate on the "certificate_type2" field.

func CertificateType2GTE

func CertificateType2GTE(v string) predicate.Certificate

CertificateType2GTE applies the GTE predicate on the "certificate_type2" field.

func CertificateType2HasPrefix

func CertificateType2HasPrefix(v string) predicate.Certificate

CertificateType2HasPrefix applies the HasPrefix predicate on the "certificate_type2" field.

func CertificateType2HasSuffix

func CertificateType2HasSuffix(v string) predicate.Certificate

CertificateType2HasSuffix applies the HasSuffix predicate on the "certificate_type2" field.

func CertificateType2In

func CertificateType2In(vs ...string) predicate.Certificate

CertificateType2In applies the In predicate on the "certificate_type2" field.

func CertificateType2LT

func CertificateType2LT(v string) predicate.Certificate

CertificateType2LT applies the LT predicate on the "certificate_type2" field.

func CertificateType2LTE

func CertificateType2LTE(v string) predicate.Certificate

CertificateType2LTE applies the LTE predicate on the "certificate_type2" field.

func CertificateType2NEQ

func CertificateType2NEQ(v string) predicate.Certificate

CertificateType2NEQ applies the NEQ predicate on the "certificate_type2" field.

func CertificateType2NotIn

func CertificateType2NotIn(vs ...string) predicate.Certificate

CertificateType2NotIn applies the NotIn predicate on the "certificate_type2" field.

func CertificateTypeContains

func CertificateTypeContains(v string) predicate.Certificate

CertificateTypeContains applies the Contains predicate on the "certificate_type" field.

func CertificateTypeContainsFold

func CertificateTypeContainsFold(v string) predicate.Certificate

CertificateTypeContainsFold applies the ContainsFold predicate on the "certificate_type" field.

func CertificateTypeEQ

func CertificateTypeEQ(v string) predicate.Certificate

CertificateTypeEQ applies the EQ predicate on the "certificate_type" field.

func CertificateTypeEqualFold

func CertificateTypeEqualFold(v string) predicate.Certificate

CertificateTypeEqualFold applies the EqualFold predicate on the "certificate_type" field.

func CertificateTypeGT

func CertificateTypeGT(v string) predicate.Certificate

CertificateTypeGT applies the GT predicate on the "certificate_type" field.

func CertificateTypeGTE

func CertificateTypeGTE(v string) predicate.Certificate

CertificateTypeGTE applies the GTE predicate on the "certificate_type" field.

func CertificateTypeHasPrefix

func CertificateTypeHasPrefix(v string) predicate.Certificate

CertificateTypeHasPrefix applies the HasPrefix predicate on the "certificate_type" field.

func CertificateTypeHasSuffix

func CertificateTypeHasSuffix(v string) predicate.Certificate

CertificateTypeHasSuffix applies the HasSuffix predicate on the "certificate_type" field.

func CertificateTypeIn

func CertificateTypeIn(vs ...string) predicate.Certificate

CertificateTypeIn applies the In predicate on the "certificate_type" field.

func CertificateTypeLT

func CertificateTypeLT(v string) predicate.Certificate

CertificateTypeLT applies the LT predicate on the "certificate_type" field.

func CertificateTypeLTE

func CertificateTypeLTE(v string) predicate.Certificate

CertificateTypeLTE applies the LTE predicate on the "certificate_type" field.

func CertificateTypeNEQ

func CertificateTypeNEQ(v string) predicate.Certificate

CertificateTypeNEQ applies the NEQ predicate on the "certificate_type" field.

func CertificateTypeNotIn

func CertificateTypeNotIn(vs ...string) predicate.Certificate

CertificateTypeNotIn applies the NotIn predicate on the "certificate_type" field.

func Code

Code applies equality check predicate on the "code" field. It's identical to CodeEQ.

func CodeContains

func CodeContains(v string) predicate.Certificate

CodeContains applies the Contains predicate on the "code" field.

func CodeContainsFold

func CodeContainsFold(v string) predicate.Certificate

CodeContainsFold applies the ContainsFold predicate on the "code" field.

func CodeEQ

func CodeEQ(v string) predicate.Certificate

CodeEQ applies the EQ predicate on the "code" field.

func CodeEqualFold

func CodeEqualFold(v string) predicate.Certificate

CodeEqualFold applies the EqualFold predicate on the "code" field.

func CodeGT

func CodeGT(v string) predicate.Certificate

CodeGT applies the GT predicate on the "code" field.

func CodeGTE

func CodeGTE(v string) predicate.Certificate

CodeGTE applies the GTE predicate on the "code" field.

func CodeHasPrefix

func CodeHasPrefix(v string) predicate.Certificate

CodeHasPrefix applies the HasPrefix predicate on the "code" field.

func CodeHasSuffix

func CodeHasSuffix(v string) predicate.Certificate

CodeHasSuffix applies the HasSuffix predicate on the "code" field.

func CodeIn

func CodeIn(vs ...string) predicate.Certificate

CodeIn applies the In predicate on the "code" field.

func CodeLT

func CodeLT(v string) predicate.Certificate

CodeLT applies the LT predicate on the "code" field.

func CodeLTE

func CodeLTE(v string) predicate.Certificate

CodeLTE applies the LTE predicate on the "code" field.

func CodeNEQ

func CodeNEQ(v string) predicate.Certificate

CodeNEQ applies the NEQ predicate on the "code" field.

func CodeNotIn

func CodeNotIn(vs ...string) predicate.Certificate

CodeNotIn applies the NotIn predicate on the "code" field.

func Department

func Department(v string) predicate.Certificate

Department applies equality check predicate on the "department" field. It's identical to DepartmentEQ.

func DepartmentContains

func DepartmentContains(v string) predicate.Certificate

DepartmentContains applies the Contains predicate on the "department" field.

func DepartmentContainsFold

func DepartmentContainsFold(v string) predicate.Certificate

DepartmentContainsFold applies the ContainsFold predicate on the "department" field.

func DepartmentEQ

func DepartmentEQ(v string) predicate.Certificate

DepartmentEQ applies the EQ predicate on the "department" field.

func DepartmentEqualFold

func DepartmentEqualFold(v string) predicate.Certificate

DepartmentEqualFold applies the EqualFold predicate on the "department" field.

func DepartmentGT

func DepartmentGT(v string) predicate.Certificate

DepartmentGT applies the GT predicate on the "department" field.

func DepartmentGTE

func DepartmentGTE(v string) predicate.Certificate

DepartmentGTE applies the GTE predicate on the "department" field.

func DepartmentHasPrefix

func DepartmentHasPrefix(v string) predicate.Certificate

DepartmentHasPrefix applies the HasPrefix predicate on the "department" field.

func DepartmentHasSuffix

func DepartmentHasSuffix(v string) predicate.Certificate

DepartmentHasSuffix applies the HasSuffix predicate on the "department" field.

func DepartmentIn

func DepartmentIn(vs ...string) predicate.Certificate

DepartmentIn applies the In predicate on the "department" field.

func DepartmentLT

func DepartmentLT(v string) predicate.Certificate

DepartmentLT applies the LT predicate on the "department" field.

func DepartmentLTE

func DepartmentLTE(v string) predicate.Certificate

DepartmentLTE applies the LTE predicate on the "department" field.

func DepartmentNEQ

func DepartmentNEQ(v string) predicate.Certificate

DepartmentNEQ applies the NEQ predicate on the "department" field.

func DepartmentNotIn

func DepartmentNotIn(vs ...string) predicate.Certificate

DepartmentNotIn applies the NotIn predicate on the "department" field.

func Description

func Description(v string) predicate.Certificate

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

func DescriptionContains

func DescriptionContains(v string) predicate.Certificate

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

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.Certificate

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

func DescriptionEQ

func DescriptionEQ(v string) predicate.Certificate

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

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.Certificate

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

func DescriptionGT

func DescriptionGT(v string) predicate.Certificate

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

func DescriptionGTE

func DescriptionGTE(v string) predicate.Certificate

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

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.Certificate

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

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.Certificate

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

func DescriptionIn

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

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

func DescriptionLT

func DescriptionLT(v string) predicate.Certificate

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

func DescriptionLTE

func DescriptionLTE(v string) predicate.Certificate

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

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.Certificate

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

func DescriptionNotIn

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

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

func HasStudent

func HasStudent() predicate.Certificate

HasStudent applies the HasEdge predicate on the "student" edge.

func HasStudentWith

func HasStudentWith(preds ...predicate.Student) predicate.Certificate

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

func ID

func ID(id int) predicate.Certificate

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Certificate

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Certificate

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Certificate

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.Certificate

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Certificate

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Certificate

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Certificate

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.Certificate

IDNotIn applies the NotIn predicate on the ID field.

func IssueDate

func IssueDate(v string) predicate.Certificate

IssueDate applies equality check predicate on the "issue_date" field. It's identical to IssueDateEQ.

func IssueDateContains

func IssueDateContains(v string) predicate.Certificate

IssueDateContains applies the Contains predicate on the "issue_date" field.

func IssueDateContainsFold

func IssueDateContainsFold(v string) predicate.Certificate

IssueDateContainsFold applies the ContainsFold predicate on the "issue_date" field.

func IssueDateEQ

func IssueDateEQ(v string) predicate.Certificate

IssueDateEQ applies the EQ predicate on the "issue_date" field.

func IssueDateEqualFold

func IssueDateEqualFold(v string) predicate.Certificate

IssueDateEqualFold applies the EqualFold predicate on the "issue_date" field.

func IssueDateGT

func IssueDateGT(v string) predicate.Certificate

IssueDateGT applies the GT predicate on the "issue_date" field.

func IssueDateGTE

func IssueDateGTE(v string) predicate.Certificate

IssueDateGTE applies the GTE predicate on the "issue_date" field.

func IssueDateHasPrefix

func IssueDateHasPrefix(v string) predicate.Certificate

IssueDateHasPrefix applies the HasPrefix predicate on the "issue_date" field.

func IssueDateHasSuffix

func IssueDateHasSuffix(v string) predicate.Certificate

IssueDateHasSuffix applies the HasSuffix predicate on the "issue_date" field.

func IssueDateIn

func IssueDateIn(vs ...string) predicate.Certificate

IssueDateIn applies the In predicate on the "issue_date" field.

func IssueDateLT

func IssueDateLT(v string) predicate.Certificate

IssueDateLT applies the LT predicate on the "issue_date" field.

func IssueDateLTE

func IssueDateLTE(v string) predicate.Certificate

IssueDateLTE applies the LTE predicate on the "issue_date" field.

func IssueDateNEQ

func IssueDateNEQ(v string) predicate.Certificate

IssueDateNEQ applies the NEQ predicate on the "issue_date" field.

func IssueDateNotIn

func IssueDateNotIn(vs ...string) predicate.Certificate

IssueDateNotIn applies the NotIn predicate on the "issue_date" field.

func Name

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

func NameContains

func NameContains(v string) predicate.Certificate

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

func NameContainsFold

func NameContainsFold(v string) predicate.Certificate

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

func NameEQ

func NameEQ(v string) predicate.Certificate

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

func NameEqualFold

func NameEqualFold(v string) predicate.Certificate

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

func NameGT

func NameGT(v string) predicate.Certificate

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

func NameGTE

func NameGTE(v string) predicate.Certificate

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.Certificate

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.Certificate

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

func NameIn

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

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

func NameLT

func NameLT(v string) predicate.Certificate

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

func NameLTE

func NameLTE(v string) predicate.Certificate

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

func NameNEQ

func NameNEQ(v string) predicate.Certificate

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

func NameNotIn

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

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.Certificate) predicate.Certificate

Or groups predicates with the OR operator between them.

func ValidColumn

func ValidColumn(column string) bool

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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