 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- Constants
- Variables
- func And(predicates ...predicate.NotifyLog) predicate.NotifyLog
- func CreatedAt(v time.Time) predicate.NotifyLog
- func CreatedAtEQ(v time.Time) predicate.NotifyLog
- func CreatedAtGT(v time.Time) predicate.NotifyLog
- func CreatedAtGTE(v time.Time) predicate.NotifyLog
- func CreatedAtIn(vs ...time.Time) predicate.NotifyLog
- func CreatedAtLT(v time.Time) predicate.NotifyLog
- func CreatedAtLTE(v time.Time) predicate.NotifyLog
- func CreatedAtNEQ(v time.Time) predicate.NotifyLog
- func CreatedAtNotIn(vs ...time.Time) predicate.NotifyLog
- func DeletedAt(v time.Time) predicate.NotifyLog
- func DeletedAtEQ(v time.Time) predicate.NotifyLog
- func DeletedAtGT(v time.Time) predicate.NotifyLog
- func DeletedAtGTE(v time.Time) predicate.NotifyLog
- func DeletedAtIn(vs ...time.Time) predicate.NotifyLog
- func DeletedAtIsNil() predicate.NotifyLog
- func DeletedAtLT(v time.Time) predicate.NotifyLog
- func DeletedAtLTE(v time.Time) predicate.NotifyLog
- func DeletedAtNEQ(v time.Time) predicate.NotifyLog
- func DeletedAtNotIn(vs ...time.Time) predicate.NotifyLog
- func DeletedAtNotNil() predicate.NotifyLog
- func ID(id uint64) predicate.NotifyLog
- func IDEQ(id uint64) predicate.NotifyLog
- func IDGT(id uint64) predicate.NotifyLog
- func IDGTE(id uint64) predicate.NotifyLog
- func IDIn(ids ...uint64) predicate.NotifyLog
- func IDLT(id uint64) predicate.NotifyLog
- func IDLTE(id uint64) predicate.NotifyLog
- func IDNEQ(id uint64) predicate.NotifyLog
- func IDNotIn(ids ...uint64) predicate.NotifyLog
- func Not(p predicate.NotifyLog) predicate.NotifyLog
- func NotifyTimes(v int8) predicate.NotifyLog
- func NotifyTimesEQ(v int8) predicate.NotifyLog
- func NotifyTimesGT(v int8) predicate.NotifyLog
- func NotifyTimesGTE(v int8) predicate.NotifyLog
- func NotifyTimesIn(vs ...int8) predicate.NotifyLog
- func NotifyTimesLT(v int8) predicate.NotifyLog
- func NotifyTimesLTE(v int8) predicate.NotifyLog
- func NotifyTimesNEQ(v int8) predicate.NotifyLog
- func NotifyTimesNotIn(vs ...int8) predicate.NotifyLog
- func Or(predicates ...predicate.NotifyLog) predicate.NotifyLog
- func Response(v string) predicate.NotifyLog
- func ResponseContains(v string) predicate.NotifyLog
- func ResponseContainsFold(v string) predicate.NotifyLog
- func ResponseEQ(v string) predicate.NotifyLog
- func ResponseEqualFold(v string) predicate.NotifyLog
- func ResponseGT(v string) predicate.NotifyLog
- func ResponseGTE(v string) predicate.NotifyLog
- func ResponseHasPrefix(v string) predicate.NotifyLog
- func ResponseHasSuffix(v string) predicate.NotifyLog
- func ResponseIn(vs ...string) predicate.NotifyLog
- func ResponseLT(v string) predicate.NotifyLog
- func ResponseLTE(v string) predicate.NotifyLog
- func ResponseNEQ(v string) predicate.NotifyLog
- func ResponseNotIn(vs ...string) predicate.NotifyLog
- func Status(v uint8) predicate.NotifyLog
- func StatusEQ(v uint8) predicate.NotifyLog
- func StatusGT(v uint8) predicate.NotifyLog
- func StatusGTE(v uint8) predicate.NotifyLog
- func StatusIn(vs ...uint8) predicate.NotifyLog
- func StatusIsNil() predicate.NotifyLog
- func StatusLT(v uint8) predicate.NotifyLog
- func StatusLTE(v uint8) predicate.NotifyLog
- func StatusNEQ(v uint8) predicate.NotifyLog
- func StatusNotIn(vs ...uint8) predicate.NotifyLog
- func StatusNotNil() predicate.NotifyLog
- func TaskID(v uint64) predicate.NotifyLog
- func TaskIDEQ(v uint64) predicate.NotifyLog
- func TaskIDGT(v uint64) predicate.NotifyLog
- func TaskIDGTE(v uint64) predicate.NotifyLog
- func TaskIDIn(vs ...uint64) predicate.NotifyLog
- func TaskIDLT(v uint64) predicate.NotifyLog
- func TaskIDLTE(v uint64) predicate.NotifyLog
- func TaskIDNEQ(v uint64) predicate.NotifyLog
- func TaskIDNotIn(vs ...uint64) predicate.NotifyLog
- func UpdatedAt(v time.Time) predicate.NotifyLog
- func UpdatedAtEQ(v time.Time) predicate.NotifyLog
- func UpdatedAtGT(v time.Time) predicate.NotifyLog
- func UpdatedAtGTE(v time.Time) predicate.NotifyLog
- func UpdatedAtIn(vs ...time.Time) predicate.NotifyLog
- func UpdatedAtLT(v time.Time) predicate.NotifyLog
- func UpdatedAtLTE(v time.Time) predicate.NotifyLog
- func UpdatedAtNEQ(v time.Time) predicate.NotifyLog
- func UpdatedAtNotIn(vs ...time.Time) predicate.NotifyLog
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByNotifyTimes(opts ...sql.OrderTermOption) OrderOption
- func ByResponse(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByTaskID(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
 
Constants ¶
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 ¶
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"
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldStatus, FieldDeletedAt, FieldTaskID, FieldNotifyTimes, FieldResponse, }
Columns holds all SQL columns for notifylog fields.
Functions ¶
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DeletedAt ¶
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func NotifyTimes ¶
NotifyTimes applies equality check predicate on the "notify_times" field. It's identical to NotifyTimesEQ.
func NotifyTimesEQ ¶
NotifyTimesEQ applies the EQ predicate on the "notify_times" field.
func NotifyTimesGT ¶
NotifyTimesGT applies the GT predicate on the "notify_times" field.
func NotifyTimesGTE ¶
NotifyTimesGTE applies the GTE predicate on the "notify_times" field.
func NotifyTimesIn ¶
NotifyTimesIn applies the In predicate on the "notify_times" field.
func NotifyTimesLT ¶
NotifyTimesLT applies the LT predicate on the "notify_times" field.
func NotifyTimesLTE ¶
NotifyTimesLTE applies the LTE predicate on the "notify_times" field.
func NotifyTimesNEQ ¶
NotifyTimesNEQ applies the NEQ predicate on the "notify_times" field.
func NotifyTimesNotIn ¶
NotifyTimesNotIn applies the NotIn predicate on the "notify_times" field.
func Response ¶
Response applies equality check predicate on the "response" field. It's identical to ResponseEQ.
func ResponseContains ¶
ResponseContains applies the Contains predicate on the "response" field.
func ResponseContainsFold ¶
ResponseContainsFold applies the ContainsFold predicate on the "response" field.
func ResponseEQ ¶
ResponseEQ applies the EQ predicate on the "response" field.
func ResponseEqualFold ¶
ResponseEqualFold applies the EqualFold predicate on the "response" field.
func ResponseGT ¶
ResponseGT applies the GT predicate on the "response" field.
func ResponseGTE ¶
ResponseGTE applies the GTE predicate on the "response" field.
func ResponseHasPrefix ¶
ResponseHasPrefix applies the HasPrefix predicate on the "response" field.
func ResponseHasSuffix ¶
ResponseHasSuffix applies the HasSuffix predicate on the "response" field.
func ResponseIn ¶
ResponseIn applies the In predicate on the "response" field.
func ResponseLT ¶
ResponseLT applies the LT predicate on the "response" field.
func ResponseLTE ¶
ResponseLTE applies the LTE predicate on the "response" field.
func ResponseNEQ ¶
ResponseNEQ applies the NEQ predicate on the "response" field.
func ResponseNotIn ¶
ResponseNotIn applies the NotIn predicate on the "response" field.
func Status ¶
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusIsNil ¶
StatusIsNil applies the IsNil predicate on the "status" field.
func StatusNotIn ¶
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusNotNil ¶
StatusNotNil applies the NotNil predicate on the "status" field.
func TaskID ¶
TaskID applies equality check predicate on the "task_id" field. It's identical to TaskIDEQ.
func TaskIDNotIn ¶
TaskIDNotIn applies the NotIn predicate on the "task_id" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
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.