decision

package
v1.5.26 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the decision type in the database.
	Label = "decision"
	// 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"
	// FieldUntil holds the string denoting the until field in the database.
	FieldUntil = "until"
	// FieldScenario holds the string denoting the scenario field in the database.
	FieldScenario = "scenario"
	// FieldType holds the string denoting the type field in the database.
	FieldType = "type"
	// FieldStartIP holds the string denoting the start_ip field in the database.
	FieldStartIP = "start_ip"
	// FieldEndIP holds the string denoting the end_ip field in the database.
	FieldEndIP = "end_ip"
	// FieldStartSuffix holds the string denoting the start_suffix field in the database.
	FieldStartSuffix = "start_suffix"
	// FieldEndSuffix holds the string denoting the end_suffix field in the database.
	FieldEndSuffix = "end_suffix"
	// FieldIPSize holds the string denoting the ip_size field in the database.
	FieldIPSize = "ip_size"
	// FieldScope holds the string denoting the scope field in the database.
	FieldScope = "scope"
	// FieldValue holds the string denoting the value field in the database.
	FieldValue = "value"
	// FieldOrigin holds the string denoting the origin field in the database.
	FieldOrigin = "origin"
	// FieldSimulated holds the string denoting the simulated field in the database.
	FieldSimulated = "simulated"
	// FieldUUID holds the string denoting the uuid field in the database.
	FieldUUID = "uuid"
	// FieldAlertDecisions holds the string denoting the alert_decisions field in the database.
	FieldAlertDecisions = "alert_decisions"
	// EdgeOwner holds the string denoting the owner edge name in mutations.
	EdgeOwner = "owner"
	// Table holds the table name of the decision in the database.
	Table = "decisions"
	// OwnerTable is the table that holds the owner relation/edge.
	OwnerTable = "decisions"
	// OwnerInverseTable is the table name for the Alert entity.
	// It exists in this package in order to avoid circular dependency with the "alert" package.
	OwnerInverseTable = "alerts"
	// OwnerColumn is the table column denoting the owner relation/edge.
	OwnerColumn = "alert_decisions"
)

Variables

View Source
var (
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// UpdateDefaultCreatedAt holds the default value on update for the "created_at" field.
	UpdateDefaultCreatedAt 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
	// DefaultSimulated holds the default value on creation for the "simulated" field.
	DefaultSimulated bool
)

Columns holds all SQL columns for decision fields.

Functions

func AlertDecisions

func AlertDecisions(v int) predicate.Decision

AlertDecisions applies equality check predicate on the "alert_decisions" field. It's identical to AlertDecisionsEQ.

func AlertDecisionsEQ

func AlertDecisionsEQ(v int) predicate.Decision

AlertDecisionsEQ applies the EQ predicate on the "alert_decisions" field.

func AlertDecisionsIn

func AlertDecisionsIn(vs ...int) predicate.Decision

AlertDecisionsIn applies the In predicate on the "alert_decisions" field.

func AlertDecisionsIsNil

func AlertDecisionsIsNil() predicate.Decision

AlertDecisionsIsNil applies the IsNil predicate on the "alert_decisions" field.

func AlertDecisionsNEQ

func AlertDecisionsNEQ(v int) predicate.Decision

AlertDecisionsNEQ applies the NEQ predicate on the "alert_decisions" field.

func AlertDecisionsNotIn

func AlertDecisionsNotIn(vs ...int) predicate.Decision

AlertDecisionsNotIn applies the NotIn predicate on the "alert_decisions" field.

func AlertDecisionsNotNil

func AlertDecisionsNotNil() predicate.Decision

AlertDecisionsNotNil applies the NotNil predicate on the "alert_decisions" field.

func And

func And(predicates ...predicate.Decision) predicate.Decision

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.Decision

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Decision

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Decision

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Decision

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

func CreatedAtIn

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

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

func CreatedAtIsNil

