Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ProxyTask) predicate.ProxyTask
- func Content(v string) predicate.ProxyTask
- func ContentContains(v string) predicate.ProxyTask
- func ContentContainsFold(v string) predicate.ProxyTask
- func ContentEQ(v string) predicate.ProxyTask
- func ContentEqualFold(v string) predicate.ProxyTask
- func ContentGT(v string) predicate.ProxyTask
- func ContentGTE(v string) predicate.ProxyTask
- func ContentHasPrefix(v string) predicate.ProxyTask
- func ContentHasSuffix(v string) predicate.ProxyTask
- func ContentIn(vs ...string) predicate.ProxyTask
- func ContentIsNil() predicate.ProxyTask
- func ContentLT(v string) predicate.ProxyTask
- func ContentLTE(v string) predicate.ProxyTask
- func ContentNEQ(v string) predicate.ProxyTask
- func ContentNotIn(vs ...string) predicate.ProxyTask
- func ContentNotNil() predicate.ProxyTask
- func CreatedAt(v time.Time) predicate.ProxyTask
- func CreatedAtEQ(v time.Time) predicate.ProxyTask
- func CreatedAtGT(v time.Time) predicate.ProxyTask
- func CreatedAtGTE(v time.Time) predicate.ProxyTask
- func CreatedAtIn(vs ...time.Time) predicate.ProxyTask
- func CreatedAtLT(v time.Time) predicate.ProxyTask
- func CreatedAtLTE(v time.Time) predicate.ProxyTask
- func CreatedAtNEQ(v time.Time) predicate.ProxyTask
- func CreatedAtNotIn(vs ...time.Time) predicate.ProxyTask
- func Current(v uint32) predicate.ProxyTask
- func CurrentEQ(v uint32) predicate.ProxyTask
- func CurrentGT(v uint32) predicate.ProxyTask
- func CurrentGTE(v uint32) predicate.ProxyTask
- func CurrentIn(vs ...uint32) predicate.ProxyTask
- func CurrentLT(v uint32) predicate.ProxyTask
- func CurrentLTE(v uint32) predicate.ProxyTask
- func CurrentNEQ(v uint32) predicate.ProxyTask
- func CurrentNotIn(vs ...uint32) predicate.ProxyTask
- func Errors(v string) predicate.ProxyTask
- func ErrorsContains(v string) predicate.ProxyTask
- func ErrorsContainsFold(v string) predicate.ProxyTask
- func ErrorsEQ(v string) predicate.ProxyTask
- func ErrorsEqualFold(v string) predicate.ProxyTask
- func ErrorsGT(v string) predicate.ProxyTask
- func ErrorsGTE(v string) predicate.ProxyTask
- func ErrorsHasPrefix(v string) predicate.ProxyTask
- func ErrorsHasSuffix(v string) predicate.ProxyTask
- func ErrorsIn(vs ...string) predicate.ProxyTask
- func ErrorsIsNil() predicate.ProxyTask
- func ErrorsLT(v string) predicate.ProxyTask
- func ErrorsLTE(v string) predicate.ProxyTask
- func ErrorsNEQ(v string) predicate.ProxyTask
- func ErrorsNotIn(vs ...string) predicate.ProxyTask
- func ErrorsNotNil() predicate.ProxyTask
- func ID(id int64) predicate.ProxyTask
- func IDEQ(id int64) predicate.ProxyTask
- func IDGT(id int64) predicate.ProxyTask
- func IDGTE(id int64) predicate.ProxyTask
- func IDIn(ids ...int64) predicate.ProxyTask
- func IDLT(id int64) predicate.ProxyTask
- func IDLTE(id int64) predicate.ProxyTask
- func IDNEQ(id int64) predicate.ProxyTask
- func IDNotIn(ids ...int64) predicate.ProxyTask
- func Not(p predicate.ProxyTask) predicate.ProxyTask
- func Or(predicates ...predicate.ProxyTask) predicate.ProxyTask
- func Scope(v string) predicate.ProxyTask
- func ScopeContains(v string) predicate.ProxyTask
- func ScopeContainsFold(v string) predicate.ProxyTask
- func ScopeEQ(v string) predicate.ProxyTask
- func ScopeEqualFold(v string) predicate.ProxyTask
- func ScopeGT(v string) predicate.ProxyTask
- func ScopeGTE(v string) predicate.ProxyTask
- func ScopeHasPrefix(v string) predicate.ProxyTask
- func ScopeHasSuffix(v string) predicate.ProxyTask
- func ScopeIn(vs ...string) predicate.ProxyTask
- func ScopeIsNil() predicate.ProxyTask
- func ScopeLT(v string) predicate.ProxyTask
- func ScopeLTE(v string) predicate.ProxyTask
- func ScopeNEQ(v string) predicate.ProxyTask
- func ScopeNotIn(vs ...string) predicate.ProxyTask
- func ScopeNotNil() predicate.ProxyTask
- func Status(v int8) predicate.ProxyTask
- func StatusEQ(v int8) predicate.ProxyTask
- func StatusGT(v int8) predicate.ProxyTask
- func StatusGTE(v int8) predicate.ProxyTask
- func StatusIn(vs ...int8) predicate.ProxyTask
- func StatusLT(v int8) predicate.ProxyTask
- func StatusLTE(v int8) predicate.ProxyTask
- func StatusNEQ(v int8) predicate.ProxyTask
- func StatusNotIn(vs ...int8) predicate.ProxyTask
- func Total(v uint32) predicate.ProxyTask
- func TotalEQ(v uint32) predicate.ProxyTask
- func TotalGT(v uint32) predicate.ProxyTask
- func TotalGTE(v uint32) predicate.ProxyTask
- func TotalIn(vs ...uint32) predicate.ProxyTask
- func TotalLT(v uint32) predicate.ProxyTask
- func TotalLTE(v uint32) predicate.ProxyTask
- func TotalNEQ(v uint32) predicate.ProxyTask
- func TotalNotIn(vs ...uint32) predicate.ProxyTask
- func Type(v int8) predicate.ProxyTask
- func TypeEQ(v int8) predicate.ProxyTask
- func TypeGT(v int8) predicate.ProxyTask
- func TypeGTE(v int8) predicate.ProxyTask
- func TypeIn(vs ...int8) predicate.ProxyTask
- func TypeLT(v int8) predicate.ProxyTask
- func TypeLTE(v int8) predicate.ProxyTask
- func TypeNEQ(v int8) predicate.ProxyTask
- func TypeNotIn(vs ...int8) predicate.ProxyTask
- func UpdatedAt(v time.Time) predicate.ProxyTask
- func UpdatedAtEQ(v time.Time) predicate.ProxyTask
- func UpdatedAtGT(v time.Time) predicate.ProxyTask
- func UpdatedAtGTE(v time.Time) predicate.ProxyTask
- func UpdatedAtIn(vs ...time.Time) predicate.ProxyTask
- func UpdatedAtLT(v time.Time) predicate.ProxyTask
- func UpdatedAtLTE(v time.Time) predicate.ProxyTask
- func UpdatedAtNEQ(v time.Time) predicate.ProxyTask
- func UpdatedAtNotIn(vs ...time.Time) predicate.ProxyTask
- func ValidColumn(column string) bool
- type OrderOption
- func ByContent(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCurrent(opts ...sql.OrderTermOption) OrderOption
- func ByErrors(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByScope(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByTotal(opts ...sql.OrderTermOption) OrderOption
- func ByType(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the proxytask type in the database. Label = "proxy_task" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldScope holds the string denoting the scope field in the database. FieldScope = "scope" // 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" // FieldErrors holds the string denoting the errors field in the database. FieldErrors = "errors" // FieldTotal holds the string denoting the total field in the database. FieldTotal = "total" // FieldCurrent holds the string denoting the current field in the database. FieldCurrent = "current" // 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" // Table holds the table name of the proxytask in the database. Table = "task" )
Variables ¶
var ( // DefaultStatus holds the default value on creation for the "status" field. DefaultStatus int8 // DefaultTotal holds the default value on creation for the "total" field. DefaultTotal uint32 // DefaultCurrent holds the default value on creation for the "current" field. DefaultCurrent uint32 // 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 )
var Columns = []string{ FieldID, FieldType, FieldScope, FieldContent, FieldStatus, FieldErrors, FieldTotal, FieldCurrent, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for proxytask fields.
Functions ¶
func Content ¶
Content applies equality check predicate on the "content" field. It's identical to ContentEQ.
func ContentContains ¶
ContentContains applies the Contains predicate on the "content" field.
func ContentContainsFold ¶
ContentContainsFold applies the ContainsFold predicate on the "content" field.
func ContentEqualFold ¶
ContentEqualFold applies the EqualFold predicate on the "content" field.
func ContentGTE ¶
ContentGTE applies the GTE predicate on the "content" field.
func ContentHasPrefix ¶
ContentHasPrefix applies the HasPrefix predicate on the "content" field.
func ContentHasSuffix ¶
ContentHasSuffix applies the HasSuffix predicate on the "content" field.
func ContentIsNil ¶
ContentIsNil applies the IsNil predicate on the "content" field.
func ContentLTE ¶
ContentLTE applies the LTE predicate on the "content" field.
func ContentNEQ ¶
ContentNEQ applies the NEQ predicate on the "content" field.
func ContentNotIn ¶
ContentNotIn applies the NotIn predicate on the "content" field.
func ContentNotNil ¶
ContentNotNil applies the NotNil predicate on the "content" field.
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 Current ¶
Current applies equality check predicate on the "current" field. It's identical to CurrentEQ.
func CurrentGTE ¶
CurrentGTE applies the GTE predicate on the "current" field.
func CurrentLTE ¶
CurrentLTE applies the LTE predicate on the "current" field.
func CurrentNEQ ¶
CurrentNEQ applies the NEQ predicate on the "current" field.
func CurrentNotIn ¶
CurrentNotIn applies the NotIn predicate on the "current" field.
func Errors ¶
Errors applies equality check predicate on the "errors" field. It's identical to ErrorsEQ.
func ErrorsContains ¶
ErrorsContains applies the Contains predicate on the "errors" field.
func ErrorsContainsFold ¶
ErrorsContainsFold applies the ContainsFold predicate on the "errors" field.
func ErrorsEqualFold ¶
ErrorsEqualFold applies the EqualFold predicate on the "errors" field.
func ErrorsHasPrefix ¶
ErrorsHasPrefix applies the HasPrefix predicate on the "errors" field.
func ErrorsHasSuffix ¶
ErrorsHasSuffix applies the HasSuffix predicate on the "errors" field.
func ErrorsIsNil ¶
ErrorsIsNil applies the IsNil predicate on the "errors" field.
func ErrorsNotIn ¶
ErrorsNotIn applies the NotIn predicate on the "errors" field.
func ErrorsNotNil ¶
ErrorsNotNil applies the NotNil predicate on the "errors" field.
func Scope ¶
Scope applies equality check predicate on the "scope" field. It's identical to ScopeEQ.
func ScopeContains ¶
ScopeContains applies the Contains predicate on the "scope" field.
func ScopeContainsFold ¶
ScopeContainsFold applies the ContainsFold predicate on the "scope" field.
func ScopeEqualFold ¶
ScopeEqualFold applies the EqualFold predicate on the "scope" field.
func ScopeHasPrefix ¶
ScopeHasPrefix applies the HasPrefix predicate on the "scope" field.
func ScopeHasSuffix ¶
ScopeHasSuffix applies the HasSuffix predicate on the "scope" field.
func ScopeIsNil ¶
ScopeIsNil applies the IsNil predicate on the "scope" field.
func ScopeNotIn ¶
ScopeNotIn applies the NotIn predicate on the "scope" field.
func ScopeNotNil ¶
ScopeNotNil applies the NotNil predicate on the "scope" field.
func Status ¶
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusNotIn ¶
StatusNotIn applies the NotIn predicate on the "status" field.
func Total ¶
Total applies equality check predicate on the "total" field. It's identical to TotalEQ.
func TotalNotIn ¶
TotalNotIn applies the NotIn predicate on the "total" 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 ProxyTask queries.
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 ByCurrent ¶
func ByCurrent(opts ...sql.OrderTermOption) OrderOption
ByCurrent orders the results by the current field.
func ByErrors ¶
func ByErrors(opts ...sql.OrderTermOption) OrderOption
ByErrors orders the results by the errors field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByScope ¶
func ByScope(opts ...sql.OrderTermOption) OrderOption
ByScope orders the results by the scope field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func ByTotal ¶
func ByTotal(opts ...sql.OrderTermOption) OrderOption
ByTotal orders the results by the total 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.