Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.StorageDeletion) predicate.StorageDeletion
- func AttemptCount(v int) predicate.StorageDeletion
- func AttemptCountEQ(v int) predicate.StorageDeletion
- func AttemptCountGT(v int) predicate.StorageDeletion
- func AttemptCountGTE(v int) predicate.StorageDeletion
- func AttemptCountIn(vs ...int) predicate.StorageDeletion
- func AttemptCountLT(v int) predicate.StorageDeletion
- func AttemptCountLTE(v int) predicate.StorageDeletion
- func AttemptCountNEQ(v int) predicate.StorageDeletion
- func AttemptCountNotIn(vs ...int) predicate.StorageDeletion
- func CreatedAt(v int64) predicate.StorageDeletion
- func CreatedAtEQ(v int64) predicate.StorageDeletion
- func CreatedAtGT(v int64) predicate.StorageDeletion
- func CreatedAtGTE(v int64) predicate.StorageDeletion
- func CreatedAtIn(vs ...int64) predicate.StorageDeletion
- func CreatedAtLT(v int64) predicate.StorageDeletion
- func CreatedAtLTE(v int64) predicate.StorageDeletion
- func CreatedAtNEQ(v int64) predicate.StorageDeletion
- func CreatedAtNotIn(vs ...int64) predicate.StorageDeletion
- func FolderName(v string) predicate.StorageDeletion
- func FolderNameContains(v string) predicate.StorageDeletion
- func FolderNameContainsFold(v string) predicate.StorageDeletion
- func FolderNameEQ(v string) predicate.StorageDeletion
- func FolderNameEqualFold(v string) predicate.StorageDeletion
- func FolderNameGT(v string) predicate.StorageDeletion
- func FolderNameGTE(v string) predicate.StorageDeletion
- func FolderNameHasPrefix(v string) predicate.StorageDeletion
- func FolderNameHasSuffix(v string) predicate.StorageDeletion
- func FolderNameIn(vs ...string) predicate.StorageDeletion
- func FolderNameLT(v string) predicate.StorageDeletion
- func FolderNameLTE(v string) predicate.StorageDeletion
- func FolderNameNEQ(v string) predicate.StorageDeletion
- func FolderNameNotIn(vs ...string) predicate.StorageDeletion
- func ID(id int64) predicate.StorageDeletion
- func IDEQ(id int64) predicate.StorageDeletion
- func IDGT(id int64) predicate.StorageDeletion
- func IDGTE(id int64) predicate.StorageDeletion
- func IDIn(ids ...int64) predicate.StorageDeletion
- func IDLT(id int64) predicate.StorageDeletion
- func IDLTE(id int64) predicate.StorageDeletion
- func IDNEQ(id int64) predicate.StorageDeletion
- func IDNotIn(ids ...int64) predicate.StorageDeletion
- func LastAttemptedAt(v int64) predicate.StorageDeletion
- func LastAttemptedAtEQ(v int64) predicate.StorageDeletion
- func LastAttemptedAtGT(v int64) predicate.StorageDeletion
- func LastAttemptedAtGTE(v int64) predicate.StorageDeletion
- func LastAttemptedAtIn(vs ...int64) predicate.StorageDeletion
- func LastAttemptedAtIsNil() predicate.StorageDeletion
- func LastAttemptedAtLT(v int64) predicate.StorageDeletion
- func LastAttemptedAtLTE(v int64) predicate.StorageDeletion
- func LastAttemptedAtNEQ(v int64) predicate.StorageDeletion
- func LastAttemptedAtNotIn(vs ...int64) predicate.StorageDeletion
- func LastAttemptedAtNotNil() predicate.StorageDeletion
- func LastError(v string) predicate.StorageDeletion
- func LastErrorContains(v string) predicate.StorageDeletion
- func LastErrorContainsFold(v string) predicate.StorageDeletion
- func LastErrorEQ(v string) predicate.StorageDeletion
- func LastErrorEqualFold(v string) predicate.StorageDeletion
- func LastErrorGT(v string) predicate.StorageDeletion
- func LastErrorGTE(v string) predicate.StorageDeletion
- func LastErrorHasPrefix(v string) predicate.StorageDeletion
- func LastErrorHasSuffix(v string) predicate.StorageDeletion
- func LastErrorIn(vs ...string) predicate.StorageDeletion
- func LastErrorIsNil() predicate.StorageDeletion
- func LastErrorLT(v string) predicate.StorageDeletion
- func LastErrorLTE(v string) predicate.StorageDeletion
- func LastErrorNEQ(v string) predicate.StorageDeletion
- func LastErrorNotIn(vs ...string) predicate.StorageDeletion
- func LastErrorNotNil() predicate.StorageDeletion
- func Not(p predicate.StorageDeletion) predicate.StorageDeletion
- func Or(predicates ...predicate.StorageDeletion) predicate.StorageDeletion
- func ValidColumn(column string) bool
- type OrderOption
- func ByAttemptCount(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByFolderName(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByLastAttemptedAt(opts ...sql.OrderTermOption) OrderOption
- func ByLastError(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the storagedeletion type in the database. Label = "storage_deletion" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldFolderName holds the string denoting the foldername field in the database. FieldFolderName = "folderName" // FieldCreatedAt holds the string denoting the createdat field in the database. FieldCreatedAt = "createdAt" // FieldAttemptCount holds the string denoting the attemptcount field in the database. FieldAttemptCount = "attemptCount" // FieldLastAttemptedAt holds the string denoting the lastattemptedat field in the database. FieldLastAttemptedAt = "lastAttemptedAt" // FieldLastError holds the string denoting the lasterror field in the database. FieldLastError = "lastError" // Table holds the table name of the storagedeletion in the database. Table = "storage_deletions" )
Variables ¶
var ( // FolderNameValidator is a validator for the "folderName" field. It is called by the builders before save. FolderNameValidator func(string) error // DefaultAttemptCount holds the default value on creation for the "attemptCount" field. DefaultAttemptCount int // AttemptCountValidator is a validator for the "attemptCount" field. It is called by the builders before save. AttemptCountValidator func(int) error )
var Columns = []string{ FieldID, FieldFolderName, FieldCreatedAt, FieldAttemptCount, FieldLastAttemptedAt, FieldLastError, }
Columns holds all SQL columns for storagedeletion fields.
Functions ¶
func And ¶
func And(predicates ...predicate.StorageDeletion) predicate.StorageDeletion
And groups predicates with the AND operator between them.
func AttemptCount ¶
func AttemptCount(v int) predicate.StorageDeletion
AttemptCount applies equality check predicate on the "attemptCount" field. It's identical to AttemptCountEQ.
func AttemptCountEQ ¶
func AttemptCountEQ(v int) predicate.StorageDeletion
AttemptCountEQ applies the EQ predicate on the "attemptCount" field.
func AttemptCountGT ¶
func AttemptCountGT(v int) predicate.StorageDeletion
AttemptCountGT applies the GT predicate on the "attemptCount" field.
func AttemptCountGTE ¶
func AttemptCountGTE(v int) predicate.StorageDeletion
AttemptCountGTE applies the GTE predicate on the "attemptCount" field.
func AttemptCountIn ¶
func AttemptCountIn(vs ...int) predicate.StorageDeletion
AttemptCountIn applies the In predicate on the "attemptCount" field.
func AttemptCountLT ¶
func AttemptCountLT(v int) predicate.StorageDeletion
AttemptCountLT applies the LT predicate on the "attemptCount" field.
func AttemptCountLTE ¶
func AttemptCountLTE(v int) predicate.StorageDeletion
AttemptCountLTE applies the LTE predicate on the "attemptCount" field.
func AttemptCountNEQ ¶
func AttemptCountNEQ(v int) predicate.StorageDeletion
AttemptCountNEQ applies the NEQ predicate on the "attemptCount" field.
func AttemptCountNotIn ¶
func AttemptCountNotIn(vs ...int) predicate.StorageDeletion
AttemptCountNotIn applies the NotIn predicate on the "attemptCount" field.
func CreatedAt ¶
func CreatedAt(v int64) predicate.StorageDeletion
CreatedAt applies equality check predicate on the "createdAt" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v int64) predicate.StorageDeletion
CreatedAtEQ applies the EQ predicate on the "createdAt" field.
func CreatedAtGT ¶
func CreatedAtGT(v int64) predicate.StorageDeletion
CreatedAtGT applies the GT predicate on the "createdAt" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v int64) predicate.StorageDeletion
CreatedAtGTE applies the GTE predicate on the "createdAt" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...int64) predicate.StorageDeletion
CreatedAtIn applies the In predicate on the "createdAt" field.
func CreatedAtLT ¶
func CreatedAtLT(v int64) predicate.StorageDeletion
CreatedAtLT applies the LT predicate on the "createdAt" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v int64) predicate.StorageDeletion
CreatedAtLTE applies the LTE predicate on the "createdAt" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v int64) predicate.StorageDeletion
CreatedAtNEQ applies the NEQ predicate on the "createdAt" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...int64) predicate.StorageDeletion
CreatedAtNotIn applies the NotIn predicate on the "createdAt" field.
func FolderName ¶
func FolderName(v string) predicate.StorageDeletion
FolderName applies equality check predicate on the "folderName" field. It's identical to FolderNameEQ.
func FolderNameContains ¶
func FolderNameContains(v string) predicate.StorageDeletion
FolderNameContains applies the Contains predicate on the "folderName" field.
func FolderNameContainsFold ¶
func FolderNameContainsFold(v string) predicate.StorageDeletion
FolderNameContainsFold applies the ContainsFold predicate on the "folderName" field.
func FolderNameEQ ¶
func FolderNameEQ(v string) predicate.StorageDeletion
FolderNameEQ applies the EQ predicate on the "folderName" field.
func FolderNameEqualFold ¶
func FolderNameEqualFold(v string) predicate.StorageDeletion
FolderNameEqualFold applies the EqualFold predicate on the "folderName" field.
func FolderNameGT ¶
func FolderNameGT(v string) predicate.StorageDeletion
FolderNameGT applies the GT predicate on the "folderName" field.
func FolderNameGTE ¶
func FolderNameGTE(v string) predicate.StorageDeletion
FolderNameGTE applies the GTE predicate on the "folderName" field.
func FolderNameHasPrefix ¶
func FolderNameHasPrefix(v string) predicate.StorageDeletion
FolderNameHasPrefix applies the HasPrefix predicate on the "folderName" field.
func FolderNameHasSuffix ¶
func FolderNameHasSuffix(v string) predicate.StorageDeletion
FolderNameHasSuffix applies the HasSuffix predicate on the "folderName" field.
func FolderNameIn ¶
func FolderNameIn(vs ...string) predicate.StorageDeletion
FolderNameIn applies the In predicate on the "folderName" field.
func FolderNameLT ¶
func FolderNameLT(v string) predicate.StorageDeletion
FolderNameLT applies the LT predicate on the "folderName" field.
func FolderNameLTE ¶
func FolderNameLTE(v string) predicate.StorageDeletion
FolderNameLTE applies the LTE predicate on the "folderName" field.
func FolderNameNEQ ¶
func FolderNameNEQ(v string) predicate.StorageDeletion
FolderNameNEQ applies the NEQ predicate on the "folderName" field.
func FolderNameNotIn ¶
func FolderNameNotIn(vs ...string) predicate.StorageDeletion
FolderNameNotIn applies the NotIn predicate on the "folderName" field.
func IDEQ ¶
func IDEQ(id int64) predicate.StorageDeletion
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int64) predicate.StorageDeletion
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int64) predicate.StorageDeletion
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int64) predicate.StorageDeletion
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int64) predicate.StorageDeletion
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int64) predicate.StorageDeletion
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int64) predicate.StorageDeletion
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int64) predicate.StorageDeletion
IDNotIn applies the NotIn predicate on the ID field.
func LastAttemptedAt ¶
func LastAttemptedAt(v int64) predicate.StorageDeletion
LastAttemptedAt applies equality check predicate on the "lastAttemptedAt" field. It's identical to LastAttemptedAtEQ.
func LastAttemptedAtEQ ¶
func LastAttemptedAtEQ(v int64) predicate.StorageDeletion
LastAttemptedAtEQ applies the EQ predicate on the "lastAttemptedAt" field.
func LastAttemptedAtGT ¶
func LastAttemptedAtGT(v int64) predicate.StorageDeletion
LastAttemptedAtGT applies the GT predicate on the "lastAttemptedAt" field.
func LastAttemptedAtGTE ¶
func LastAttemptedAtGTE(v int64) predicate.StorageDeletion
LastAttemptedAtGTE applies the GTE predicate on the "lastAttemptedAt" field.
func LastAttemptedAtIn ¶
func LastAttemptedAtIn(vs ...int64) predicate.StorageDeletion
LastAttemptedAtIn applies the In predicate on the "lastAttemptedAt" field.
func LastAttemptedAtIsNil ¶
func LastAttemptedAtIsNil() predicate.StorageDeletion
LastAttemptedAtIsNil applies the IsNil predicate on the "lastAttemptedAt" field.
func LastAttemptedAtLT ¶
func LastAttemptedAtLT(v int64) predicate.StorageDeletion
LastAttemptedAtLT applies the LT predicate on the "lastAttemptedAt" field.
func LastAttemptedAtLTE ¶
func LastAttemptedAtLTE(v int64) predicate.StorageDeletion
LastAttemptedAtLTE applies the LTE predicate on the "lastAttemptedAt" field.
func LastAttemptedAtNEQ ¶
func LastAttemptedAtNEQ(v int64) predicate.StorageDeletion
LastAttemptedAtNEQ applies the NEQ predicate on the "lastAttemptedAt" field.
func LastAttemptedAtNotIn ¶
func LastAttemptedAtNotIn(vs ...int64) predicate.StorageDeletion
LastAttemptedAtNotIn applies the NotIn predicate on the "lastAttemptedAt" field.
func LastAttemptedAtNotNil ¶
func LastAttemptedAtNotNil() predicate.StorageDeletion
LastAttemptedAtNotNil applies the NotNil predicate on the "lastAttemptedAt" field.
func LastError ¶
func LastError(v string) predicate.StorageDeletion
LastError applies equality check predicate on the "lastError" field. It's identical to LastErrorEQ.
func LastErrorContains ¶
func LastErrorContains(v string) predicate.StorageDeletion
LastErrorContains applies the Contains predicate on the "lastError" field.
func LastErrorContainsFold ¶
func LastErrorContainsFold(v string) predicate.StorageDeletion
LastErrorContainsFold applies the ContainsFold predicate on the "lastError" field.
func LastErrorEQ ¶
func LastErrorEQ(v string) predicate.StorageDeletion
LastErrorEQ applies the EQ predicate on the "lastError" field.
func LastErrorEqualFold ¶
func LastErrorEqualFold(v string) predicate.StorageDeletion
LastErrorEqualFold applies the EqualFold predicate on the "lastError" field.
func LastErrorGT ¶
func LastErrorGT(v string) predicate.StorageDeletion
LastErrorGT applies the GT predicate on the "lastError" field.
func LastErrorGTE ¶
func LastErrorGTE(v string) predicate.StorageDeletion
LastErrorGTE applies the GTE predicate on the "lastError" field.
func LastErrorHasPrefix ¶
func LastErrorHasPrefix(v string) predicate.StorageDeletion
LastErrorHasPrefix applies the HasPrefix predicate on the "lastError" field.
func LastErrorHasSuffix ¶
func LastErrorHasSuffix(v string) predicate.StorageDeletion
LastErrorHasSuffix applies the HasSuffix predicate on the "lastError" field.
func LastErrorIn ¶
func LastErrorIn(vs ...string) predicate.StorageDeletion
LastErrorIn applies the In predicate on the "lastError" field.
func LastErrorIsNil ¶
func LastErrorIsNil() predicate.StorageDeletion
LastErrorIsNil applies the IsNil predicate on the "lastError" field.
func LastErrorLT ¶
func LastErrorLT(v string) predicate.StorageDeletion
LastErrorLT applies the LT predicate on the "lastError" field.
func LastErrorLTE ¶
func LastErrorLTE(v string) predicate.StorageDeletion
LastErrorLTE applies the LTE predicate on the "lastError" field.
func LastErrorNEQ ¶
func LastErrorNEQ(v string) predicate.StorageDeletion
LastErrorNEQ applies the NEQ predicate on the "lastError" field.
func LastErrorNotIn ¶
func LastErrorNotIn(vs ...string) predicate.StorageDeletion
LastErrorNotIn applies the NotIn predicate on the "lastError" field.
func LastErrorNotNil ¶
func LastErrorNotNil() predicate.StorageDeletion
LastErrorNotNil applies the NotNil predicate on the "lastError" field.
func Not ¶
func Not(p predicate.StorageDeletion) predicate.StorageDeletion
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.StorageDeletion) predicate.StorageDeletion
Or groups predicates with the OR operator between them.
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 StorageDeletion queries.
func ByAttemptCount ¶
func ByAttemptCount(opts ...sql.OrderTermOption) OrderOption
ByAttemptCount orders the results by the attemptCount field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the createdAt field.
func ByFolderName ¶
func ByFolderName(opts ...sql.OrderTermOption) OrderOption
ByFolderName orders the results by the folderName field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByLastAttemptedAt ¶
func ByLastAttemptedAt(opts ...sql.OrderTermOption) OrderOption
ByLastAttemptedAt orders the results by the lastAttemptedAt field.
func ByLastError ¶
func ByLastError(opts ...sql.OrderTermOption) OrderOption
ByLastError orders the results by the lastError field.