notifytask

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 notifytask type in the database.
	Label = "notify_task"
	// 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"
	// FieldAppID holds the string denoting the app_id field in the database.
	FieldAppID = "app_id"
	// FieldType holds the string denoting the type field in the database.
	FieldType = "type"
	// FieldDataID holds the string denoting the data_id field in the database.
	FieldDataID = "data_id"
	// FieldMerchantOrderID holds the string denoting the merchant_order_id field in the database.
	FieldMerchantOrderID = "merchant_order_id"
	// FieldNextNotifyTime holds the string denoting the next_notify_time field in the database.
	FieldNextNotifyTime = "next_notify_time"
	// FieldLastExecuteTime holds the string denoting the last_execute_time field in the database.
	FieldLastExecuteTime = "last_execute_time"
	// FieldNotifyTimes holds the string denoting the notify_times field in the database.
	FieldNotifyTimes = "notify_times"
	// FieldMaxNotifyTimes holds the string denoting the max_notify_times field in the database.
	FieldMaxNotifyTimes = "max_notify_times"
	// FieldNotifyURL holds the string denoting the notify_url field in the database.
	FieldNotifyURL = "notify_url"
	// Table holds the table name of the notifytask in the database.
	Table = "pay_notify_task"
)

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 notifytask fields.

Functions

func And

func And(predicates ...predicate.NotifyTask) predicate.NotifyTask

And groups predicates with the AND operator between them.

func AppID

func AppID(v uint64) predicate.NotifyTask

AppID applies equality check predicate on the "app_id" field. It's identical to AppIDEQ.

func AppIDEQ

func AppIDEQ(v uint64) predicate.NotifyTask

AppIDEQ applies the EQ predicate on the "app_id" field.

func AppIDGT

func AppIDGT(v uint64) predicate.NotifyTask

AppIDGT applies the GT predicate on the "app_id" field.

func AppIDGTE

func AppIDGTE(v uint64) predicate.NotifyTask

AppIDGTE applies the GTE predicate on the "app_id" field.

func AppIDIn

func AppIDIn(vs ...uint64) predicate.NotifyTask

AppIDIn applies the In predicate on the "app_id" field.

func AppIDLT

func AppIDLT(v uint64) predicate.NotifyTask

AppIDLT applies the LT predicate on the "app_id" field.

func AppIDLTE

func AppIDLTE(v uint64) predicate.NotifyTask

AppIDLTE applies the LTE predicate on the "app_id" field.

func AppIDNEQ

func AppIDNEQ(v uint64) predicate.NotifyTask

AppIDNEQ applies the NEQ predicate on the "app_id" field.

func AppIDNotIn

func AppIDNotIn(vs ...uint64) predicate.NotifyTask

AppIDNotIn applies the NotIn predicate on the "app_id" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.NotifyTask

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.NotifyTask

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.NotifyTask

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.NotifyTask

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.NotifyTask

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.NotifyTask

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.NotifyTask

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

func CreatedAtNotIn

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

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

func DataID

func DataID(v uint64) predicate.NotifyTask

DataID applies equality check predicate on the "data_id" field. It's identical to DataIDEQ.

func DataIDEQ

func DataIDEQ(v uint64) predicate.NotifyTask

DataIDEQ applies the EQ predicate on the "data_id" field.

func DataIDGT

func DataIDGT(v uint64) predicate.NotifyTask

DataIDGT applies the GT predicate on the "data_id" field.

func DataIDGTE

func DataIDGTE(v uint64) predicate.NotifyTask

DataIDGTE applies the GTE predicate on the "data_id" field.

func DataIDIn

func DataIDIn(vs ...uint64) predicate.NotifyTask

DataIDIn applies the In predicate on the "data_id" field.

func DataIDLT

func DataIDLT(v uint64) predicate.NotifyTask

DataIDLT applies the LT predicate on the "data_id" field.

func DataIDLTE

func DataIDLTE(v uint64) predicate.NotifyTask

DataIDLTE applies the LTE predicate on the "data_id" field.

func DataIDNEQ

func DataIDNEQ(v uint64) predicate.NotifyTask

DataIDNEQ applies the NEQ predicate on the "data_id" field.

func DataIDNotIn

func DataIDNotIn(vs ...uint64) predicate.NotifyTask

DataIDNotIn applies the NotIn predicate on the "data_id" field.

func DeletedAt

func DeletedAt(v time.Time) predicate.NotifyTask

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.NotifyTask

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.NotifyTask

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.NotifyTask

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.NotifyTask

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

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.NotifyTask

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.NotifyTask

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.NotifyTask

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.NotifyTask

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

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uint64) predicate.NotifyTask

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uint64) predicate.NotifyTask

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uint64) predicate.NotifyTask

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uint64) predicate.NotifyTask

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uint64) predicate.NotifyTask

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uint64) predicate.NotifyTask

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func LastExecuteTime