func CreatedAtIsNil() predicate.Decision

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Decision

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Decision

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Decision

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

func CreatedAtNotIn

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

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

func CreatedAtNotNil

func CreatedAtNotNil() predicate.Decision

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

func EndIP

func EndIP(v int64) predicate.Decision

EndIP applies equality check predicate on the "end_ip" field. It's identical to EndIPEQ.

func EndIPEQ

func EndIPEQ(v int64) predicate.Decision

EndIPEQ applies the EQ predicate on the "end_ip" field.

func EndIPGT

func EndIPGT(v int64) predicate.Decision

EndIPGT applies the GT predicate on the "end_ip" field.

func EndIPGTE

func EndIPGTE(v int64) predicate.Decision

EndIPGTE applies the GTE predicate on the "end_ip" field.

func EndIPIn

func EndIPIn(vs ...int64) predicate.Decision

EndIPIn applies the In predicate on the "end_ip" field.

func EndIPIsNil

func EndIPIsNil() predicate.Decision

EndIPIsNil applies the IsNil predicate on the "end_ip" field.

func EndIPLT

func EndIPLT(v int64) predicate.Decision

EndIPLT applies the LT predicate on the "end_ip" field.

func EndIPLTE

func EndIPLTE(v int64) predicate.Decision

EndIPLTE applies the LTE predicate on the "end_ip" field.

func EndIPNEQ

func EndIPNEQ(v int64) predicate.Decision

EndIPNEQ applies the NEQ predicate on the "end_ip" field.

func EndIPNotIn

func EndIPNotIn(vs ...int64) predicate.Decision

EndIPNotIn applies the NotIn predicate on the "end_ip" field.

func EndIPNotNil

func EndIPNotNil() predicate.Decision

EndIPNotNil applies the NotNil predicate on the "end_ip" field.

func EndSuffix

func EndSuffix(v int64) predicate.Decision

EndSuffix applies equality check predicate on the "end_suffix" field. It's identical to EndSuffixEQ.

func EndSuffixEQ

func EndSuffixEQ(v int64) predicate.Decision

EndSuffixEQ applies the EQ predicate on the "end_suffix" field.

func EndSuffixGT

func EndSuffixGT(v int64) predicate.Decision

EndSuffixGT applies the GT predicate on the "end_suffix" field.

func EndSuffixGTE

func EndSuffixGTE(v int64) predicate.Decision

EndSuffixGTE applies the GTE predicate on the "end_suffix" field.

func EndSuffixIn

func EndSuffixIn(vs ...int64) predicate.Decision

EndSuffixIn applies the In predicate on the "end_suffix" field.

func EndSuffixIsNil

func EndSuffixIsNil() predicate.Decision

EndSuffixIsNil applies the IsNil predicate on the "end_suffix" field.

func EndSuffixLT

func EndSuffixLT(v int64) predicate.Decision

EndSuffixLT applies the LT predicate on the "end_suffix" field.

func EndSuffixLTE

func EndSuffixLTE(v int64) predicate.Decision

EndSuffixLTE applies the LTE predicate on the "end_suffix" field.

func EndSuffixNEQ

func EndSuffixNEQ(v int64) predicate.Decision

EndSuffixNEQ applies the NEQ predicate on the "end_suffix" field.

func EndSuffixNotIn

func EndSuffixNotIn(vs ...int64) predicate.Decision

EndSuffixNotIn applies the NotIn predicate on the "end_suffix" field.

func EndSuffixNotNil

func EndSuffixNotNil() predicate.Decision

EndSuffixNotNil applies the NotNil predicate on the "end_suffix" field.

func HasOwner

func HasOwner() predicate.Decision

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

func HasOwnerWith

func HasOwnerWith(preds ...predicate.Alert) predicate.Decision

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

func ID

func ID(id int) predicate.Decision

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Decision

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Decision

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Decision

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Decision

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Decision

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Decision

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func IPSize

