reviewer

package
v0.0.0-...-0fbf3a3 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the reviewer type in the database.
	Label = "reviewer"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldReviewerID holds the string denoting the reviewer_id field in the database.
	FieldReviewerID = "reviewer_id"
	// FieldReviewerName holds the string denoting the reviewer_name field in the database.
	FieldReviewerName = "reviewer_name"
	// FieldIimsRole holds the string denoting the iims_role field in the database.
	FieldIimsRole = "iims_role"
	// FieldCreatedDtime holds the string denoting the created_dtime field in the database.
	FieldCreatedDtime = "created_dtime"
	// Table holds the table name of the reviewer in the database.
	Table = "reviewers"
)

Variables

View Source
var (
	// ReviewerIDValidator is a validator for the "reviewer_id" field. It is called by the builders before save.
	ReviewerIDValidator func(string) error
	// ReviewerNameValidator is a validator for the "reviewer_name" field. It is called by the builders before save.
	ReviewerNameValidator func(string) error
	// DefaultCreatedDtime holds the default value on creation for the "created_dtime" field.
	DefaultCreatedDtime func() time.Time
)

Columns holds all SQL columns for reviewer fields.

Functions

func And

func And(predicates ...predicate.Reviewer) predicate.Reviewer

And groups predicates with the AND operator between them.

func CreatedDtime

func CreatedDtime(v time.Time) predicate.Reviewer

CreatedDtime applies equality check predicate on the "created_dtime" field. It's identical to CreatedDtimeEQ.

func CreatedDtimeEQ

func CreatedDtimeEQ(v time.Time) predicate.Reviewer

CreatedDtimeEQ applies the EQ predicate on the "created_dtime" field.

func CreatedDtimeGT

func CreatedDtimeGT(v time.Time) predicate.Reviewer

CreatedDtimeGT applies the GT predicate on the "created_dtime" field.

func CreatedDtimeGTE

func CreatedDtimeGTE(v time.Time) predicate.Reviewer

CreatedDtimeGTE applies the GTE predicate on the "created_dtime" field.

func CreatedDtimeIn

func CreatedDtimeIn(vs ...time.Time) predicate.Reviewer

CreatedDtimeIn applies the In predicate on the "created_dtime" field.

func CreatedDtimeLT

func CreatedDtimeLT(v time.Time) predicate.Reviewer

CreatedDtimeLT applies the LT predicate on the "created_dtime" field.

func CreatedDtimeLTE

func CreatedDtimeLTE(v time.Time) predicate.Reviewer

CreatedDtimeLTE applies the LTE predicate on the "created_dtime" field.

func CreatedDtimeNEQ

func CreatedDtimeNEQ(v time.Time) predicate.Reviewer

CreatedDtimeNEQ applies the NEQ predicate on the "created_dtime" field.

func CreatedDtimeNotIn

func CreatedDtimeNotIn(vs ...time.Time) predicate.Reviewer

CreatedDtimeNotIn applies the NotIn predicate on the "created_dtime" field.

func ID

func ID(id int) predicate.Reviewer

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Reviewer

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Reviewer

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Reviewer

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Reviewer

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Reviewer

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Reviewer

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func IimsRoleEQ

func IimsRoleEQ(v IimsRole) predicate.Reviewer

IimsRoleEQ applies the EQ predicate on the "iims_role" field.

func IimsRoleIn

func IimsRoleIn(vs ...IimsRole) predicate.Reviewer

IimsRoleIn applies the In predicate on the "iims_role" field.

func IimsRoleNEQ

func IimsRoleNEQ(v IimsRole) predicate.Reviewer

IimsRoleNEQ applies the NEQ predicate on the "iims_role" field.

func IimsRoleNotIn

func IimsRoleNotIn(vs ...IimsRole) predicate.Reviewer

IimsRoleNotIn applies the NotIn predicate on the "iims_role" field.

func IimsRoleValidator

func IimsRoleValidator(ir IimsRole) error

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

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Reviewer) predicate.Reviewer

Or groups predicates with the OR operator between them.

func ReviewerID

func ReviewerID(v string) predicate.Reviewer

ReviewerID applies equality check predicate on the "reviewer_id" field. It's identical to ReviewerIDEQ.

func ReviewerIDContains

func ReviewerIDContains(v string) predicate.Reviewer

ReviewerIDContains applies the Contains predicate on the "reviewer_id" field.

func ReviewerIDContainsFold

func ReviewerIDContainsFold(v string) predicate.Reviewer

ReviewerIDContainsFold applies the ContainsFold predicate on the "reviewer_id" field.

func ReviewerIDEQ

func ReviewerIDEQ(v string) predicate.Reviewer

ReviewerIDEQ applies the EQ predicate on the "reviewer_id" field.

