notificationrecord

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the notificationrecord type in the database.
	Label = "notification_record"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldEventID holds the string denoting the event_id field in the database.
	FieldEventID = "event_id"
	// EdgeEvent holds the string denoting the event edge name in mutations.
	EdgeEvent = "event"
	// Table holds the table name of the notificationrecord in the database.
	Table = "notification_records"
	// EventTable is the table that holds the event relation/edge.
	EventTable = "notification_records"
	// EventInverseTable is the table name for the Event entity.
	// It exists in this package in order to avoid circular dependency with the "event" package.
	EventInverseTable = "events"
	// EventColumn is the table column denoting the event relation/edge.
	EventColumn = "event_id"
)

Variables

View Source
var Columns = []string{
	FieldID,
	FieldEventID,
}

Columns holds all SQL columns for notificationrecord fields.

Functions

func And

And groups predicates with the AND operator between them.

func EventID

func EventID(v int) predicate.NotificationRecord

EventID applies equality check predicate on the "event_id" field. It's identical to EventIDEQ.

func EventIDEQ

func EventIDEQ(v int) predicate.NotificationRecord

EventIDEQ applies the EQ predicate on the "event_id" field.

func EventIDIn

func EventIDIn(vs ...int) predicate.NotificationRecord

EventIDIn applies the In predicate on the "event_id" field.

func EventIDIsNil

func EventIDIsNil() predicate.NotificationRecord

EventIDIsNil applies the IsNil predicate on the "event_id" field.

func EventIDNEQ

func EventIDNEQ(v int) predicate.NotificationRecord

EventIDNEQ applies the NEQ predicate on the "event_id" field.

func EventIDNotIn

func EventIDNotIn(vs ...int) predicate.NotificationRecord

EventIDNotIn applies the NotIn predicate on the "event_id" field.

func EventIDNotNil

func EventIDNotNil() predicate.NotificationRecord

EventIDNotNil applies the NotNil predicate on the "event_id" field.

func HasEvent

func HasEvent() predicate.NotificationRecord

HasEvent applies the HasEdge predicate on the "event" edge.

func HasEventWith

func HasEventWith(preds ...predicate.Event) predicate.NotificationRecord

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

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 ...int) predicate.NotificationRecord

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 ...int) predicate.NotificationRecord

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

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