func IPSize(v int64) predicate.Decision

IPSize applies equality check predicate on the "ip_size" field. It's identical to IPSizeEQ.

func IPSizeEQ

func IPSizeEQ(v int64) predicate.Decision

IPSizeEQ applies the EQ predicate on the "ip_size" field.

func IPSizeGT

func IPSizeGT(v int64) predicate.Decision

IPSizeGT applies the GT predicate on the "ip_size" field.

func IPSizeGTE

func IPSizeGTE(v int64) predicate.Decision

IPSizeGTE applies the GTE predicate on the "ip_size" field.

func IPSizeIn

func IPSizeIn(vs ...int64) predicate.Decision

IPSizeIn applies the In predicate on the "ip_size" field.

func IPSizeIsNil

func IPSizeIsNil() predicate.Decision

IPSizeIsNil applies the IsNil predicate on the "ip_size" field.

func IPSizeLT

func IPSizeLT(v int64) predicate.Decision

IPSizeLT applies the LT predicate on the "ip_size" field.

func IPSizeLTE

func IPSizeLTE(v int64) predicate.Decision

IPSizeLTE applies the LTE predicate on the "ip_size" field.

func IPSizeNEQ

func IPSizeNEQ(v int64) predicate.Decision

IPSizeNEQ applies the NEQ predicate on the "ip_size" field.

func IPSizeNotIn

func IPSizeNotIn(vs ...int64) predicate.Decision

IPSizeNotIn applies the NotIn predicate on the "ip_size" field.

func IPSizeNotNil

func IPSizeNotNil() predicate.Decision

IPSizeNotNil applies the NotNil predicate on the "ip_size" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Decision) predicate.Decision

Or groups predicates with the OR operator between them.

func Origin

func Origin(v string) predicate.Decision

Origin applies equality check predicate on the "origin" field. It's identical to OriginEQ.

func OriginContains

func OriginContains(v string) predicate.Decision

OriginContains applies the Contains predicate on the "origin" field.

func OriginContainsFold

func OriginContainsFold(v string) predicate.Decision

OriginContainsFold applies the ContainsFold predicate on the "origin" field.

func OriginEQ

func OriginEQ(v string) predicate.Decision

OriginEQ applies the EQ predicate on the "origin" field.

func OriginEqualFold

func OriginEqualFold(v string) predicate.Decision

OriginEqualFold applies the EqualFold predicate on the "origin" field.

func OriginGT

func OriginGT(v string) predicate.Decision

OriginGT applies the GT predicate on the "origin" field.

func OriginGTE

func OriginGTE(v string) predicate.Decision

OriginGTE applies the GTE predicate on the "origin" field.

func OriginHasPrefix

func OriginHasPrefix(v string) predicate.Decision

OriginHasPrefix applies the HasPrefix predicate on the "origin" field.

func OriginHasSuffix

func OriginHasSuffix(v string) predicate.Decision

OriginHasSuffix applies the HasSuffix predicate on the "origin" field.

func OriginIn

func OriginIn(vs ...string) predicate.Decision

OriginIn applies the In predicate on the "origin" field.

func OriginLT

func OriginLT(v string) predicate.Decision

OriginLT applies the LT predicate on the "origin" field.

func OriginLTE

func OriginLTE(v string) predicate.Decision

OriginLTE applies the LTE predicate on the "origin" field.

func OriginNEQ

func OriginNEQ(v string) predicate.Decision

OriginNEQ applies the NEQ predicate on the "origin" field.

func OriginNotIn

func OriginNotIn(vs ...string) predicate.Decision

OriginNotIn applies the NotIn predicate on the "origin" field.

func Scenario

func Scenario(v string) predicate.Decision

Scenario applies equality check predicate on the "scenario" field. It's identical to ScenarioEQ.

func ScenarioContains

func ScenarioContains(v string) predicate.Decision

ScenarioContains applies the Contains predicate on the "scenario" field.

