accountnotifs

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the accountnotifs type in the database.
	Label = "account_notifs"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldAccountID holds the string denoting the account_id field in the database.
	FieldAccountID = "account_id"
	// FieldNotifType holds the string denoting the notif_type field in the database.
	FieldNotifType = "notif_type"
	// FieldNotifTitle holds the string denoting the notif_title field in the database.
	FieldNotifTitle = "notif_title"
	// FieldNotifContent holds the string denoting the notif_content field in the database.
	FieldNotifContent = "notif_content"
	// FieldNotifTime holds the string denoting the notif_time field in the database.
	FieldNotifTime = "notif_time"
	// FieldUsername holds the string denoting the username field in the database.
	FieldUsername = "username"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// Table holds the table name of the accountnotifs in the database.
	Table = "account_notifs"
)

Variables

View Source
var (
	// NotifTypeValidator is a validator for the "notif_type" field. It is called by the builders before save.
	NotifTypeValidator func(string) error
	// NotifTitleValidator is a validator for the "notif_title" field. It is called by the builders before save.
	NotifTitleValidator func(string) error
	// NotifContentValidator is a validator for the "notif_content" field. It is called by the builders before save.
	NotifContentValidator func(string) error
	// DefaultNotifTime holds the default value on creation for the "notif_time" field.
	DefaultNotifTime func() time.Time
	// UsernameValidator is a validator for the "username" field. It is called by the builders before save.
	UsernameValidator func(string) error
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for accountnotifs fields.

Functions

func AccountID

func AccountID(v int64) predicate.AccountNotifs

AccountID applies equality check predicate on the "account_id" field. It's identical to AccountIDEQ.

func AccountIDEQ

func AccountIDEQ(v int64) predicate.AccountNotifs

AccountIDEQ applies the EQ predicate on the "account_id" field.

func AccountIDGT

func AccountIDGT(v int64) predicate.AccountNotifs

AccountIDGT applies the GT predicate on the "account_id" field.

func AccountIDGTE

func AccountIDGTE(v int64) predicate.AccountNotifs

AccountIDGTE applies the GTE predicate on the "account_id" field.

func AccountIDIn

func AccountIDIn(vs ...int64) predicate.AccountNotifs

AccountIDIn applies the In predicate on the "account_id" field.

func AccountIDIsNil

func AccountIDIsNil() predicate.AccountNotifs

AccountIDIsNil applies the IsNil predicate on the "account_id" field.

func AccountIDLT

func AccountIDLT(v int64) predicate.AccountNotifs

AccountIDLT applies the LT predicate on the "account_id" field.

func AccountIDLTE

func AccountIDLTE(v int64) predicate.AccountNotifs

AccountIDLTE applies the LTE predicate on the "account_id" field.

func AccountIDNEQ

func AccountIDNEQ(v int64) predicate.AccountNotifs

AccountIDNEQ applies the NEQ predicate on the "account_id" field.

func AccountIDNotIn

func AccountIDNotIn(vs ...int64) predicate.AccountNotifs

AccountIDNotIn applies the NotIn predicate on the "account_id" field.

func AccountIDNotNil

func AccountIDNotNil() predicate.AccountNotifs

AccountIDNotNil applies the NotNil predicate on the "account_id" field.

func And

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.AccountNotifs

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.AccountNotifs

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.AccountNotifs

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.AccountNotifs

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.AccountNotifs

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.AccountNotifs

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.AccountNotifs

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

func CreatedAtNotIn

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

CreatedAtNotIn applies the NotIn predicate on the "created_at" 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

func IDGTE(id uuid.UUID) predicate.AccountNotifs

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.AccountNotifs

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.AccountNotifs

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.AccountNotifs

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.AccountNotifs

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func NotifContent

func NotifContent(v string) predicate.AccountNotifs

NotifContent applies equality check predicate on the "notif_content" field. It's identical to NotifContentEQ.

func NotifContentContains

func NotifContentContains(v string) predicate.AccountNotifs

NotifContentContains applies the Contains predicate on the "notif_content" field.

func NotifContentContainsFold

func NotifContentContainsFold(v string) predicate.AccountNotifs

NotifContentContainsFold applies the ContainsFold predicate on the "notif_content" field.

func NotifContentEQ

func NotifContentEQ(v string) predicate.AccountNotifs

NotifContentEQ applies the EQ predicate on the "notif_content" field.

func NotifContentEqualFold

func NotifContentEqualFold(v string) predicate.AccountNotifs

NotifContentEqualFold applies the EqualFold predicate on the "notif_content" field.

func NotifContentGT

func NotifContentGT(v string) predicate.AccountNotifs

NotifContentGT applies the GT predicate on the "notif_content" field.

func NotifContentGTE

func NotifContentGTE(v string) predicate.AccountNotifs

NotifContentGTE applies the GTE predicate on the "notif_content" field.

func NotifContentHasPrefix

func NotifContentHasPrefix(v string) predicate.AccountNotifs

NotifContentHasPrefix applies the HasPrefix predicate on the "notif_content" field.

func NotifContentHasSuffix

func NotifContentHasSuffix(v string) predicate.AccountNotifs

NotifContentHasSuffix applies the HasSuffix predicate on the "notif_content" field.

func NotifContentIn

func NotifContentIn(vs ...string) predicate.AccountNotifs

NotifContentIn applies the In predicate on the "notif_content" field.

func NotifContentIsNil

func NotifContentIsNil() predicate.AccountNotifs

NotifContentIsNil applies the IsNil predicate on the "notif_content" field.

func NotifContentLT

func NotifContentLT(v string) predicate.AccountNotifs

NotifContentLT applies the LT predicate on the "notif_content" field.

func NotifContentLTE

func NotifContentLTE(v string) predicate.AccountNotifs

NotifContentLTE applies the LTE predicate on the "notif_content" field.

func NotifContentNEQ

func NotifContentNEQ(v string) predicate.AccountNotifs

NotifContentNEQ applies the NEQ predicate on the "notif_content" field.

func NotifContentNotIn

func NotifContentNotIn(vs ...string) predicate.AccountNotifs

NotifContentNotIn applies the NotIn predicate on the "notif_content" field.

func NotifContentNotNil

func NotifContentNotNil() predicate.AccountNotifs

NotifContentNotNil applies the NotNil predicate on the "notif_content" field.

func NotifTime

func NotifTime(v time.Time) predicate.AccountNotifs

NotifTime applies equality check predicate on the "notif_time" field. It's identical to NotifTimeEQ.

func NotifTimeEQ

func NotifTimeEQ(v time.Time) predicate.AccountNotifs

NotifTimeEQ applies the EQ predicate on the "notif_time" field.

func NotifTimeGT

func NotifTimeGT(v time.Time) predicate.AccountNotifs

NotifTimeGT applies the GT predicate on the "notif_time" field.

func NotifTimeGTE

func NotifTimeGTE(v time.Time) predicate.AccountNotifs

NotifTimeGTE applies the GTE predicate on the "notif_time" field.

func NotifTimeIn

func NotifTimeIn(vs ...time.Time) predicate.AccountNotifs

NotifTimeIn applies the In predicate on the "notif_time" field.

func NotifTimeIsNil

func NotifTimeIsNil() predicate.AccountNotifs

NotifTimeIsNil applies the IsNil predicate on the "notif_time" field.

func NotifTimeLT

func NotifTimeLT(v time.Time) predicate.AccountNotifs

NotifTimeLT applies the LT predicate on the "notif_time" field.

func NotifTimeLTE

func NotifTimeLTE(v time.Time) predicate.AccountNotifs

NotifTimeLTE applies the LTE predicate on the "notif_time" field.

func NotifTimeNEQ

func NotifTimeNEQ(v time.Time) predicate.AccountNotifs

NotifTimeNEQ applies the NEQ predicate on the "notif_time" field.

func NotifTimeNotIn

func NotifTimeNotIn(vs ...time.Time) predicate.AccountNotifs

NotifTimeNotIn applies the NotIn predicate on the "notif_time" field.

func NotifTimeNotNil

func NotifTimeNotNil() predicate.AccountNotifs

NotifTimeNotNil applies the NotNil predicate on the "notif_time" field.

func NotifTitle

func NotifTitle(v string) predicate.AccountNotifs

NotifTitle applies equality check predicate on the "notif_title" field. It's identical to NotifTitleEQ.

func NotifTitleContains

func NotifTitleContains(v string) predicate.AccountNotifs

NotifTitleContains applies the Contains predicate on the "notif_title" field.

func NotifTitleContainsFold

func NotifTitleContainsFold(v string) predicate.AccountNotifs

NotifTitleContainsFold applies the ContainsFold predicate on the "notif_title" field.

func NotifTitleEQ

func NotifTitleEQ(v string) predicate.AccountNotifs

NotifTitleEQ applies the EQ predicate on the "notif_title" field.

func NotifTitleEqualFold

func NotifTitleEqualFold(v string) predicate.AccountNotifs

NotifTitleEqualFold applies the EqualFold predicate on the "notif_title" field.

func NotifTitleGT

func NotifTitleGT(v string) predicate.AccountNotifs

NotifTitleGT applies the GT predicate on the "notif_title" field.

func NotifTitleGTE

func NotifTitleGTE(v string) predicate.AccountNotifs

NotifTitleGTE applies the GTE predicate on the "notif_title" field.

func NotifTitleHasPrefix

func NotifTitleHasPrefix(v string) predicate.AccountNotifs

NotifTitleHasPrefix applies the HasPrefix predicate on the "notif_title" field.

func NotifTitleHasSuffix

func NotifTitleHasSuffix(v string) predicate.AccountNotifs

NotifTitleHasSuffix applies the HasSuffix predicate on the "notif_title" field.

func NotifTitleIn

func NotifTitleIn(vs ...string) predicate.AccountNotifs

NotifTitleIn applies the In predicate on the "notif_title" field.

func NotifTitleIsNil

func NotifTitleIsNil() predicate.AccountNotifs

NotifTitleIsNil applies the IsNil predicate on the "notif_title" field.

func NotifTitleLT

func NotifTitleLT(v string) predicate.AccountNotifs

NotifTitleLT applies the LT predicate on the "notif_title" field.

func NotifTitleLTE

func NotifTitleLTE(v string) predicate.AccountNotifs

NotifTitleLTE applies the LTE predicate on the "notif_title" field.

func NotifTitleNEQ

func NotifTitleNEQ(v string) predicate.AccountNotifs

NotifTitleNEQ applies the NEQ predicate on the "notif_title" field.

func NotifTitleNotIn

func NotifTitleNotIn(vs ...string) predicate.AccountNotifs

NotifTitleNotIn applies the NotIn predicate on the "notif_title" field.

func NotifTitleNotNil

func NotifTitleNotNil() predicate.AccountNotifs

NotifTitleNotNil applies the NotNil predicate on the "notif_title" field.

func NotifType

func NotifType(v string) predicate.AccountNotifs

NotifType applies equality check predicate on the "notif_type" field. It's identical to NotifTypeEQ.

func NotifTypeContains

func NotifTypeContains(v string) predicate.AccountNotifs

NotifTypeContains applies the Contains predicate on the "notif_type" field.

func NotifTypeContainsFold

func NotifTypeContainsFold(v string) predicate.AccountNotifs

NotifTypeContainsFold applies the ContainsFold predicate on the "notif_type" field.

func NotifTypeEQ

func NotifTypeEQ(v string) predicate.AccountNotifs

NotifTypeEQ applies the EQ predicate on the "notif_type" field.

func NotifTypeEqualFold

func NotifTypeEqualFold(v string) predicate.AccountNotifs

NotifTypeEqualFold applies the EqualFold predicate on the "notif_type" field.

func NotifTypeGT

func NotifTypeGT(v string) predicate.AccountNotifs

NotifTypeGT applies the GT predicate on the "notif_type" field.

func NotifTypeGTE

func NotifTypeGTE(v string) predicate.AccountNotifs

NotifTypeGTE applies the GTE predicate on the "notif_type" field.

func NotifTypeHasPrefix

func NotifTypeHasPrefix(v string) predicate.AccountNotifs

NotifTypeHasPrefix applies the HasPrefix predicate on the "notif_type" field.

func NotifTypeHasSuffix

func NotifTypeHasSuffix(v string) predicate.AccountNotifs

NotifTypeHasSuffix applies the HasSuffix predicate on the "notif_type" field.

func NotifTypeIn

func NotifTypeIn(vs ...string) predicate.AccountNotifs

NotifTypeIn applies the In predicate on the "notif_type" field.

func NotifTypeLT

func NotifTypeLT(v string) predicate.AccountNotifs

NotifTypeLT applies the LT predicate on the "notif_type" field.

func NotifTypeLTE

func NotifTypeLTE(v string) predicate.AccountNotifs

NotifTypeLTE applies the LTE predicate on the "notif_type" field.

func NotifTypeNEQ

func NotifTypeNEQ(v string) predicate.AccountNotifs

NotifTypeNEQ applies the NEQ predicate on the "notif_type" field.

func NotifTypeNotIn

func NotifTypeNotIn(vs ...string) predicate.AccountNotifs

NotifTypeNotIn applies the NotIn predicate on the "notif_type" field.

func Or

Or groups predicates with the OR operator between them.

func Username

func Username(v string) predicate.AccountNotifs

Username applies equality check predicate on the "username" field. It's identical to UsernameEQ.

func UsernameContains

func UsernameContains(v string) predicate.AccountNotifs

UsernameContains applies the Contains predicate on the "username" field.

func UsernameContainsFold

func UsernameContainsFold(v string) predicate.AccountNotifs

UsernameContainsFold applies the ContainsFold predicate on the "username" field.

func UsernameEQ

func UsernameEQ(v string) predicate.AccountNotifs

UsernameEQ applies the EQ predicate on the "username" field.

func UsernameEqualFold

func UsernameEqualFold(v string) predicate.AccountNotifs

UsernameEqualFold applies the EqualFold predicate on the "username" field.

func UsernameGT

func UsernameGT(v string) predicate.AccountNotifs

UsernameGT applies the GT predicate on the "username" field.

func UsernameGTE

func UsernameGTE(v string) predicate.AccountNotifs

UsernameGTE applies the GTE predicate on the "username" field.

func UsernameHasPrefix

func UsernameHasPrefix(v string) predicate.AccountNotifs

UsernameHasPrefix applies the HasPrefix predicate on the "username" field.

func UsernameHasSuffix

func UsernameHasSuffix(v string) predicate.AccountNotifs

UsernameHasSuffix applies the HasSuffix predicate on the "username" field.

func UsernameIn

func UsernameIn(vs ...string) predicate.AccountNotifs

UsernameIn applies the In predicate on the "username" field.

func UsernameIsNil

func UsernameIsNil() predicate.AccountNotifs

UsernameIsNil applies the IsNil predicate on the "username" field.

func UsernameLT

func UsernameLT(v string) predicate.AccountNotifs

UsernameLT applies the LT predicate on the "username" field.

func UsernameLTE

func UsernameLTE(v string) predicate.AccountNotifs

UsernameLTE applies the LTE predicate on the "username" field.

func UsernameNEQ

func UsernameNEQ(v string) predicate.AccountNotifs

UsernameNEQ applies the NEQ predicate on the "username" field.

func UsernameNotIn

func UsernameNotIn(vs ...string) predicate.AccountNotifs

UsernameNotIn applies the NotIn predicate on the "username" field.

func UsernameNotNil

func UsernameNotNil() predicate.AccountNotifs

UsernameNotNil applies the NotNil predicate on the "username" 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