notifylog

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the notifylog type in the database.
	Label = "notify_log"
	// 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"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_at"
	// FieldTaskID holds the string denoting the task_id field in the database.
	FieldTaskID = "task_id"
	// FieldNotifyTimes holds the string denoting the notify_times field in the database.
	FieldNotifyTimes = "notify_times"
	// FieldResponse holds the string denoting the response field in the database.
	FieldResponse = "response"
	// Table holds the table name of the notifylog in the database.
	Table = "pay_notify_log"
)

Variables

View Source
var (
	Hooks        [1]ent.Hook
	Interceptors [1]ent.Interceptor
	// 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
	// DefaultStatus holds the default value on creation for the "status" field.
	DefaultStatus uint8
)

Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:

import _ "github.com/agui-coder/simple-admin-pay-rpc/ent/runtime"

Columns holds all SQL columns for notifylog fields.

Functions

func And

func And(predicates ...predicate.NotifyLog) predicate.NotifyLog

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.NotifyLog

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.NotifyLog

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.NotifyLog

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.NotifyLog

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.NotifyLog

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.NotifyLog

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.NotifyLog

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

func CreatedAtNotIn

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

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

func DeletedAt

func DeletedAt(v time.Time) predicate.NotifyLog

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.NotifyLog

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.NotifyLog

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.NotifyLog

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.NotifyLog

DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.NotifyLog

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.NotifyLog

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.NotifyLog

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.NotifyLog

DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.

func ID

func ID(id uint64) predicate.NotifyLog

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uint64) predicate.NotifyLog

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uint64) predicate.NotifyLog

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uint64) predicate.NotifyLog

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uint64) predicate.NotifyLog

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uint64) predicate.NotifyLog

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uint64) predicate.NotifyLog

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uint64) predicate.NotifyLog

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uint64) predicate.NotifyLog

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func NotifyTimes

func NotifyTimes(v int8) predicate.NotifyLog

NotifyTimes applies equality check predicate on the "notify_times" field. It's identical to NotifyTimesEQ.

func NotifyTimesEQ

func NotifyTimesEQ(v int8) predicate.NotifyLog

NotifyTimesEQ applies the EQ predicate on the "notify_times" field.

func NotifyTimesGT

func NotifyTimesGT(v int8) predicate.NotifyLog

NotifyTimesGT applies the GT predicate on the "notify_times" field.

func NotifyTimesGTE

func NotifyTimesGTE(v int8) predicate.NotifyLog

NotifyTimesGTE applies the GTE predicate on the "notify_times" field.

func NotifyTimesIn

func NotifyTimesIn(vs ...int8) predicate.NotifyLog

NotifyTimesIn applies the In predicate on the "notify_times" field.

func NotifyTimesLT

func NotifyTimesLT(v int8) predicate.NotifyLog

NotifyTimesLT applies the LT predicate on the "notify_times" field.

func NotifyTimesLTE

func NotifyTimesLTE(v int8) predicate.NotifyLog

NotifyTimesLTE applies the LTE predicate on the "notify_times" field.

func NotifyTimesNEQ

func NotifyTimesNEQ(v int8) predicate.NotifyLog

NotifyTimesNEQ applies the NEQ predicate on the "notify_times" field.

func NotifyTimesNotIn

func NotifyTimesNotIn(vs ...int8) predicate.NotifyLog

NotifyTimesNotIn applies the NotIn predicate on the "notify_times" field.

func Or

func Or(predicates ...predicate.NotifyLog) predicate.NotifyLog

Or groups predicates with the OR operator between them.

func Response

func Response(v string) predicate.NotifyLog

Response applies equality check predicate on the "response" field. It's identical to ResponseEQ.

func ResponseContains

func ResponseContains(v string) predicate.NotifyLog

ResponseContains applies the Contains predicate on the "response" field.

func ResponseContainsFold

func ResponseContainsFold(v string) predicate.NotifyLog

ResponseContainsFold applies the ContainsFold predicate on the "response" field.

func ResponseEQ

func ResponseEQ(v string) predicate.NotifyLog

ResponseEQ applies the EQ predicate on the "response" field.

func ResponseEqualFold

func ResponseEqualFold(v string) predicate.NotifyLog

ResponseEqualFold applies the EqualFold predicate on the "response" field.

func ResponseGT

func ResponseGT(v string) predicate.NotifyLog

ResponseGT applies the GT predicate on the "response" field.

func ResponseGTE

func ResponseGTE(v string) predicate.NotifyLog

ResponseGTE applies the GTE predicate on the "response" field.

func ResponseHasPrefix

func ResponseHasPrefix(v string) predicate.NotifyLog

ResponseHasPrefix applies the HasPrefix predicate on the "response" field.

func ResponseHasSuffix