func ScenarioContainsFold

func ScenarioContainsFold(v string) predicate.Decision

ScenarioContainsFold applies the ContainsFold predicate on the "scenario" field.

func ScenarioEQ

func ScenarioEQ(v string) predicate.Decision

ScenarioEQ applies the EQ predicate on the "scenario" field.

func ScenarioEqualFold

func ScenarioEqualFold(v string) predicate.Decision

ScenarioEqualFold applies the EqualFold predicate on the "scenario" field.

func ScenarioGT

func ScenarioGT(v string) predicate.Decision

ScenarioGT applies the GT predicate on the "scenario" field.

func ScenarioGTE

func ScenarioGTE(v string) predicate.Decision

ScenarioGTE applies the GTE predicate on the "scenario" field.

func ScenarioHasPrefix

func ScenarioHasPrefix(v string) predicate.Decision

ScenarioHasPrefix applies the HasPrefix predicate on the "scenario" field.

func ScenarioHasSuffix

func ScenarioHasSuffix(v string) predicate.Decision

ScenarioHasSuffix applies the HasSuffix predicate on the "scenario" field.

func ScenarioIn

func ScenarioIn(vs ...string) predicate.Decision

ScenarioIn applies the In predicate on the "scenario" field.

func ScenarioLT

func ScenarioLT(v string) predicate.Decision

ScenarioLT applies the LT predicate on the "scenario" field.

func ScenarioLTE

func ScenarioLTE(v string) predicate.Decision

ScenarioLTE applies the LTE predicate on the "scenario" field.

func ScenarioNEQ

func ScenarioNEQ(v string) predicate.Decision

ScenarioNEQ applies the NEQ predicate on the "scenario" field.

func ScenarioNotIn

func ScenarioNotIn(vs ...string) predicate.Decision

ScenarioNotIn applies the NotIn predicate on the "scenario" field.

func Scope

func Scope(v string) predicate.Decision

Scope applies equality check predicate on the "scope" field. It's identical to ScopeEQ.

func ScopeContains

func ScopeContains(v string) predicate.Decision

ScopeContains applies the Contains predicate on the "scope" field.

func ScopeContainsFold

func ScopeContainsFold(v string) predicate.Decision

ScopeContainsFold applies the ContainsFold predicate on the "scope" field.

func ScopeEQ

func ScopeEQ(v string) predicate.Decision

ScopeEQ applies the EQ predicate on the "scope" field.

func ScopeEqualFold

func ScopeEqualFold(v string) predicate.Decision

ScopeEqualFold applies the EqualFold predicate on the "scope" field.

func ScopeGT

func ScopeGT(v string) predicate.Decision

ScopeGT applies the GT predicate on the "scope" field.

func ScopeGTE

func ScopeGTE(v string) predicate.Decision

ScopeGTE applies the GTE predicate on the "scope" field.

func ScopeHasPrefix

func ScopeHasPrefix(v string) predicate.Decision

ScopeHasPrefix applies the HasPrefix predicate on the "scope" field.

func ScopeHasSuffix

func ScopeHasSuffix(v string) predicate.Decision

ScopeHasSuffix applies the HasSuffix predicate on the "scope" field.

func ScopeIn

func ScopeIn(vs ...string) predicate.Decision

ScopeIn applies the In predicate on the "scope" field.

func ScopeLT

func ScopeLT(v string) predicate.Decision

ScopeLT applies the LT predicate on the "scope" field.

func ScopeLTE

func ScopeLTE(v string) predicate.Decision

ScopeLTE applies the LTE predicate on the "scope" field.

func ScopeNEQ

func ScopeNEQ(v string) predicate.Decision

ScopeNEQ applies the NEQ predicate on the "scope" field.

func ScopeNotIn

func ScopeNotIn(vs ...string) predicate.Decision

ScopeNotIn applies the NotIn predicate on the "scope" field.