func LastExecuteTime(v time.Time) predicate.NotifyTask

LastExecuteTime applies equality check predicate on the "last_execute_time" field. It's identical to LastExecuteTimeEQ.

func LastExecuteTimeEQ

func LastExecuteTimeEQ(v time.Time) predicate.NotifyTask

LastExecuteTimeEQ applies the EQ predicate on the "last_execute_time" field.

func LastExecuteTimeGT

func LastExecuteTimeGT(v time.Time) predicate.NotifyTask

LastExecuteTimeGT applies the GT predicate on the "last_execute_time" field.

func LastExecuteTimeGTE

func LastExecuteTimeGTE(v time.Time) predicate.NotifyTask

LastExecuteTimeGTE applies the GTE predicate on the "last_execute_time" field.

func LastExecuteTimeIn

func LastExecuteTimeIn(vs ...time.Time) predicate.NotifyTask

LastExecuteTimeIn applies the In predicate on the "last_execute_time" field.

func LastExecuteTimeLT

func LastExecuteTimeLT(v time.Time) predicate.NotifyTask

LastExecuteTimeLT applies the LT predicate on the "last_execute_time" field.

func LastExecuteTimeLTE

func LastExecuteTimeLTE(v time.Time) predicate.NotifyTask

LastExecuteTimeLTE applies the LTE predicate on the "last_execute_time" field.

func LastExecuteTimeNEQ

func LastExecuteTimeNEQ(v time.Time) predicate.NotifyTask

LastExecuteTimeNEQ applies the NEQ predicate on the "last_execute_time" field.

func LastExecuteTimeNotIn

func LastExecuteTimeNotIn(vs ...time.Time) predicate.NotifyTask

LastExecuteTimeNotIn applies the NotIn predicate on the "last_execute_time" field.

func MaxNotifyTimes

func MaxNotifyTimes(v int8) predicate.NotifyTask

MaxNotifyTimes applies equality check predicate on the "max_notify_times" field. It's identical to MaxNotifyTimesEQ.

func MaxNotifyTimesEQ

func MaxNotifyTimesEQ(v int8) predicate.NotifyTask

MaxNotifyTimesEQ applies the EQ predicate on the "max_notify_times" field.

func MaxNotifyTimesGT

func MaxNotifyTimesGT(v int8) predicate.NotifyTask

MaxNotifyTimesGT applies the GT predicate on the "max_notify_times" field.

func MaxNotifyTimesGTE

func MaxNotifyTimesGTE(v int8) predicate.NotifyTask

MaxNotifyTimesGTE applies the GTE predicate on the "max_notify_times" field.

func MaxNotifyTimesIn

func MaxNotifyTimesIn(vs ...int8) predicate.NotifyTask

MaxNotifyTimesIn applies the In predicate on the "max_notify_times" field.

func MaxNotifyTimesLT

func MaxNotifyTimesLT(v int8) predicate.NotifyTask

MaxNotifyTimesLT applies the LT predicate on the "max_notify_times" field.

func MaxNotifyTimesLTE

func MaxNotifyTimesLTE(v int8) predicate.NotifyTask

MaxNotifyTimesLTE applies the LTE predicate on the "max_notify_times" field.

func MaxNotifyTimesNEQ

func MaxNotifyTimesNEQ(v int8) predicate.NotifyTask

MaxNotifyTimesNEQ applies the NEQ predicate on the "max_notify_times" field.

func MaxNotifyTimesNotIn

func MaxNotifyTimesNotIn(vs ...int8) predicate.NotifyTask

MaxNotifyTimesNotIn applies the NotIn predicate on the "max_notify_times" field.

func MerchantOrderID

func MerchantOrderID(v string) predicate.NotifyTask

MerchantOrderID applies equality check predicate on the "merchant_order_id" field. It's identical to MerchantOrderIDEQ.

func MerchantOrderIDContains

func MerchantOrderIDContains(v string) predicate.NotifyTask

MerchantOrderIDContains applies the Contains predicate on the "merchant_order_id" field.

func MerchantOrderIDContainsFold

func MerchantOrderIDContainsFold(v string) predicate.NotifyTask

MerchantOrderIDContainsFold applies the ContainsFold predicate on the "merchant_order_id" field.

func MerchantOrderIDEQ

func MerchantOrderIDEQ(v string) predicate.NotifyTask

MerchantOrderIDEQ applies the EQ predicate on the "merchant_order_id" field.

func MerchantOrderIDEqualFold

func MerchantOrderIDEqualFold(v string) predicate.NotifyTask

MerchantOrderIDEqualFold applies the EqualFold predicate on the "merchant_order_id" field.

func MerchantOrderIDGT