func ReviewerIDEqualFold

func ReviewerIDEqualFold(v string) predicate.Reviewer

ReviewerIDEqualFold applies the EqualFold predicate on the "reviewer_id" field.

func ReviewerIDGT

func ReviewerIDGT(v string) predicate.Reviewer

ReviewerIDGT applies the GT predicate on the "reviewer_id" field.

func ReviewerIDGTE

func ReviewerIDGTE(v string) predicate.Reviewer

ReviewerIDGTE applies the GTE predicate on the "reviewer_id" field.

func ReviewerIDHasPrefix

func ReviewerIDHasPrefix(v string) predicate.Reviewer

ReviewerIDHasPrefix applies the HasPrefix predicate on the "reviewer_id" field.

func ReviewerIDHasSuffix

func ReviewerIDHasSuffix(v string) predicate.Reviewer

ReviewerIDHasSuffix applies the HasSuffix predicate on the "reviewer_id" field.

func ReviewerIDIn

func ReviewerIDIn(vs ...string) predicate.Reviewer

ReviewerIDIn applies the In predicate on the "reviewer_id" field.

func ReviewerIDLT

func ReviewerIDLT(v string) predicate.Reviewer

ReviewerIDLT applies the LT predicate on the "reviewer_id" field.

func ReviewerIDLTE

func ReviewerIDLTE(v string) predicate.Reviewer

ReviewerIDLTE applies the LTE predicate on the "reviewer_id" field.

func ReviewerIDNEQ

func ReviewerIDNEQ(v string) predicate.Reviewer

ReviewerIDNEQ applies the NEQ predicate on the "reviewer_id" field.

func ReviewerIDNotIn

func ReviewerIDNotIn(vs ...string) predicate.Reviewer

ReviewerIDNotIn applies the NotIn predicate on the "reviewer_id" field.

func ReviewerName

func ReviewerName(v string) predicate.Reviewer

ReviewerName applies equality check predicate on the "reviewer_name" field. It's identical to ReviewerNameEQ.

func ReviewerNameContains

func ReviewerNameContains(v string) predicate.Reviewer

ReviewerNameContains applies the Contains predicate on the "reviewer_name" field.

func ReviewerNameContainsFold

func ReviewerNameContainsFold(v string) predicate.Reviewer

ReviewerNameContainsFold applies the ContainsFold predicate on the "reviewer_name" field.

func ReviewerNameEQ

func ReviewerNameEQ(v string) predicate.Reviewer

ReviewerNameEQ applies the EQ predicate on the "reviewer_name" field.

func ReviewerNameEqualFold

func ReviewerNameEqualFold(v string) predicate.Reviewer

ReviewerNameEqualFold applies the EqualFold predicate on the "reviewer_name" field.

func ReviewerNameGT

func ReviewerNameGT(v string) predicate.Reviewer

ReviewerNameGT applies the GT predicate on the "reviewer_name" field.

func ReviewerNameGTE

func ReviewerNameGTE(v string) predicate.Reviewer

ReviewerNameGTE applies the GTE predicate on the "reviewer_name" field.

func ReviewerNameHasPrefix

func ReviewerNameHasPrefix(v string) predicate.Reviewer

ReviewerNameHasPrefix applies the HasPrefix predicate on the "reviewer_name" field.

func ReviewerNameHasSuffix

func ReviewerNameHasSuffix(v string) predicate.Reviewer

ReviewerNameHasSuffix applies the HasSuffix predicate on the "reviewer_name" field.

func ReviewerNameIn

func ReviewerNameIn(vs ...string) predicate.Reviewer

ReviewerNameIn applies the In predicate on the "reviewer_name" field.

func ReviewerNameLT

func ReviewerNameLT(v string) predicate.Reviewer

ReviewerNameLT applies the LT predicate on the "reviewer_name" field.

func ReviewerNameLTE

func ReviewerNameLTE(v string) predicate.Reviewer

ReviewerNameLTE applies the LTE predicate on the "reviewer_name" field.

func ReviewerNameNEQ

func ReviewerNameNEQ(v string) predicate.Reviewer

ReviewerNameNEQ applies the NEQ predicate on the "reviewer_name" field.

func ReviewerNameNotIn

func ReviewerNameNotIn(vs ...string) predicate.Reviewer

ReviewerNameNotIn applies the NotIn predicate on the "reviewer_name" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

type IimsRole

type IimsRole string

IimsRole defines the type for the "iims_role" enum field.

const (
	IimsRoleOavAdmin    IimsRole = "oav_admin"
	IimsRoleOavReviewer IimsRole = "oav_reviewer"
)

IimsRole values.

func (IimsRole) String

func (ir IimsRole) String() string

Jump to

Keyboard shortcuts

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