func Simulated

func Simulated(v bool) predicate.Decision

Simulated applies equality check predicate on the "simulated" field. It's identical to SimulatedEQ.

func SimulatedEQ

func SimulatedEQ(v bool) predicate.Decision

SimulatedEQ applies the EQ predicate on the "simulated" field.

func SimulatedNEQ

func SimulatedNEQ(v bool) predicate.Decision

SimulatedNEQ applies the NEQ predicate on the "simulated" field.

func StartIP

func StartIP(v int64) predicate.Decision

StartIP applies equality check predicate on the "start_ip" field. It's identical to StartIPEQ.

func StartIPEQ

func StartIPEQ(v int64) predicate.Decision

StartIPEQ applies the EQ predicate on the "start_ip" field.

func StartIPGT

func StartIPGT(v int64) predicate.Decision

StartIPGT applies the GT predicate on the "start_ip" field.

func StartIPGTE

func StartIPGTE(v int64) predicate.Decision

StartIPGTE applies the GTE predicate on the "start_ip" field.

func StartIPIn

func StartIPIn(vs ...int64) predicate.Decision

StartIPIn applies the In predicate on the "start_ip" field.

func StartIPIsNil

func StartIPIsNil() predicate.Decision

StartIPIsNil applies the IsNil predicate on the "start_ip" field.

func StartIPLT

func StartIPLT(v int64) predicate.Decision

StartIPLT applies the LT predicate on the "start_ip" field.

func StartIPLTE

func StartIPLTE(v int64) predicate.Decision

StartIPLTE applies the LTE predicate on the "start_ip" field.

func StartIPNEQ

func StartIPNEQ(v int64) predicate.Decision

StartIPNEQ applies the NEQ predicate on the "start_ip" field.

func StartIPNotIn

func StartIPNotIn(vs ...int64) predicate.Decision

StartIPNotIn applies the NotIn predicate on the "start_ip" field.

func StartIPNotNil

func StartIPNotNil() predicate.Decision

StartIPNotNil applies the NotNil predicate on the "start_ip" field.

func StartSuffix

func StartSuffix(v int64) predicate.Decision

StartSuffix applies equality check predicate on the "start_suffix" field. It's identical to StartSuffixEQ.

func StartSuffixEQ

func StartSuffixEQ(v int64) predicate.Decision

StartSuffixEQ applies the EQ predicate on the "start_suffix" field.

func StartSuffixGT

func StartSuffixGT(v int64) predicate.Decision

StartSuffixGT applies the GT predicate on the "start_suffix" field.

func StartSuffixGTE

func StartSuffixGTE(v int64) predicate.Decision

StartSuffixGTE applies the GTE predicate on the "start_suffix" field.

func StartSuffixIn

func StartSuffixIn(vs ...int64) predicate.Decision

StartSuffixIn applies the In predicate on the "start_suffix" field.

func StartSuffixIsNil

func StartSuffixIsNil() predicate.Decision

StartSuffixIsNil applies the IsNil predicate on the "start_suffix" field.

func StartSuffixLT

func StartSuffixLT(v int64) predicate.Decision

StartSuffixLT applies the LT predicate on the "start_suffix" field.

func StartSuffixLTE

func StartSuffixLTE(v int64) predicate.Decision

StartSuffixLTE applies the LTE predicate on the "start_suffix" field.

func StartSuffixNEQ

func StartSuffixNEQ(v int64) predicate.Decision

StartSuffixNEQ applies the NEQ predicate on the "start_suffix" field.

func StartSuffixNotIn

func StartSuffixNotIn(vs ...int64) predicate.Decision

StartSuffixNotIn applies the NotIn predicate on the "start_suffix" field.

func StartSuffixNotNil

func StartSuffixNotNil() predicate.Decision

StartSuffixNotNil applies the NotNil predicate on the "start_suffix" field.

func Type

func Type(v string) predicate.Decision