func ResponseHasSuffix(v string) predicate.NotifyLog

ResponseHasSuffix applies the HasSuffix predicate on the "response" field.

func ResponseIn

func ResponseIn(vs ...string) predicate.NotifyLog

ResponseIn applies the In predicate on the "response" field.

func ResponseLT

func ResponseLT(v string) predicate.NotifyLog

ResponseLT applies the LT predicate on the "response" field.

func ResponseLTE

func ResponseLTE(v string) predicate.NotifyLog

ResponseLTE applies the LTE predicate on the "response" field.

func ResponseNEQ

func ResponseNEQ(v string) predicate.NotifyLog

ResponseNEQ applies the NEQ predicate on the "response" field.

func ResponseNotIn

func ResponseNotIn(vs ...string) predicate.NotifyLog

ResponseNotIn applies the NotIn predicate on the "response" field.

func Status

func Status(v uint8) predicate.NotifyLog

Status applies equality check predicate on the "status" field. It's identical to StatusEQ.

func StatusEQ

func StatusEQ(v uint8) predicate.NotifyLog

StatusEQ applies the EQ predicate on the "status" field.

func StatusGT

func StatusGT(v uint8) predicate.NotifyLog

StatusGT applies the GT predicate on the "status" field.

func StatusGTE

func StatusGTE(v uint8) predicate.NotifyLog

StatusGTE applies the GTE predicate on the "status" field.

func StatusIn

func StatusIn(vs ...uint8) predicate.NotifyLog

StatusIn applies the In predicate on the "status" field.

func StatusIsNil

func StatusIsNil() predicate.NotifyLog

StatusIsNil applies the IsNil predicate on the "status" field.

func StatusLT

func StatusLT(v uint8) predicate.NotifyLog

StatusLT applies the LT predicate on the "status" field.

func StatusLTE

func StatusLTE(v uint8) predicate.NotifyLog

StatusLTE applies the LTE predicate on the "status" field.

func StatusNEQ

func StatusNEQ(v uint8) predicate.NotifyLog

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...uint8) predicate.NotifyLog

StatusNotIn applies the NotIn predicate on the "status" field.

func StatusNotNil

func StatusNotNil() predicate.NotifyLog

StatusNotNil applies the NotNil predicate on the "status" field.

func TaskID

func TaskID(v uint64) predicate.NotifyLog

TaskID applies equality check predicate on the "task_id" field. It's identical to TaskIDEQ.

func TaskIDEQ

func TaskIDEQ(v uint64) predicate.NotifyLog

TaskIDEQ applies the EQ predicate on the "task_id" field.

func TaskIDGT

func TaskIDGT(v uint64) predicate.NotifyLog

TaskIDGT applies the GT predicate on the "task_id" field.

func TaskIDGTE

func TaskIDGTE(v uint64) predicate.NotifyLog

TaskIDGTE applies the GTE predicate on the "task_id" field.

func TaskIDIn

func TaskIDIn(vs ...uint64) predicate.NotifyLog

TaskIDIn applies the In predicate on the "task_id" field.

func TaskIDLT

func TaskIDLT(v uint64) predicate.NotifyLog

TaskIDLT applies the LT predicate on the "task_id" field.

func TaskIDLTE

func TaskIDLTE(v uint64) predicate.NotifyLog

TaskIDLTE applies the LTE predicate on the "task_id" field.

func TaskIDNEQ

func TaskIDNEQ(v uint64) predicate.NotifyLog

TaskIDNEQ applies the NEQ predicate on the "task_id" field.

func TaskIDNotIn

func TaskIDNotIn(vs ...uint64) predicate.NotifyLog

TaskIDNotIn applies the NotIn predicate on the "task_id" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.NotifyLog

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.NotifyLog

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.NotifyLog

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.NotifyLog

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.NotifyLog

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.NotifyLog

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.NotifyLog

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

func UpdatedAtNotIn

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

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

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the NotifyLog queries.

func ByCreatedAt

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at field.

func ByDeletedAt

func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption

ByDeletedAt orders the results by the deleted_at field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByNotifyTimes

func ByNotifyTimes(opts ...sql.OrderTermOption) OrderOption

ByNotifyTimes orders the results by the notify_times field.

func ByResponse

func ByResponse(opts ...sql.OrderTermOption) OrderOption

ByResponse orders the results by the response field.

func ByStatus

func ByStatus(opts ...sql.OrderTermOption) OrderOption

ByStatus orders the results by the status field.

func ByTaskID

func ByTaskID(opts ...sql.OrderTermOption) OrderOption

ByTaskID orders the results by the task_id field.

func ByUpdatedAt

func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption

ByUpdatedAt orders the results by the updated_at field.

Jump to

Keyboard shortcuts

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