package
0.0.0-20220930040422-0d6e96783b97
Repository: https://github.com/npoolplatform/notification.git
Documentation: pkg.go.dev

# Functions

And groups predicates with the AND operator between them.
AppID applies equality check predicate on the "app_id" field.
AppIDEQ applies the EQ predicate on the "app_id" field.
AppIDGT applies the GT predicate on the "app_id" field.
AppIDGTE applies the GTE predicate on the "app_id" field.
AppIDIn applies the In predicate on the "app_id" field.
AppIDLT applies the LT predicate on the "app_id" field.
AppIDLTE applies the LTE predicate on the "app_id" field.
AppIDNEQ applies the NEQ predicate on the "app_id" field.
AppIDNotIn applies the NotIn predicate on the "app_id" field.
Content applies equality check predicate on the "content" field.
ContentContains applies the Contains predicate on the "content" field.
ContentContainsFold applies the ContainsFold predicate on the "content" field.
ContentEQ applies the EQ predicate on the "content" field.
ContentEqualFold applies the EqualFold predicate on the "content" field.
ContentGT applies the GT predicate on the "content" field.
ContentGTE applies the GTE predicate on the "content" field.
ContentHasPrefix applies the HasPrefix predicate on the "content" field.
ContentHasSuffix applies the HasSuffix predicate on the "content" field.
ContentIn applies the In predicate on the "content" field.
ContentLT applies the LT predicate on the "content" field.
ContentLTE applies the LTE predicate on the "content" field.
ContentNEQ applies the NEQ predicate on the "content" field.
ContentNotIn applies the NotIn predicate on the "content" field.
CreateAt applies equality check predicate on the "create_at" field.
CreateAtEQ applies the EQ predicate on the "create_at" field.
CreateAtGT applies the GT predicate on the "create_at" field.
CreateAtGTE applies the GTE predicate on the "create_at" field.
CreateAtIn applies the In predicate on the "create_at" field.
CreateAtLT applies the LT predicate on the "create_at" field.
CreateAtLTE applies the LTE predicate on the "create_at" field.
CreateAtNEQ applies the NEQ predicate on the "create_at" field.
CreateAtNotIn applies the NotIn predicate on the "create_at" field.
DeleteAt applies equality check predicate on the "delete_at" field.
DeleteAtEQ applies the EQ predicate on the "delete_at" field.
DeleteAtGT applies the GT predicate on the "delete_at" field.
DeleteAtGTE applies the GTE predicate on the "delete_at" field.
DeleteAtIn applies the In predicate on the "delete_at" field.
DeleteAtLT applies the LT predicate on the "delete_at" field.
DeleteAtLTE applies the LTE predicate on the "delete_at" field.
DeleteAtNEQ applies the NEQ predicate on the "delete_at" field.
DeleteAtNotIn applies the NotIn predicate on the "delete_at" field.
ID filters vertices based on their ID field.
IDEQ applies the EQ predicate on the ID field.
IDGT applies the GT predicate on the ID field.
IDGTE applies the GTE predicate on the ID field.
IDIn applies the In predicate on the ID field.
IDLT applies the LT predicate on the ID field.
IDLTE applies the LTE predicate on the ID field.
IDNEQ applies the NEQ predicate on the ID field.
IDNotIn applies the NotIn predicate on the ID field.
LangID applies equality check predicate on the "lang_id" field.
LangIDEQ applies the EQ predicate on the "lang_id" field.
LangIDGT applies the GT predicate on the "lang_id" field.
LangIDGTE applies the GTE predicate on the "lang_id" field.
LangIDIn applies the In predicate on the "lang_id" field.
LangIDLT applies the LT predicate on the "lang_id" field.
LangIDLTE applies the LTE predicate on the "lang_id" field.
LangIDNEQ applies the NEQ predicate on the "lang_id" field.
LangIDNotIn applies the NotIn predicate on the "lang_id" field.
Not applies the not operator on the given predicate.
Or groups predicates with the OR operator between them.
Title applies equality check predicate on the "title" field.
TitleContains applies the Contains predicate on the "title" field.
TitleContainsFold applies the ContainsFold predicate on the "title" field.
TitleEQ applies the EQ predicate on the "title" field.
TitleEqualFold applies the EqualFold predicate on the "title" field.
TitleGT applies the GT predicate on the "title" field.
TitleGTE applies the GTE predicate on the "title" field.
TitleHasPrefix applies the HasPrefix predicate on the "title" field.
TitleHasSuffix applies the HasSuffix predicate on the "title" field.
TitleIn applies the In predicate on the "title" field.
TitleLT applies the LT predicate on the "title" field.
TitleLTE applies the LTE predicate on the "title" field.
TitleNEQ applies the NEQ predicate on the "title" field.
TitleNotIn applies the NotIn predicate on the "title" field.
UpdateAt applies equality check predicate on the "update_at" field.
UpdateAtEQ applies the EQ predicate on the "update_at" field.
UpdateAtGT applies the GT predicate on the "update_at" field.
UpdateAtGTE applies the GTE predicate on the "update_at" field.
UpdateAtIn applies the In predicate on the "update_at" field.
UpdateAtLT applies the LT predicate on the "update_at" field.
UpdateAtLTE applies the LTE predicate on the "update_at" field.
UpdateAtNEQ applies the NEQ predicate on the "update_at" field.
UpdateAtNotIn applies the NotIn predicate on the "update_at" field.
UsedFor applies equality check predicate on the "used_for" field.
UsedForContains applies the Contains predicate on the "used_for" field.
UsedForContainsFold applies the ContainsFold predicate on the "used_for" field.
UsedForEQ applies the EQ predicate on the "used_for" field.
UsedForEqualFold applies the EqualFold predicate on the "used_for" field.
UsedForGT applies the GT predicate on the "used_for" field.
UsedForGTE applies the GTE predicate on the "used_for" field.
UsedForHasPrefix applies the HasPrefix predicate on the "used_for" field.
UsedForHasSuffix applies the HasSuffix predicate on the "used_for" field.
UsedForIn applies the In predicate on the "used_for" field.
UsedForLT applies the LT predicate on the "used_for" field.
UsedForLTE applies the LTE predicate on the "used_for" field.
UsedForNEQ applies the NEQ predicate on the "used_for" field.
UsedForNotIn applies the NotIn predicate on the "used_for" field.
ValidColumn reports if the column name is valid (part of the table columns).

# Constants

FieldAppID holds the string denoting the app_id field in the database.
FieldContent holds the string denoting the content field in the database.
FieldCreateAt holds the string denoting the create_at field in the database.
FieldDeleteAt holds the string denoting the delete_at field in the database.
FieldID holds the string denoting the id field in the database.
FieldLangID holds the string denoting the lang_id field in the database.
FieldTitle holds the string denoting the title field in the database.
FieldUpdateAt holds the string denoting the update_at field in the database.
FieldUsedFor holds the string denoting the used_for field in the database.
Label holds the string label denoting the template type in the database.
Table holds the table name of the template in the database.

# Variables

Columns holds all SQL columns for template fields.
DefaultCreateAt holds the default value on creation for the "create_at" field.
DefaultDeleteAt holds the default value on creation for the "delete_at" field.
DefaultID holds the default value on creation for the "id" field.
DefaultUpdateAt holds the default value on creation for the "update_at" field.
UpdateDefaultUpdateAt holds the default value on update for the "update_at" field.