Documentation
¶
Index ¶
- Constants
- Variables
- func Amount(v int64) predicate.ProxyUserWithdrawal
- func AmountEQ(v int64) predicate.ProxyUserWithdrawal
- func AmountGT(v int64) predicate.ProxyUserWithdrawal
- func AmountGTE(v int64) predicate.ProxyUserWithdrawal
- func AmountIn(vs ...int64) predicate.ProxyUserWithdrawal
- func AmountLT(v int64) predicate.ProxyUserWithdrawal
- func AmountLTE(v int64) predicate.ProxyUserWithdrawal
- func AmountNEQ(v int64) predicate.ProxyUserWithdrawal
- func AmountNotIn(vs ...int64) predicate.ProxyUserWithdrawal
- func And(predicates ...predicate.ProxyUserWithdrawal) predicate.ProxyUserWithdrawal
- func Content(v string) predicate.ProxyUserWithdrawal
- func ContentContains(v string) predicate.ProxyUserWithdrawal
- func ContentContainsFold(v string) predicate.ProxyUserWithdrawal
- func ContentEQ(v string) predicate.ProxyUserWithdrawal
- func ContentEqualFold(v string) predicate.ProxyUserWithdrawal
- func ContentGT(v string) predicate.ProxyUserWithdrawal
- func ContentGTE(v string) predicate.ProxyUserWithdrawal
- func ContentHasPrefix(v string) predicate.ProxyUserWithdrawal
- func ContentHasSuffix(v string) predicate.ProxyUserWithdrawal
- func ContentIn(vs ...string) predicate.ProxyUserWithdrawal
- func ContentIsNil() predicate.ProxyUserWithdrawal
- func ContentLT(v string) predicate.ProxyUserWithdrawal
- func ContentLTE(v string) predicate.ProxyUserWithdrawal
- func ContentNEQ(v string) predicate.ProxyUserWithdrawal
- func ContentNotIn(vs ...string) predicate.ProxyUserWithdrawal
- func ContentNotNil() predicate.ProxyUserWithdrawal
- func CreatedAt(v time.Time) predicate.ProxyUserWithdrawal
- func CreatedAtEQ(v time.Time) predicate.ProxyUserWithdrawal
- func CreatedAtGT(v time.Time) predicate.ProxyUserWithdrawal
- func CreatedAtGTE(v time.Time) predicate.ProxyUserWithdrawal
- func CreatedAtIn(vs ...time.Time) predicate.ProxyUserWithdrawal
- func CreatedAtLT(v time.Time) predicate.ProxyUserWithdrawal
- func CreatedAtLTE(v time.Time) predicate.ProxyUserWithdrawal
- func CreatedAtNEQ(v time.Time) predicate.ProxyUserWithdrawal
- func CreatedAtNotIn(vs ...time.Time) predicate.ProxyUserWithdrawal
- func HasUser() predicate.ProxyUserWithdrawal
- func HasUserWith(preds ...predicate.ProxyUser) predicate.ProxyUserWithdrawal
- func ID(id int64) predicate.ProxyUserWithdrawal
- func IDEQ(id int64) predicate.ProxyUserWithdrawal
- func IDGT(id int64) predicate.ProxyUserWithdrawal
- func IDGTE(id int64) predicate.ProxyUserWithdrawal
- func IDIn(ids ...int64) predicate.ProxyUserWithdrawal
- func IDLT(id int64) predicate.ProxyUserWithdrawal
- func IDLTE(id int64) predicate.ProxyUserWithdrawal
- func IDNEQ(id int64) predicate.ProxyUserWithdrawal
- func IDNotIn(ids ...int64) predicate.ProxyUserWithdrawal
- func Not(p predicate.ProxyUserWithdrawal) predicate.ProxyUserWithdrawal
- func Or(predicates ...predicate.ProxyUserWithdrawal) predicate.ProxyUserWithdrawal
- func Reason(v string) predicate.ProxyUserWithdrawal
- func ReasonContains(v string) predicate.ProxyUserWithdrawal
- func ReasonContainsFold(v string) predicate.ProxyUserWithdrawal
- func ReasonEQ(v string) predicate.ProxyUserWithdrawal
- func ReasonEqualFold(v string) predicate.ProxyUserWithdrawal
- func ReasonGT(v string) predicate.ProxyUserWithdrawal
- func ReasonGTE(v string) predicate.ProxyUserWithdrawal
- func ReasonHasPrefix(v string) predicate.ProxyUserWithdrawal
- func ReasonHasSuffix(v string) predicate.ProxyUserWithdrawal
- func ReasonIn(vs ...string) predicate.ProxyUserWithdrawal
- func ReasonIsNil() predicate.ProxyUserWithdrawal
- func ReasonLT(v string) predicate.ProxyUserWithdrawal
- func ReasonLTE(v string) predicate.ProxyUserWithdrawal
- func ReasonNEQ(v string) predicate.ProxyUserWithdrawal
- func ReasonNotIn(vs ...string) predicate.ProxyUserWithdrawal
- func ReasonNotNil() predicate.ProxyUserWithdrawal
- func Status(v int8) predicate.ProxyUserWithdrawal
- func StatusEQ(v int8) predicate.ProxyUserWithdrawal
- func StatusGT(v int8) predicate.ProxyUserWithdrawal
- func StatusGTE(v int8) predicate.ProxyUserWithdrawal
- func StatusIn(vs ...int8) predicate.ProxyUserWithdrawal
- func StatusLT(v int8) predicate.ProxyUserWithdrawal
- func StatusLTE(v int8) predicate.ProxyUserWithdrawal
- func StatusNEQ(v int8) predicate.ProxyUserWithdrawal
- func StatusNotIn(vs ...int8) predicate.ProxyUserWithdrawal
- func UpdatedAt(v time.Time) predicate.ProxyUserWithdrawal
- func UpdatedAtEQ(v time.Time) predicate.ProxyUserWithdrawal
- func UpdatedAtGT(v time.Time) predicate.ProxyUserWithdrawal
- func UpdatedAtGTE(v time.Time) predicate.ProxyUserWithdrawal
- func UpdatedAtIn(vs ...time.Time) predicate.ProxyUserWithdrawal
- func UpdatedAtLT(v time.Time) predicate.ProxyUserWithdrawal
- func UpdatedAtLTE(v time.Time) predicate.ProxyUserWithdrawal
- func UpdatedAtNEQ(v time.Time) predicate.ProxyUserWithdrawal
- func UpdatedAtNotIn(vs ...time.Time) predicate.ProxyUserWithdrawal
- func UserID(v int64) predicate.ProxyUserWithdrawal
- func UserIDEQ(v int64) predicate.ProxyUserWithdrawal
- func UserIDIn(vs ...int64) predicate.ProxyUserWithdrawal
- func UserIDNEQ(v int64) predicate.ProxyUserWithdrawal
- func UserIDNotIn(vs ...int64) predicate.ProxyUserWithdrawal
- func ValidColumn(column string) bool
- type OrderOption
- func ByAmount(opts ...sql.OrderTermOption) OrderOption
- func ByContent(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByReason(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByUserID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the proxyuserwithdrawal type in the database. Label = "proxy_user_withdrawal" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldAmount holds the string denoting the amount field in the database. FieldAmount = "amount" // FieldContent holds the string denoting the content field in the database. FieldContent = "content" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldReason holds the string denoting the reason field in the database. FieldReason = "reason" // 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" // EdgeUser holds the string denoting the user edge name in mutations. EdgeUser = "user" // Table holds the table name of the proxyuserwithdrawal in the database. Table = "user_withdrawal" // UserTable is the table that holds the user relation/edge. UserTable = "user_withdrawal" // UserInverseTable is the table name for the ProxyUser entity. // It exists in this package in order to avoid circular dependency with the "proxyuser" package. UserInverseTable = "user" // UserColumn is the table column denoting the user relation/edge. UserColumn = "user_id" )
Variables ¶
var ( // DefaultStatus holds the default value on creation for the "status" field. DefaultStatus int8 // ReasonValidator is a validator for the "reason" field. It is called by the builders before save. ReasonValidator func(string) error // 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 // IDValidator is a validator for the "id" field. It is called by the builders before save. IDValidator func(int64) error )
var Columns = []string{ FieldID, FieldUserID, FieldAmount, FieldContent, FieldStatus, FieldReason, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for proxyuserwithdrawal fields.
Functions ¶
func Amount ¶
func Amount(v int64) predicate.ProxyUserWithdrawal
Amount applies equality check predicate on the "amount" field. It's identical to AmountEQ.
func AmountEQ ¶
func AmountEQ(v int64) predicate.ProxyUserWithdrawal
AmountEQ applies the EQ predicate on the "amount" field.
func AmountGT ¶
func AmountGT(v int64) predicate.ProxyUserWithdrawal
AmountGT applies the GT predicate on the "amount" field.
func AmountGTE ¶
func AmountGTE(v int64) predicate.ProxyUserWithdrawal
AmountGTE applies the GTE predicate on the "amount" field.
func AmountIn ¶
func AmountIn(vs ...int64) predicate.ProxyUserWithdrawal
AmountIn applies the In predicate on the "amount" field.
func AmountLT ¶
func AmountLT(v int64) predicate.ProxyUserWithdrawal
AmountLT applies the LT predicate on the "amount" field.
func AmountLTE ¶
func AmountLTE(v int64) predicate.ProxyUserWithdrawal
AmountLTE applies the LTE predicate on the "amount" field.
func AmountNEQ ¶
func AmountNEQ(v int64) predicate.ProxyUserWithdrawal
AmountNEQ applies the NEQ predicate on the "amount" field.
func AmountNotIn ¶
func AmountNotIn(vs ...int64) predicate.ProxyUserWithdrawal
AmountNotIn applies the NotIn predicate on the "amount" field.
func And ¶
func And(predicates ...predicate.ProxyUserWithdrawal) predicate.ProxyUserWithdrawal
And groups predicates with the AND operator between them.
func Content ¶
func Content(v string) predicate.ProxyUserWithdrawal
Content applies equality check predicate on the "content" field. It's identical to ContentEQ.
func ContentContains ¶
func ContentContains(v string) predicate.ProxyUserWithdrawal
ContentContains applies the Contains predicate on the "content" field.
func ContentContainsFold ¶
func ContentContainsFold(v string) predicate.ProxyUserWithdrawal
ContentContainsFold applies the ContainsFold predicate on the "content" field.
func ContentEQ ¶
func ContentEQ(v string) predicate.ProxyUserWithdrawal
ContentEQ applies the EQ predicate on the "content" field.
func ContentEqualFold ¶
func ContentEqualFold(v string) predicate.ProxyUserWithdrawal
ContentEqualFold applies the EqualFold predicate on the "content" field.
func ContentGT ¶
func ContentGT(v string) predicate.ProxyUserWithdrawal
ContentGT applies the GT predicate on the "content" field.
func ContentGTE ¶
func ContentGTE(v string) predicate.ProxyUserWithdrawal
ContentGTE applies the GTE predicate on the "content" field.
func ContentHasPrefix ¶
func ContentHasPrefix(v string) predicate.ProxyUserWithdrawal
ContentHasPrefix applies the HasPrefix predicate on the "content" field.
func ContentHasSuffix ¶
func ContentHasSuffix(v string) predicate.ProxyUserWithdrawal
ContentHasSuffix applies the HasSuffix predicate on the "content" field.
func ContentIn ¶
func ContentIn(vs ...string) predicate.ProxyUserWithdrawal
ContentIn applies the In predicate on the "content" field.
func ContentIsNil ¶
func ContentIsNil() predicate.ProxyUserWithdrawal
ContentIsNil applies the IsNil predicate on the "content" field.
func ContentLT ¶
func ContentLT(v string) predicate.ProxyUserWithdrawal
ContentLT applies the LT predicate on the "content" field.
func ContentLTE ¶
func ContentLTE(v string) predicate.ProxyUserWithdrawal
ContentLTE applies the LTE predicate on the "content" field.
func ContentNEQ ¶
func ContentNEQ(v string) predicate.ProxyUserWithdrawal
ContentNEQ applies the NEQ predicate on the "content" field.
func ContentNotIn ¶
func ContentNotIn(vs ...string) predicate.ProxyUserWithdrawal
ContentNotIn applies the NotIn predicate on the "content" field.
func ContentNotNil ¶
func ContentNotNil() predicate.ProxyUserWithdrawal
ContentNotNil applies the NotNil predicate on the "content" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.ProxyUserWithdrawal
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.ProxyUserWithdrawal
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.ProxyUserWithdrawal
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.ProxyUserWithdrawal
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.ProxyUserWithdrawal
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.ProxyUserWithdrawal
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.ProxyUserWithdrawal
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.ProxyUserWithdrawal
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.ProxyUserWithdrawal
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func HasUser ¶
func HasUser() predicate.ProxyUserWithdrawal
HasUser applies the HasEdge predicate on the "user" edge.
func HasUserWith ¶
func HasUserWith(preds ...predicate.ProxyUser) predicate.ProxyUserWithdrawal
HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).
func ID ¶
func ID(id int64) predicate.ProxyUserWithdrawal
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id int64) predicate.ProxyUserWithdrawal
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int64) predicate.ProxyUserWithdrawal
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int64) predicate.ProxyUserWithdrawal
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int64) predicate.ProxyUserWithdrawal
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int64) predicate.ProxyUserWithdrawal
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int64) predicate.ProxyUserWithdrawal
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int64) predicate.ProxyUserWithdrawal
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int64) predicate.ProxyUserWithdrawal
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.ProxyUserWithdrawal) predicate.ProxyUserWithdrawal
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.ProxyUserWithdrawal) predicate.ProxyUserWithdrawal
Or groups predicates with the OR operator between them.
func Reason ¶
func Reason(v string) predicate.ProxyUserWithdrawal
Reason applies equality check predicate on the "reason" field. It's identical to ReasonEQ.
func ReasonContains ¶
func ReasonContains(v string) predicate.ProxyUserWithdrawal
ReasonContains applies the Contains predicate on the "reason" field.
func ReasonContainsFold ¶
func ReasonContainsFold(v string) predicate.ProxyUserWithdrawal
ReasonContainsFold applies the ContainsFold predicate on the "reason" field.
func ReasonEQ ¶
func ReasonEQ(v string) predicate.ProxyUserWithdrawal
ReasonEQ applies the EQ predicate on the "reason" field.
func ReasonEqualFold ¶
func ReasonEqualFold(v string) predicate.ProxyUserWithdrawal
ReasonEqualFold applies the EqualFold predicate on the "reason" field.
func ReasonGT ¶
func ReasonGT(v string) predicate.ProxyUserWithdrawal
ReasonGT applies the GT predicate on the "reason" field.
func ReasonGTE ¶
func ReasonGTE(v string) predicate.ProxyUserWithdrawal
ReasonGTE applies the GTE predicate on the "reason" field.
func ReasonHasPrefix ¶
func ReasonHasPrefix(v string) predicate.ProxyUserWithdrawal
ReasonHasPrefix applies the HasPrefix predicate on the "reason" field.
func ReasonHasSuffix ¶
func ReasonHasSuffix(v string) predicate.ProxyUserWithdrawal
ReasonHasSuffix applies the HasSuffix predicate on the "reason" field.
func ReasonIn ¶
func ReasonIn(vs ...string) predicate.ProxyUserWithdrawal
ReasonIn applies the In predicate on the "reason" field.
func ReasonIsNil ¶
func ReasonIsNil() predicate.ProxyUserWithdrawal
ReasonIsNil applies the IsNil predicate on the "reason" field.
func ReasonLT ¶
func ReasonLT(v string) predicate.ProxyUserWithdrawal
ReasonLT applies the LT predicate on the "reason" field.
func ReasonLTE ¶
func ReasonLTE(v string) predicate.ProxyUserWithdrawal
ReasonLTE applies the LTE predicate on the "reason" field.
func ReasonNEQ ¶
func ReasonNEQ(v string) predicate.ProxyUserWithdrawal
ReasonNEQ applies the NEQ predicate on the "reason" field.
func ReasonNotIn ¶
func ReasonNotIn(vs ...string) predicate.ProxyUserWithdrawal
ReasonNotIn applies the NotIn predicate on the "reason" field.
func ReasonNotNil ¶
func ReasonNotNil() predicate.ProxyUserWithdrawal
ReasonNotNil applies the NotNil predicate on the "reason" field.
func Status ¶
func Status(v int8) predicate.ProxyUserWithdrawal
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusEQ ¶
func StatusEQ(v int8) predicate.ProxyUserWithdrawal
StatusEQ applies the EQ predicate on the "status" field.
func StatusGT ¶
func StatusGT(v int8) predicate.ProxyUserWithdrawal
StatusGT applies the GT predicate on the "status" field.
func StatusGTE ¶
func StatusGTE(v int8) predicate.ProxyUserWithdrawal
StatusGTE applies the GTE predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...int8) predicate.ProxyUserWithdrawal
StatusIn applies the In predicate on the "status" field.
func StatusLT ¶
func StatusLT(v int8) predicate.ProxyUserWithdrawal
StatusLT applies the LT predicate on the "status" field.
func StatusLTE ¶
func StatusLTE(v int8) predicate.ProxyUserWithdrawal
StatusLTE applies the LTE predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v int8) predicate.ProxyUserWithdrawal
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...int8) predicate.ProxyUserWithdrawal
StatusNotIn applies the NotIn predicate on the "status" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.ProxyUserWithdrawal
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.ProxyUserWithdrawal
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.ProxyUserWithdrawal
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.ProxyUserWithdrawal
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.ProxyUserWithdrawal
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.ProxyUserWithdrawal
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.ProxyUserWithdrawal
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.ProxyUserWithdrawal
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.ProxyUserWithdrawal
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UserID ¶
func UserID(v int64) predicate.ProxyUserWithdrawal
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDEQ ¶
func UserIDEQ(v int64) predicate.ProxyUserWithdrawal
UserIDEQ applies the EQ predicate on the "user_id" field.
func UserIDIn ¶
func UserIDIn(vs ...int64) predicate.ProxyUserWithdrawal
UserIDIn applies the In predicate on the "user_id" field.
func UserIDNEQ ¶
func UserIDNEQ(v int64) predicate.ProxyUserWithdrawal
UserIDNEQ applies the NEQ predicate on the "user_id" field.
func UserIDNotIn ¶
func UserIDNotIn(vs ...int64) predicate.ProxyUserWithdrawal
UserIDNotIn applies the NotIn predicate on the "user_id" 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 ProxyUserWithdrawal queries.
func ByAmount ¶
func ByAmount(opts ...sql.OrderTermOption) OrderOption
ByAmount orders the results by the amount field.
func ByContent ¶
func ByContent(opts ...sql.OrderTermOption) OrderOption
ByContent orders the results by the content field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByReason ¶
func ByReason(opts ...sql.OrderTermOption) OrderOption
ByReason orders the results by the reason 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.
func ByUserField ¶
func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption
ByUserField orders the results by user field.
func ByUserID ¶
func ByUserID(opts ...sql.OrderTermOption) OrderOption
ByUserID orders the results by the user_id field.