func MerchantOrderIDGT(v string) predicate.NotifyTask

MerchantOrderIDGT applies the GT predicate on the "merchant_order_id" field.

func MerchantOrderIDGTE

func MerchantOrderIDGTE(v string) predicate.NotifyTask

MerchantOrderIDGTE applies the GTE predicate on the "merchant_order_id" field.

func MerchantOrderIDHasPrefix

func MerchantOrderIDHasPrefix(v string) predicate.NotifyTask

MerchantOrderIDHasPrefix applies the HasPrefix predicate on the "merchant_order_id" field.

func MerchantOrderIDHasSuffix

func MerchantOrderIDHasSuffix(v string) predicate.NotifyTask

MerchantOrderIDHasSuffix applies the HasSuffix predicate on the "merchant_order_id" field.

func MerchantOrderIDIn

func MerchantOrderIDIn(vs ...string) predicate.NotifyTask

MerchantOrderIDIn applies the In predicate on the "merchant_order_id" field.

func MerchantOrderIDLT

func MerchantOrderIDLT(v string) predicate.NotifyTask

MerchantOrderIDLT applies the LT predicate on the "merchant_order_id" field.

func MerchantOrderIDLTE

func MerchantOrderIDLTE(v string) predicate.NotifyTask

MerchantOrderIDLTE applies the LTE predicate on the "merchant_order_id" field.

func MerchantOrderIDNEQ

func MerchantOrderIDNEQ(v string) predicate.NotifyTask

MerchantOrderIDNEQ applies the NEQ predicate on the "merchant_order_id" field.

func MerchantOrderIDNotIn

func MerchantOrderIDNotIn(vs ...string) predicate.NotifyTask

MerchantOrderIDNotIn applies the NotIn predicate on the "merchant_order_id" field.

func NextNotifyTime

func NextNotifyTime(v time.Time) predicate.NotifyTask

NextNotifyTime applies equality check predicate on the "next_notify_time" field. It's identical to NextNotifyTimeEQ.

func NextNotifyTimeEQ

func NextNotifyTimeEQ(v time.Time) predicate.NotifyTask

NextNotifyTimeEQ applies the EQ predicate on the "next_notify_time" field.

func NextNotifyTimeGT

func NextNotifyTimeGT(v time.Time) predicate.NotifyTask

NextNotifyTimeGT applies the GT predicate on the "next_notify_time" field.

func NextNotifyTimeGTE

func NextNotifyTimeGTE(v time.Time) predicate.NotifyTask

NextNotifyTimeGTE applies the GTE predicate on the "next_notify_time" field.

func NextNotifyTimeIn

func NextNotifyTimeIn(vs ...time.Time) predicate.NotifyTask

NextNotifyTimeIn applies the In predicate on the "next_notify_time" field.

func NextNotifyTimeLT

func NextNotifyTimeLT(v time.Time) predicate.NotifyTask

NextNotifyTimeLT applies the LT predicate on the "next_notify_time" field.

func NextNotifyTimeLTE

func NextNotifyTimeLTE(v time.Time) predicate.NotifyTask

NextNotifyTimeLTE applies the LTE predicate on the "next_notify_time" field.

func NextNotifyTimeNEQ

func NextNotifyTimeNEQ(v time.Time) predicate.NotifyTask

NextNotifyTimeNEQ applies the NEQ predicate on the "next_notify_time" field.

func NextNotifyTimeNotIn

func NextNotifyTimeNotIn(vs ...time.Time) predicate.NotifyTask

NextNotifyTimeNotIn applies the NotIn predicate on the "next_notify_time" field.

func Not

Not applies the not operator on the given predicate.

func NotifyTimes

func NotifyTimes(v int8) predicate.NotifyTask

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

func NotifyTimesEQ

func NotifyTimesEQ(v int8) predicate.NotifyTask

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

func NotifyTimesGT

func NotifyTimesGT(v int8) predicate.NotifyTask

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

func NotifyTimesGTE

func NotifyTimesGTE(v int8) predicate.NotifyTask

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

func NotifyTimesIn

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

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

func NotifyTimesLT

func NotifyTimesLT(v int8) predicate.NotifyTask

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

func NotifyTimesLTE

func NotifyTimesLTE(v int8) predicate.NotifyTask

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

func NotifyTimesNEQ

func NotifyTimesNEQ(v int8) predicate.NotifyTask

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

func NotifyTimesNotIn

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

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

func NotifyURL

func NotifyURL(v string) predicate.NotifyTask

NotifyURL applies equality check predicate on the "notify_url" field. It's identical to NotifyURLEQ.

func NotifyURLContains

func NotifyURLContains(v string) predicate.NotifyTask

NotifyURLContains applies the Contains predicate on the "notify_url" field.

func NotifyURLContainsFold

