 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- Constants
- Variables
- func And(predicates ...predicate.App) predicate.App
- func CreatedAt(v time.Time) predicate.App
- func CreatedAtEQ(v time.Time) predicate.App
- func CreatedAtGT(v time.Time) predicate.App
- func CreatedAtGTE(v time.Time) predicate.App
- func CreatedAtIn(vs ...time.Time) predicate.App
- func CreatedAtLT(v time.Time) predicate.App
- func CreatedAtLTE(v time.Time) predicate.App
- func CreatedAtNEQ(v time.Time) predicate.App
- func CreatedAtNotIn(vs ...time.Time) predicate.App
- func DeletedAt(v time.Time) predicate.App
- func DeletedAtEQ(v time.Time) predicate.App
- func DeletedAtGT(v time.Time) predicate.App
- func DeletedAtGTE(v time.Time) predicate.App
- func DeletedAtIn(vs ...time.Time) predicate.App
- func DeletedAtIsNil() predicate.App
- func DeletedAtLT(v time.Time) predicate.App
- func DeletedAtLTE(v time.Time) predicate.App
- func DeletedAtNEQ(v time.Time) predicate.App
- func DeletedAtNotIn(vs ...time.Time) predicate.App
- func DeletedAtNotNil() predicate.App
- func ID(id uint64) predicate.App
- func IDEQ(id uint64) predicate.App
- func IDGT(id uint64) predicate.App
- func IDGTE(id uint64) predicate.App
- func IDIn(ids ...uint64) predicate.App
- func IDLT(id uint64) predicate.App
- func IDLTE(id uint64) predicate.App
- func IDNEQ(id uint64) predicate.App
- func IDNotIn(ids ...uint64) predicate.App
- func Name(v string) predicate.App
- func NameContains(v string) predicate.App
- func NameContainsFold(v string) predicate.App
- func NameEQ(v string) predicate.App
- func NameEqualFold(v string) predicate.App
- func NameGT(v string) predicate.App
- func NameGTE(v string) predicate.App
- func NameHasPrefix(v string) predicate.App
- func NameHasSuffix(v string) predicate.App
- func NameIn(vs ...string) predicate.App
- func NameLT(v string) predicate.App
- func NameLTE(v string) predicate.App
- func NameNEQ(v string) predicate.App
- func NameNotIn(vs ...string) predicate.App
- func Not(p predicate.App) predicate.App
- func Or(predicates ...predicate.App) predicate.App
- func OrderNotifyURL(v string) predicate.App
- func OrderNotifyURLContains(v string) predicate.App
- func OrderNotifyURLContainsFold(v string) predicate.App
- func OrderNotifyURLEQ(v string) predicate.App
- func OrderNotifyURLEqualFold(v string) predicate.App
- func OrderNotifyURLGT(v string) predicate.App
- func OrderNotifyURLGTE(v string) predicate.App
- func OrderNotifyURLHasPrefix(v string) predicate.App
- func OrderNotifyURLHasSuffix(v string) predicate.App
- func OrderNotifyURLIn(vs ...string) predicate.App
- func OrderNotifyURLLT(v string) predicate.App
- func OrderNotifyURLLTE(v string) predicate.App
- func OrderNotifyURLNEQ(v string) predicate.App
- func OrderNotifyURLNotIn(vs ...string) predicate.App
- func RefundNotifyURL(v string) predicate.App
- func RefundNotifyURLContains(v string) predicate.App
- func RefundNotifyURLContainsFold(v string) predicate.App
- func RefundNotifyURLEQ(v string) predicate.App
- func RefundNotifyURLEqualFold(v string) predicate.App
- func RefundNotifyURLGT(v string) predicate.App
- func RefundNotifyURLGTE(v string) predicate.App
- func RefundNotifyURLHasPrefix(v string) predicate.App
- func RefundNotifyURLHasSuffix(v string) predicate.App
- func RefundNotifyURLIn(vs ...string) predicate.App
- func RefundNotifyURLLT(v string) predicate.App
- func RefundNotifyURLLTE(v string) predicate.App
- func RefundNotifyURLNEQ(v string) predicate.App
- func RefundNotifyURLNotIn(vs ...string) predicate.App
- func Remark(v string) predicate.App
- func RemarkContains(v string) predicate.App
- func RemarkContainsFold(v string) predicate.App
- func RemarkEQ(v string) predicate.App
- func RemarkEqualFold(v string) predicate.App
- func RemarkGT(v string) predicate.App
- func RemarkGTE(v string) predicate.App
- func RemarkHasPrefix(v string) predicate.App
- func RemarkHasSuffix(v string) predicate.App
- func RemarkIn(vs ...string) predicate.App
- func RemarkIsNil() predicate.App
- func RemarkLT(v string) predicate.App
- func RemarkLTE(v string) predicate.App
- func RemarkNEQ(v string) predicate.App
- func RemarkNotIn(vs ...string) predicate.App
- func RemarkNotNil() predicate.App
- func Status(v uint8) predicate.App
- func StatusEQ(v uint8) predicate.App
- func StatusGT(v uint8) predicate.App
- func StatusGTE(v uint8) predicate.App
- func StatusIn(vs ...uint8) predicate.App
- func StatusIsNil() predicate.App
- func StatusLT(v uint8) predicate.App
- func StatusLTE(v uint8) predicate.App
- func StatusNEQ(v uint8) predicate.App
- func StatusNotIn(vs ...uint8) predicate.App
- func StatusNotNil() predicate.App
- func UpdatedAt(v time.Time) predicate.App
- func UpdatedAtEQ(v time.Time) predicate.App
- func UpdatedAtGT(v time.Time) predicate.App
- func UpdatedAtGTE(v time.Time) predicate.App
- func UpdatedAtIn(vs ...time.Time) predicate.App
- func UpdatedAtLT(v time.Time) predicate.App
- func UpdatedAtLTE(v time.Time) predicate.App
- func UpdatedAtNEQ(v time.Time) predicate.App
- func UpdatedAtNotIn(vs ...time.Time) predicate.App
- 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 ByName(opts ...sql.OrderTermOption) OrderOption
- func ByOrderNotifyURL(opts ...sql.OrderTermOption) OrderOption
- func ByRefundNotifyURL(opts ...sql.OrderTermOption) OrderOption
- func ByRemark(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
 
Constants ¶
const ( // Label holds the string label denoting the app type in the database. Label = "app" // 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" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldRemark holds the string denoting the remark field in the database. FieldRemark = "remark" // FieldOrderNotifyURL holds the string denoting the order_notify_url field in the database. FieldOrderNotifyURL = "order_notify_url" // FieldRefundNotifyURL holds the string denoting the refund_notify_url field in the database. FieldRefundNotifyURL = "refund_notify_url" // Table holds the table name of the app in the database. Table = "pay_app" )
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, FieldName, FieldRemark, FieldOrderNotifyURL, FieldRefundNotifyURL, }
Columns holds all SQL columns for app 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 NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func OrderNotifyURL ¶
OrderNotifyURL applies equality check predicate on the "order_notify_url" field. It's identical to OrderNotifyURLEQ.
func OrderNotifyURLContains ¶
OrderNotifyURLContains applies the Contains predicate on the "order_notify_url" field.
func OrderNotifyURLContainsFold ¶
OrderNotifyURLContainsFold applies the ContainsFold predicate on the "order_notify_url" field.
func OrderNotifyURLEQ ¶
OrderNotifyURLEQ applies the EQ predicate on the "order_notify_url" field.
func OrderNotifyURLEqualFold ¶
OrderNotifyURLEqualFold applies the EqualFold predicate on the "order_notify_url" field.
func OrderNotifyURLGT ¶
OrderNotifyURLGT applies the GT predicate on the "order_notify_url" field.
func OrderNotifyURLGTE ¶
OrderNotifyURLGTE applies the GTE predicate on the "order_notify_url" field.
func OrderNotifyURLHasPrefix ¶
OrderNotifyURLHasPrefix applies the HasPrefix predicate on the "order_notify_url" field.
func OrderNotifyURLHasSuffix ¶
OrderNotifyURLHasSuffix applies the HasSuffix predicate on the "order_notify_url" field.
func OrderNotifyURLIn ¶
OrderNotifyURLIn applies the In predicate on the "order_notify_url" field.
func OrderNotifyURLLT ¶
OrderNotifyURLLT applies the LT predicate on the "order_notify_url" field.
func OrderNotifyURLLTE ¶
OrderNotifyURLLTE applies the LTE predicate on the "order_notify_url" field.
func OrderNotifyURLNEQ ¶
OrderNotifyURLNEQ applies the NEQ predicate on the "order_notify_url" field.
func OrderNotifyURLNotIn ¶
OrderNotifyURLNotIn applies the NotIn predicate on the "order_notify_url" field.
func RefundNotifyURL ¶
RefundNotifyURL applies equality check predicate on the "refund_notify_url" field. It's identical to RefundNotifyURLEQ.
func RefundNotifyURLContains ¶
RefundNotifyURLContains applies the Contains predicate on the "refund_notify_url" field.
func RefundNotifyURLContainsFold ¶
RefundNotifyURLContainsFold applies the ContainsFold predicate on the "refund_notify_url" field.
func RefundNotifyURLEQ ¶
RefundNotifyURLEQ applies the EQ predicate on the "refund_notify_url" field.
func RefundNotifyURLEqualFold ¶
RefundNotifyURLEqualFold applies the EqualFold predicate on the "refund_notify_url" field.
func RefundNotifyURLGT ¶
RefundNotifyURLGT applies the GT predicate on the "refund_notify_url" field.
func RefundNotifyURLGTE ¶
RefundNotifyURLGTE applies the GTE predicate on the "refund_notify_url" field.
func RefundNotifyURLHasPrefix ¶
RefundNotifyURLHasPrefix applies the HasPrefix predicate on the "refund_notify_url" field.
func RefundNotifyURLHasSuffix ¶
RefundNotifyURLHasSuffix applies the HasSuffix predicate on the "refund_notify_url" field.
func RefundNotifyURLIn ¶
RefundNotifyURLIn applies the In predicate on the "refund_notify_url" field.
func RefundNotifyURLLT ¶
RefundNotifyURLLT applies the LT predicate on the "refund_notify_url" field.
func RefundNotifyURLLTE ¶
RefundNotifyURLLTE applies the LTE predicate on the "refund_notify_url" field.
func RefundNotifyURLNEQ ¶
RefundNotifyURLNEQ applies the NEQ predicate on the "refund_notify_url" field.
func RefundNotifyURLNotIn ¶
RefundNotifyURLNotIn applies the NotIn predicate on the "refund_notify_url" field.
func Remark ¶
Remark applies equality check predicate on the "remark" field. It's identical to RemarkEQ.
func RemarkContains ¶
RemarkContains applies the Contains predicate on the "remark" field.
func RemarkContainsFold ¶
RemarkContainsFold applies the ContainsFold predicate on the "remark" field.
func RemarkEqualFold ¶
RemarkEqualFold applies the EqualFold predicate on the "remark" field.
func RemarkHasPrefix ¶
RemarkHasPrefix applies the HasPrefix predicate on the "remark" field.
func RemarkHasSuffix ¶
RemarkHasSuffix applies the HasSuffix predicate on the "remark" field.
func RemarkIsNil ¶
RemarkIsNil applies the IsNil predicate on the "remark" field.
func RemarkNotIn ¶
RemarkNotIn applies the NotIn predicate on the "remark" field.
func RemarkNotNil ¶
RemarkNotNil applies the NotNil predicate on the "remark" 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 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 App 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 ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByOrderNotifyURL ¶
func ByOrderNotifyURL(opts ...sql.OrderTermOption) OrderOption
ByOrderNotifyURL orders the results by the order_notify_url field.
func ByRefundNotifyURL ¶
func ByRefundNotifyURL(opts ...sql.OrderTermOption) OrderOption
ByRefundNotifyURL orders the results by the refund_notify_url field.
func ByRemark ¶
func ByRemark(opts ...sql.OrderTermOption) OrderOption
ByRemark orders the results by the remark field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.