Type applies equality check predicate on the "type" field. It's identical to TypeEQ.

func TypeContains

func TypeContains(v string) predicate.Decision

TypeContains applies the Contains predicate on the "type" field.

func TypeContainsFold

func TypeContainsFold(v string) predicate.Decision

TypeContainsFold applies the ContainsFold predicate on the "type" field.

func TypeEQ

func TypeEQ(v string) predicate.Decision

TypeEQ applies the EQ predicate on the "type" field.

func TypeEqualFold

func TypeEqualFold(v string) predicate.Decision

TypeEqualFold applies the EqualFold predicate on the "type" field.

func TypeGT

func TypeGT(v string) predicate.Decision

TypeGT applies the GT predicate on the "type" field.

func TypeGTE

func TypeGTE(v string) predicate.Decision

TypeGTE applies the GTE predicate on the "type" field.

func TypeHasPrefix

func TypeHasPrefix(v string) predicate.Decision

TypeHasPrefix applies the HasPrefix predicate on the "type" field.

func TypeHasSuffix

func TypeHasSuffix(v string) predicate.Decision

TypeHasSuffix applies the HasSuffix predicate on the "type" field.

func TypeIn

func TypeIn(vs ...string) predicate.Decision

TypeIn applies the In predicate on the "type" field.

func TypeLT

func TypeLT(v string) predicate.Decision

TypeLT applies the LT predicate on the "type" field.

func TypeLTE

func TypeLTE(v string) predicate.Decision

TypeLTE applies the LTE predicate on the "type" field.

func TypeNEQ

func TypeNEQ(v string) predicate.Decision

TypeNEQ applies the NEQ predicate on the "type" field.

func TypeNotIn

func TypeNotIn(vs ...string) predicate.Decision

TypeNotIn applies the NotIn predicate on the "type" field.

func UUID

func UUID(v string) predicate.Decision

UUID applies equality check predicate on the "uuid" field. It's identical to UUIDEQ.

func UUIDContains

func UUIDContains(v string) predicate.Decision

UUIDContains applies the Contains predicate on the "uuid" field.

func UUIDContainsFold

func UUIDContainsFold(v string) predicate.Decision

UUIDContainsFold applies the ContainsFold predicate on the "uuid" field.

func UUIDEQ

func UUIDEQ(v string) predicate.Decision

UUIDEQ applies the EQ predicate on the "uuid" field.

func UUIDEqualFold

func UUIDEqualFold(v string) predicate.Decision

UUIDEqualFold applies the EqualFold predicate on the "uuid" field.

func UUIDGT

func UUIDGT(v string) predicate.Decision

UUIDGT applies the GT predicate on the "uuid" field.

func UUIDGTE

func UUIDGTE(v string) predicate.Decision

UUIDGTE applies the GTE predicate on the "uuid" field.

func UUIDHasPrefix

func UUIDHasPrefix(v string) predicate.Decision

UUIDHasPrefix applies the HasPrefix predicate on the "uuid" field.

func UUIDHasSuffix

func UUIDHasSuffix(v string) predicate.Decision

UUIDHasSuffix applies the HasSuffix predicate on the "uuid" field.

func UUIDIn

func UUIDIn(vs ...string) predicate.Decision

UUIDIn applies the In predicate on the "uuid" field.

func UUIDIsNil

func UUIDIsNil() predicate.Decision

UUIDIsNil applies the IsNil predicate on the "uuid" field.

func UUIDLT

func UUIDLT(v string) predicate.Decision

UUIDLT applies the LT predicate on the "uuid" field.

func UUIDLTE

func UUIDLTE(v string) predicate.Decision

UUIDLTE applies the LTE predicate on the "uuid" field.

func UUIDNEQ

func UUIDNEQ(v string) predicate.Decision

UUIDNEQ applies the NEQ predicate on the "uuid" field.

func UUIDNotIn

