incidentbasicrule

package
v0.0.0-...-5f03dfb Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the incidentbasicrule type in the database.
	Label = "incident_basic_rule"
	// 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"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_at"
	// 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"
	// FieldQuery holds the string denoting the query field in the database.
	FieldQuery = "query"
	// Table holds the table name of the incidentbasicrule in the database.
	Table = "incidentBasicRules"
)

Variables

View Source
var (
	// 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
	// DefaultDeletedAt holds the default value on creation for the "deleted_at" field.
	DefaultDeletedAt func() time.Time
	// UpdateDefaultDeletedAt holds the default value on update for the "deleted_at" field.
	UpdateDefaultDeletedAt func() time.Time
)

Columns holds all SQL columns for incidentbasicrule fields.

Functions

func And

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.IncidentBasicRule

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.IncidentBasicRule

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.IncidentBasicRule

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.IncidentBasicRule

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.IncidentBasicRule

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.IncidentBasicRule

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.IncidentBasicRule

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

func CreatedAtNotIn

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

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

func DeletedAt

func DeletedAt(v time.Time) predicate.IncidentBasicRule

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.IncidentBasicRule

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.IncidentBasicRule

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.IncidentBasicRule

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

func DeletedAtIn

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

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

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.IncidentBasicRule

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.IncidentBasicRule

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.IncidentBasicRule

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

func DeletedAtNotIn

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

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

func Description

func Description(v string) predicate.IncidentBasicRule

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

func DescriptionContains

func DescriptionContains(v string) predicate.IncidentBasicRule

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

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.IncidentBasicRule

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

func DescriptionEQ

func DescriptionEQ(v string) predicate.IncidentBasicRule

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

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.IncidentBasicRule

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

func DescriptionGT

func DescriptionGT(v string) predicate.IncidentBasicRule

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

func DescriptionGTE

func DescriptionGTE(v string) predicate.IncidentBasicRule

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

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.IncidentBasicRule

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

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.IncidentBasicRule

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

func DescriptionIn

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

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

func DescriptionLT

func DescriptionLT(v string) predicate.IncidentBasicRule

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

func DescriptionLTE

func DescriptionLTE(v string) predicate.IncidentBasicRule

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

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.IncidentBasicRule

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

func DescriptionNotIn

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

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

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uint) predicate.IncidentBasicRule

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uint) predicate.IncidentBasicRule

IDNotIn applies the NotIn predicate on the ID field.

func Name

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

func NameContains

func NameContains(v string) predicate.IncidentBasicRule

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

func NameContainsFold

func NameContainsFold(v string) predicate.IncidentBasicRule

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

func NameEQ

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

func NameEqualFold

func NameEqualFold(v string) predicate.IncidentBasicRule

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

func NameGT

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

func NameGTE

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.IncidentBasicRule

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.IncidentBasicRule

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

func NameIn

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

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

func NameLT

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

func NameLTE

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

func NameNEQ

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

func NameNotIn

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

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

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func Query

Query applies equality check predicate on the "query" field. It's identical to QueryEQ.

func QueryContains

func QueryContains(v string) predicate.IncidentBasicRule

QueryContains applies the Contains predicate on the "query" field.

func QueryContainsFold

func QueryContainsFold(v string) predicate.IncidentBasicRule

QueryContainsFold applies the ContainsFold predicate on the "query" field.

func QueryEQ

QueryEQ applies the EQ predicate on the "query" field.

func QueryEqualFold

func QueryEqualFold(v string) predicate.IncidentBasicRule

QueryEqualFold applies the EqualFold predicate on the "query" field.

func QueryGT

QueryGT applies the GT predicate on the "query" field.

func QueryGTE

QueryGTE applies the GTE predicate on the "query" field.

func QueryHasPrefix

func QueryHasPrefix(v string) predicate.IncidentBasicRule

QueryHasPrefix applies the HasPrefix predicate on the "query" field.

func QueryHasSuffix

func QueryHasSuffix(v string) predicate.IncidentBasicRule

QueryHasSuffix applies the HasSuffix predicate on the "query" field.

func QueryIn

func QueryIn(vs ...string) predicate.IncidentBasicRule

QueryIn applies the In predicate on the "query" field.

func QueryLT

QueryLT applies the LT predicate on the "query" field.

func QueryLTE

QueryLTE applies the LTE predicate on the "query" field.

func QueryNEQ

QueryNEQ applies the NEQ predicate on the "query" field.

func QueryNotIn

func QueryNotIn(vs ...string) predicate.IncidentBasicRule

QueryNotIn applies the NotIn predicate on the "query" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.IncidentBasicRule

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.IncidentBasicRule

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.IncidentBasicRule

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.IncidentBasicRule

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.IncidentBasicRule

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.IncidentBasicRule

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.IncidentBasicRule

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

func UpdatedAtNotIn

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

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

func ValidColumn

func ValidColumn(column string) bool

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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