func NotifyURLContainsFold(v string) predicate.NotifyTask

NotifyURLContainsFold applies the ContainsFold predicate on the "notify_url" field.

func NotifyURLEQ

func NotifyURLEQ(v string) predicate.NotifyTask

NotifyURLEQ applies the EQ predicate on the "notify_url" field.

func NotifyURLEqualFold

func NotifyURLEqualFold(v string) predicate.NotifyTask

NotifyURLEqualFold applies the EqualFold predicate on the "notify_url" field.

func NotifyURLGT

func NotifyURLGT(v string) predicate.NotifyTask

NotifyURLGT applies the GT predicate on the "notify_url" field.

func NotifyURLGTE

func NotifyURLGTE(v string) predicate.NotifyTask

NotifyURLGTE applies the GTE predicate on the "notify_url" field.

func NotifyURLHasPrefix

func NotifyURLHasPrefix(v string) predicate.NotifyTask

NotifyURLHasPrefix applies the HasPrefix predicate on the "notify_url" field.

func NotifyURLHasSuffix

func NotifyURLHasSuffix(v string) predicate.NotifyTask

NotifyURLHasSuffix applies the HasSuffix predicate on the "notify_url" field.

func NotifyURLIn

func NotifyURLIn(vs ...string) predicate.NotifyTask

NotifyURLIn applies the In predicate on the "notify_url" field.

func NotifyURLLT

func NotifyURLLT(v string) predicate.NotifyTask

NotifyURLLT applies the LT predicate on the "notify_url" field.

func NotifyURLLTE

func NotifyURLLTE(v string) predicate.NotifyTask

NotifyURLLTE applies the LTE predicate on the "notify_url" field.

func NotifyURLNEQ

func NotifyURLNEQ(v string) predicate.NotifyTask

NotifyURLNEQ applies the NEQ predicate on the "notify_url" field.

func NotifyURLNotIn

func NotifyURLNotIn(vs ...string) predicate.NotifyTask

NotifyURLNotIn applies the NotIn predicate on the "notify_url" field.

func Or

func Or(predicates ...predicate.NotifyTask) predicate.NotifyTask

Or groups predicates with the OR operator between them.

func Status

func Status(v uint8) predicate.NotifyTask

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

func StatusEQ

func StatusEQ(v uint8) predicate.NotifyTask

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

func StatusGT

func StatusGT(v uint8) predicate.NotifyTask

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

func StatusGTE

func StatusGTE(v uint8) predicate.NotifyTask

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

func StatusIn

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

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

func StatusIsNil

func StatusIsNil() predicate.NotifyTask

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

func StatusLT

func StatusLT(v uint8) predicate.NotifyTask

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

func StatusLTE

func StatusLTE(v uint8) predicate.NotifyTask

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

func StatusNEQ

func StatusNEQ(v uint8) predicate.NotifyTask

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

func StatusNotIn

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

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

func StatusNotNil

func StatusNotNil() predicate.NotifyTask

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

func Type

func Type(v int) predicate.NotifyTask

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

func TypeEQ

func TypeEQ(v int) predicate.NotifyTask

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

func TypeGT

func TypeGT(v int) predicate.NotifyTask

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

func TypeGTE

func TypeGTE(v int) predicate.NotifyTask

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

func TypeIn

func TypeIn(vs ...int) predicate.NotifyTask

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

func TypeLT

func TypeLT(v int) predicate.NotifyTask

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

func TypeLTE

func TypeLTE(v int) predicate.NotifyTask

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

func TypeNEQ

func TypeNEQ(v int) predicate.NotifyTask

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

func TypeNotIn

func TypeNotIn(vs ...int) predicate.NotifyTask

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

func UpdatedAt

func UpdatedAt(v time.Time) predicate.NotifyTask

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.NotifyTask

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.NotifyTask

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.NotifyTask

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.NotifyTask

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.NotifyTask

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.NotifyTask

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

func UpdatedAtNotIn

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

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 NotifyTask queries.

func ByAppID

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

ByAppID orders the results by the app_id field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByDataID

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

ByDataID orders the results by the data_id 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 ByLastExecuteTime

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

ByLastExecuteTime orders the results by the last_execute_time field.

func ByMaxNotifyTimes

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

ByMaxNotifyTimes orders the results by the max_notify_times field.

func ByMerchantOrderID

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

ByMerchantOrderID orders the results by the merchant_order_id field.

func ByNextNotifyTime

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

ByNextNotifyTime orders the results by the next_notify_time field.

func ByNotifyTimes

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

ByNotifyTimes orders the results by the notify_times field.

func ByNotifyURL

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

ByNotifyURL orders the results by the notify_url field.

func ByStatus

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

ByStatus orders the results by the status field.

func ByType

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

ByType orders the results by the type 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