func UUIDNotIn(vs ...string) predicate.Decision

UUIDNotIn applies the NotIn predicate on the "uuid" field.

func UUIDNotNil

func UUIDNotNil() predicate.Decision

UUIDNotNil applies the NotNil predicate on the "uuid" field.

func Until

func Until(v time.Time) predicate.Decision

Until applies equality check predicate on the "until" field. It's identical to UntilEQ.

func UntilEQ

func UntilEQ(v time.Time) predicate.Decision

UntilEQ applies the EQ predicate on the "until" field.

func UntilGT

func UntilGT(v time.Time) predicate.Decision

UntilGT applies the GT predicate on the "until" field.

func UntilGTE

func UntilGTE(v time.Time) predicate.Decision

UntilGTE applies the GTE predicate on the "until" field.

func UntilIn

func UntilIn(vs ...time.Time) predicate.Decision

UntilIn applies the In predicate on the "until" field.

func UntilIsNil

func UntilIsNil() predicate.Decision

UntilIsNil applies the IsNil predicate on the "until" field.

func UntilLT

func UntilLT(v time.Time) predicate.Decision

UntilLT applies the LT predicate on the "until" field.

func UntilLTE

func UntilLTE(v time.Time) predicate.Decision

UntilLTE applies the LTE predicate on the "until" field.

func UntilNEQ

func UntilNEQ(v time.Time) predicate.Decision

UntilNEQ applies the NEQ predicate on the "until" field.

func UntilNotIn

func UntilNotIn(vs ...time.Time) predicate.Decision

UntilNotIn applies the NotIn predicate on the "until" field.

func UntilNotNil

func UntilNotNil() predicate.Decision

UntilNotNil applies the NotNil predicate on the "until" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Decision

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Decision

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Decision

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Decision

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

func UpdatedAtIn

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

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

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.Decision

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Decision

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Decision

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Decision

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

func UpdatedAtNotIn

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

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

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.Decision

UpdatedAtNotNil applies the NotNil 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).

func Value

func Value(v string) predicate.Decision

Value applies equality check predicate on the "value" field. It's identical to ValueEQ.

func ValueContains

func ValueContains(v string) predicate.Decision

ValueContains applies the Contains predicate on the "value" field.

func ValueContainsFold

func ValueContainsFold(v string) predicate.Decision

ValueContainsFold applies the ContainsFold predicate on the "value" field.

func ValueEQ

func ValueEQ(v string) predicate.Decision

ValueEQ applies the EQ predicate on the "value" field.

func ValueEqualFold

func ValueEqualFold(v string) predicate.Decision

ValueEqualFold applies the EqualFold predicate on the "value" field.

func ValueGT

func ValueGT(v string) predicate.Decision

ValueGT applies the GT predicate on the "value" field.

func ValueGTE

func ValueGTE(v string) predicate.Decision

ValueGTE applies the GTE predicate on the "value" field.

func ValueHasPrefix

func ValueHasPrefix(v string) predicate.Decision

ValueHasPrefix applies the HasPrefix predicate on the "value" field.

func ValueHasSuffix

func ValueHasSuffix(v string) predicate.Decision

ValueHasSuffix applies the HasSuffix predicate on the "value" field.

func ValueIn

func ValueIn(vs ...string) predicate.Decision

ValueIn applies the In predicate on the "value" field.

func ValueLT

func ValueLT(v string) predicate.Decision

ValueLT applies the LT predicate on the "value" field.

func ValueLTE

func ValueLTE(v string) predicate.Decision

ValueLTE applies the LTE predicate on the "value" field.

func ValueNEQ

func ValueNEQ(v string) predicate.Decision

ValueNEQ applies the NEQ predicate on the "value" field.

func ValueNotIn

func ValueNotIn(vs ...string) predicate.Decision

ValueNotIn applies the NotIn predicate on the "value" field.

Types

This section is empty.

Jump to

Keyboard shortcuts

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