Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ImportScanShow) predicate.ImportScanShow
- func CandidatesIsNil() predicate.ImportScanShow
- func CandidatesNotNil() predicate.ImportScanShow
- func ClassificationEQ(v Classification) predicate.ImportScanShow
- func ClassificationIn(vs ...Classification) predicate.ImportScanShow
- func ClassificationNEQ(v Classification) predicate.ImportScanShow
- func ClassificationNotIn(vs ...Classification) predicate.ImportScanShow
- func ClassificationValidator(c Classification) error
- func CreateTime(v time.Time) predicate.ImportScanShow
- func CreateTimeEQ(v time.Time) predicate.ImportScanShow
- func CreateTimeGT(v time.Time) predicate.ImportScanShow
- func CreateTimeGTE(v time.Time) predicate.ImportScanShow
- func CreateTimeIn(vs ...time.Time) predicate.ImportScanShow
- func CreateTimeLT(v time.Time) predicate.ImportScanShow
- func CreateTimeLTE(v time.Time) predicate.ImportScanShow
- func CreateTimeNEQ(v time.Time) predicate.ImportScanShow
- func CreateTimeNotIn(vs ...time.Time) predicate.ImportScanShow
- func CreatedTvshowID(v uint32) predicate.ImportScanShow
- func CreatedTvshowIDEQ(v uint32) predicate.ImportScanShow
- func CreatedTvshowIDGT(v uint32) predicate.ImportScanShow
- func CreatedTvshowIDGTE(v uint32) predicate.ImportScanShow
- func CreatedTvshowIDIn(vs ...uint32) predicate.ImportScanShow
- func CreatedTvshowIDIsNil() predicate.ImportScanShow
- func CreatedTvshowIDLT(v uint32) predicate.ImportScanShow
- func CreatedTvshowIDLTE(v uint32) predicate.ImportScanShow
- func CreatedTvshowIDNEQ(v uint32) predicate.ImportScanShow
- func CreatedTvshowIDNotIn(vs ...uint32) predicate.ImportScanShow
- func CreatedTvshowIDNotNil() predicate.ImportScanShow
- func DecisionEQ(v Decision) predicate.ImportScanShow
- func DecisionIn(vs ...Decision) predicate.ImportScanShow
- func DecisionNEQ(v Decision) predicate.ImportScanShow
- func DecisionNotIn(vs ...Decision) predicate.ImportScanShow
- func DecisionTvdbID(v uint32) predicate.ImportScanShow
- func DecisionTvdbIDEQ(v uint32) predicate.ImportScanShow
- func DecisionTvdbIDGT(v uint32) predicate.ImportScanShow
- func DecisionTvdbIDGTE(v uint32) predicate.ImportScanShow
- func DecisionTvdbIDIn(vs ...uint32) predicate.ImportScanShow
- func DecisionTvdbIDIsNil() predicate.ImportScanShow
- func DecisionTvdbIDLT(v uint32) predicate.ImportScanShow
- func DecisionTvdbIDLTE(v uint32) predicate.ImportScanShow
- func DecisionTvdbIDNEQ(v uint32) predicate.ImportScanShow
- func DecisionTvdbIDNotIn(vs ...uint32) predicate.ImportScanShow
- func DecisionTvdbIDNotNil() predicate.ImportScanShow
- func DecisionValidator(d Decision) error
- func ExistingTvshowID(v uint32) predicate.ImportScanShow
- func ExistingTvshowIDEQ(v uint32) predicate.ImportScanShow
- func ExistingTvshowIDGT(v uint32) predicate.ImportScanShow
- func ExistingTvshowIDGTE(v uint32) predicate.ImportScanShow
- func ExistingTvshowIDIn(vs ...uint32) predicate.ImportScanShow
- func ExistingTvshowIDIsNil() predicate.ImportScanShow
- func ExistingTvshowIDLT(v uint32) predicate.ImportScanShow
- func ExistingTvshowIDLTE(v uint32) predicate.ImportScanShow
- func ExistingTvshowIDNEQ(v uint32) predicate.ImportScanShow
- func ExistingTvshowIDNotIn(vs ...uint32) predicate.ImportScanShow
- func ExistingTvshowIDNotNil() predicate.ImportScanShow
- func FileCount(v uint16) predicate.ImportScanShow
- func FileCountEQ(v uint16) predicate.ImportScanShow
- func FileCountGT(v uint16) predicate.ImportScanShow
- func FileCountGTE(v uint16) predicate.ImportScanShow
- func FileCountIn(vs ...uint16) predicate.ImportScanShow
- func FileCountLT(v uint16) predicate.ImportScanShow
- func FileCountLTE(v uint16) predicate.ImportScanShow
- func FileCountNEQ(v uint16) predicate.ImportScanShow
- func FileCountNotIn(vs ...uint16) predicate.ImportScanShow
- func FolderPath(v string) predicate.ImportScanShow
- func FolderPathContains(v string) predicate.ImportScanShow
- func FolderPathContainsFold(v string) predicate.ImportScanShow
- func FolderPathEQ(v string) predicate.ImportScanShow
- func FolderPathEqualFold(v string) predicate.ImportScanShow
- func FolderPathGT(v string) predicate.ImportScanShow
- func FolderPathGTE(v string) predicate.ImportScanShow
- func FolderPathHasPrefix(v string) predicate.ImportScanShow
- func FolderPathHasSuffix(v string) predicate.ImportScanShow
- func FolderPathIn(vs ...string) predicate.ImportScanShow
- func FolderPathLT(v string) predicate.ImportScanShow
- func FolderPathLTE(v string) predicate.ImportScanShow
- func FolderPathNEQ(v string) predicate.ImportScanShow
- func FolderPathNotIn(vs ...string) predicate.ImportScanShow
- func HasScan() predicate.ImportScanShow
- func HasScanWith(preds ...predicate.ImportScan) predicate.ImportScanShow
- func ID(id uint32) predicate.ImportScanShow
- func IDEQ(id uint32) predicate.ImportScanShow
- func IDGT(id uint32) predicate.ImportScanShow
- func IDGTE(id uint32) predicate.ImportScanShow
- func IDIn(ids ...uint32) predicate.ImportScanShow
- func IDLT(id uint32) predicate.ImportScanShow
- func IDLTE(id uint32) predicate.ImportScanShow
- func IDNEQ(id uint32) predicate.ImportScanShow
- func IDNotIn(ids ...uint32) predicate.ImportScanShow
- func Not(p predicate.ImportScanShow) predicate.ImportScanShow
- func Or(predicates ...predicate.ImportScanShow) predicate.ImportScanShow
- func OutcomeEQ(v Outcome) predicate.ImportScanShow
- func OutcomeIn(vs ...Outcome) predicate.ImportScanShow
- func OutcomeMessage(v string) predicate.ImportScanShow
- func OutcomeMessageContains(v string) predicate.ImportScanShow
- func OutcomeMessageContainsFold(v string) predicate.ImportScanShow
- func OutcomeMessageEQ(v string) predicate.ImportScanShow
- func OutcomeMessageEqualFold(v string) predicate.ImportScanShow
- func OutcomeMessageGT(v string) predicate.ImportScanShow
- func OutcomeMessageGTE(v string) predicate.ImportScanShow
- func OutcomeMessageHasPrefix(v string) predicate.ImportScanShow
- func OutcomeMessageHasSuffix(v string) predicate.ImportScanShow
- func OutcomeMessageIn(vs ...string) predicate.ImportScanShow
- func OutcomeMessageIsNil() predicate.ImportScanShow
- func OutcomeMessageLT(v string) predicate.ImportScanShow
- func OutcomeMessageLTE(v string) predicate.ImportScanShow
- func OutcomeMessageNEQ(v string) predicate.ImportScanShow
- func OutcomeMessageNotIn(vs ...string) predicate.ImportScanShow
- func OutcomeMessageNotNil() predicate.ImportScanShow
- func OutcomeNEQ(v Outcome) predicate.ImportScanShow
- func OutcomeNotIn(vs ...Outcome) predicate.ImportScanShow
- func OutcomeValidator(o Outcome) error
- func ParsedTitle(v string) predicate.ImportScanShow
- func ParsedTitleContains(v string) predicate.ImportScanShow
- func ParsedTitleContainsFold(v string) predicate.ImportScanShow
- func ParsedTitleEQ(v string) predicate.ImportScanShow
- func ParsedTitleEqualFold(v string) predicate.ImportScanShow
- func ParsedTitleGT(v string) predicate.ImportScanShow
- func ParsedTitleGTE(v string) predicate.ImportScanShow
- func ParsedTitleHasPrefix(v string) predicate.ImportScanShow
- func ParsedTitleHasSuffix(v string) predicate.ImportScanShow
- func ParsedTitleIn(vs ...string) predicate.ImportScanShow
- func ParsedTitleIsNil() predicate.ImportScanShow
- func ParsedTitleLT(v string) predicate.ImportScanShow
- func ParsedTitleLTE(v string) predicate.ImportScanShow
- func ParsedTitleNEQ(v string) predicate.ImportScanShow
- func ParsedTitleNotIn(vs ...string) predicate.ImportScanShow
- func ParsedTitleNotNil() predicate.ImportScanShow
- func ParsedYear(v uint16) predicate.ImportScanShow
- func ParsedYearEQ(v uint16) predicate.ImportScanShow
- func ParsedYearGT(v uint16) predicate.ImportScanShow
- func ParsedYearGTE(v uint16) predicate.ImportScanShow
- func ParsedYearIn(vs ...uint16) predicate.ImportScanShow
- func ParsedYearIsNil() predicate.ImportScanShow
- func ParsedYearLT(v uint16) predicate.ImportScanShow
- func ParsedYearLTE(v uint16) predicate.ImportScanShow
- func ParsedYearNEQ(v uint16) predicate.ImportScanShow
- func ParsedYearNotIn(vs ...uint16) predicate.ImportScanShow
- func ParsedYearNotNil() predicate.ImportScanShow
- func TvdbID(v uint32) predicate.ImportScanShow
- func TvdbIDEQ(v uint32) predicate.ImportScanShow
- func TvdbIDGT(v uint32) predicate.ImportScanShow
- func TvdbIDGTE(v uint32) predicate.ImportScanShow
- func TvdbIDIn(vs ...uint32) predicate.ImportScanShow
- func TvdbIDIsNil() predicate.ImportScanShow
- func TvdbIDLT(v uint32) predicate.ImportScanShow
- func TvdbIDLTE(v uint32) predicate.ImportScanShow
- func TvdbIDNEQ(v uint32) predicate.ImportScanShow
- func TvdbIDNotIn(vs ...uint32) predicate.ImportScanShow
- func TvdbIDNotNil() predicate.ImportScanShow
- func UpdateTime(v time.Time) predicate.ImportScanShow
- func UpdateTimeEQ(v time.Time) predicate.ImportScanShow
- func UpdateTimeGT(v time.Time) predicate.ImportScanShow
- func UpdateTimeGTE(v time.Time) predicate.ImportScanShow
- func UpdateTimeIn(vs ...time.Time) predicate.ImportScanShow
- func UpdateTimeLT(v time.Time) predicate.ImportScanShow
- func UpdateTimeLTE(v time.Time) predicate.ImportScanShow
- func UpdateTimeNEQ(v time.Time) predicate.ImportScanShow
- func UpdateTimeNotIn(vs ...time.Time) predicate.ImportScanShow
- func ValidColumn(column string) bool
- type Classification
- type Decision
- type OrderOption
- func ByClassification(opts ...sql.OrderTermOption) OrderOption
- func ByCreateTime(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedTvshowID(opts ...sql.OrderTermOption) OrderOption
- func ByDecision(opts ...sql.OrderTermOption) OrderOption
- func ByDecisionTvdbID(opts ...sql.OrderTermOption) OrderOption
- func ByExistingTvshowID(opts ...sql.OrderTermOption) OrderOption
- func ByFileCount(opts ...sql.OrderTermOption) OrderOption
- func ByFolderPath(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByOutcome(opts ...sql.OrderTermOption) OrderOption
- func ByOutcomeMessage(opts ...sql.OrderTermOption) OrderOption
- func ByParsedTitle(opts ...sql.OrderTermOption) OrderOption
- func ByParsedYear(opts ...sql.OrderTermOption) OrderOption
- func ByScanField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByTvdbID(opts ...sql.OrderTermOption) OrderOption
- func ByUpdateTime(opts ...sql.OrderTermOption) OrderOption
- type Outcome
Constants ¶
const ( // Label holds the string label denoting the importscanshow type in the database. Label = "import_scan_show" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreateTime holds the string denoting the create_time field in the database. FieldCreateTime = "create_time" // FieldUpdateTime holds the string denoting the update_time field in the database. FieldUpdateTime = "update_time" // FieldFolderPath holds the string denoting the folder_path field in the database. FieldFolderPath = "folder_path" // FieldParsedTitle holds the string denoting the parsed_title field in the database. FieldParsedTitle = "parsed_title" // FieldParsedYear holds the string denoting the parsed_year field in the database. FieldParsedYear = "parsed_year" // FieldClassification holds the string denoting the classification field in the database. FieldClassification = "classification" // FieldTvdbID holds the string denoting the tvdb_id field in the database. FieldTvdbID = "tvdb_id" // FieldCandidates holds the string denoting the candidates field in the database. FieldCandidates = "candidates" // FieldExistingTvshowID holds the string denoting the existing_tvshow_id field in the database. FieldExistingTvshowID = "existing_tvshow_id" // FieldFileCount holds the string denoting the file_count field in the database. FieldFileCount = "file_count" // FieldDecision holds the string denoting the decision field in the database. FieldDecision = "decision" // FieldDecisionTvdbID holds the string denoting the decision_tvdb_id field in the database. FieldDecisionTvdbID = "decision_tvdb_id" // FieldOutcome holds the string denoting the outcome field in the database. FieldOutcome = "outcome" // FieldOutcomeMessage holds the string denoting the outcome_message field in the database. FieldOutcomeMessage = "outcome_message" // FieldCreatedTvshowID holds the string denoting the created_tvshow_id field in the database. FieldCreatedTvshowID = "created_tvshow_id" // EdgeScan holds the string denoting the scan edge name in mutations. EdgeScan = "scan" // Table holds the table name of the importscanshow in the database. Table = "import_scan_shows" // ScanTable is the table that holds the scan relation/edge. ScanTable = "import_scan_shows" // ScanInverseTable is the table name for the ImportScan entity. // It exists in this package in order to avoid circular dependency with the "importscan" package. ScanInverseTable = "import_scans" // ScanColumn is the table column denoting the scan relation/edge. ScanColumn = "import_scan_shows" )
const DefaultClassification = ClassificationUnmatched
ClassificationUnmatched is the default value of the Classification enum.
const DefaultDecision = DecisionPending
DecisionPending is the default value of the Decision enum.
const DefaultOutcome = OutcomePending
OutcomePending is the default value of the Outcome enum.
Variables ¶
var ( // DefaultCreateTime holds the default value on creation for the "create_time" field. DefaultCreateTime func() time.Time // DefaultUpdateTime holds the default value on creation for the "update_time" field. DefaultUpdateTime func() time.Time // UpdateDefaultUpdateTime holds the default value on update for the "update_time" field. UpdateDefaultUpdateTime func() time.Time // FolderPathValidator is a validator for the "folder_path" field. It is called by the builders before save. FolderPathValidator func(string) error // DefaultFileCount holds the default value on creation for the "file_count" field. DefaultFileCount uint16 )
var Columns = []string{ FieldID, FieldCreateTime, FieldUpdateTime, FieldFolderPath, FieldParsedTitle, FieldParsedYear, FieldClassification, FieldTvdbID, FieldCandidates, FieldExistingTvshowID, FieldFileCount, FieldDecision, FieldDecisionTvdbID, FieldOutcome, FieldOutcomeMessage, FieldCreatedTvshowID, }
Columns holds all SQL columns for importscanshow fields.
var ForeignKeys = []string{
"import_scan_shows",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "import_scan_shows" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.ImportScanShow) predicate.ImportScanShow
And groups predicates with the AND operator between them.
func CandidatesIsNil ¶
func CandidatesIsNil() predicate.ImportScanShow
CandidatesIsNil applies the IsNil predicate on the "candidates" field.
func CandidatesNotNil ¶
func CandidatesNotNil() predicate.ImportScanShow
CandidatesNotNil applies the NotNil predicate on the "candidates" field.
func ClassificationEQ ¶
func ClassificationEQ(v Classification) predicate.ImportScanShow
ClassificationEQ applies the EQ predicate on the "classification" field.
func ClassificationIn ¶
func ClassificationIn(vs ...Classification) predicate.ImportScanShow
ClassificationIn applies the In predicate on the "classification" field.
func ClassificationNEQ ¶
func ClassificationNEQ(v Classification) predicate.ImportScanShow
ClassificationNEQ applies the NEQ predicate on the "classification" field.
func ClassificationNotIn ¶
func ClassificationNotIn(vs ...Classification) predicate.ImportScanShow
ClassificationNotIn applies the NotIn predicate on the "classification" field.
func ClassificationValidator ¶
func ClassificationValidator(c Classification) error
ClassificationValidator is a validator for the "classification" field enum values. It is called by the builders before save.
func CreateTime ¶
func CreateTime(v time.Time) predicate.ImportScanShow
CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.
func CreateTimeEQ ¶
func CreateTimeEQ(v time.Time) predicate.ImportScanShow
CreateTimeEQ applies the EQ predicate on the "create_time" field.
func CreateTimeGT ¶
func CreateTimeGT(v time.Time) predicate.ImportScanShow
CreateTimeGT applies the GT predicate on the "create_time" field.
func CreateTimeGTE ¶
func CreateTimeGTE(v time.Time) predicate.ImportScanShow
CreateTimeGTE applies the GTE predicate on the "create_time" field.
func CreateTimeIn ¶
func CreateTimeIn(vs ...time.Time) predicate.ImportScanShow
CreateTimeIn applies the In predicate on the "create_time" field.
func CreateTimeLT ¶
func CreateTimeLT(v time.Time) predicate.ImportScanShow
CreateTimeLT applies the LT predicate on the "create_time" field.
func CreateTimeLTE ¶
func CreateTimeLTE(v time.Time) predicate.ImportScanShow
CreateTimeLTE applies the LTE predicate on the "create_time" field.
func CreateTimeNEQ ¶
func CreateTimeNEQ(v time.Time) predicate.ImportScanShow
CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
func CreateTimeNotIn ¶
func CreateTimeNotIn(vs ...time.Time) predicate.ImportScanShow
CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
func CreatedTvshowID ¶
func CreatedTvshowID(v uint32) predicate.ImportScanShow
CreatedTvshowID applies equality check predicate on the "created_tvshow_id" field. It's identical to CreatedTvshowIDEQ.
func CreatedTvshowIDEQ ¶
func CreatedTvshowIDEQ(v uint32) predicate.ImportScanShow
CreatedTvshowIDEQ applies the EQ predicate on the "created_tvshow_id" field.
func CreatedTvshowIDGT ¶
func CreatedTvshowIDGT(v uint32) predicate.ImportScanShow
CreatedTvshowIDGT applies the GT predicate on the "created_tvshow_id" field.
func CreatedTvshowIDGTE ¶
func CreatedTvshowIDGTE(v uint32) predicate.ImportScanShow
CreatedTvshowIDGTE applies the GTE predicate on the "created_tvshow_id" field.
func CreatedTvshowIDIn ¶
func CreatedTvshowIDIn(vs ...uint32) predicate.ImportScanShow
CreatedTvshowIDIn applies the In predicate on the "created_tvshow_id" field.
func CreatedTvshowIDIsNil ¶
func CreatedTvshowIDIsNil() predicate.ImportScanShow
CreatedTvshowIDIsNil applies the IsNil predicate on the "created_tvshow_id" field.
func CreatedTvshowIDLT ¶
func CreatedTvshowIDLT(v uint32) predicate.ImportScanShow
CreatedTvshowIDLT applies the LT predicate on the "created_tvshow_id" field.
func CreatedTvshowIDLTE ¶
func CreatedTvshowIDLTE(v uint32) predicate.ImportScanShow
CreatedTvshowIDLTE applies the LTE predicate on the "created_tvshow_id" field.
func CreatedTvshowIDNEQ ¶
func CreatedTvshowIDNEQ(v uint32) predicate.ImportScanShow
CreatedTvshowIDNEQ applies the NEQ predicate on the "created_tvshow_id" field.
func CreatedTvshowIDNotIn ¶
func CreatedTvshowIDNotIn(vs ...uint32) predicate.ImportScanShow
CreatedTvshowIDNotIn applies the NotIn predicate on the "created_tvshow_id" field.
func CreatedTvshowIDNotNil ¶
func CreatedTvshowIDNotNil() predicate.ImportScanShow
CreatedTvshowIDNotNil applies the NotNil predicate on the "created_tvshow_id" field.
func DecisionEQ ¶
func DecisionEQ(v Decision) predicate.ImportScanShow
DecisionEQ applies the EQ predicate on the "decision" field.
func DecisionIn ¶
func DecisionIn(vs ...Decision) predicate.ImportScanShow
DecisionIn applies the In predicate on the "decision" field.
func DecisionNEQ ¶
func DecisionNEQ(v Decision) predicate.ImportScanShow
DecisionNEQ applies the NEQ predicate on the "decision" field.
func DecisionNotIn ¶
func DecisionNotIn(vs ...Decision) predicate.ImportScanShow
DecisionNotIn applies the NotIn predicate on the "decision" field.
func DecisionTvdbID ¶
func DecisionTvdbID(v uint32) predicate.ImportScanShow
DecisionTvdbID applies equality check predicate on the "decision_tvdb_id" field. It's identical to DecisionTvdbIDEQ.
func DecisionTvdbIDEQ ¶
func DecisionTvdbIDEQ(v uint32) predicate.ImportScanShow
DecisionTvdbIDEQ applies the EQ predicate on the "decision_tvdb_id" field.
func DecisionTvdbIDGT ¶
func DecisionTvdbIDGT(v uint32) predicate.ImportScanShow
DecisionTvdbIDGT applies the GT predicate on the "decision_tvdb_id" field.
func DecisionTvdbIDGTE ¶
func DecisionTvdbIDGTE(v uint32) predicate.ImportScanShow
DecisionTvdbIDGTE applies the GTE predicate on the "decision_tvdb_id" field.
func DecisionTvdbIDIn ¶
func DecisionTvdbIDIn(vs ...uint32) predicate.ImportScanShow
DecisionTvdbIDIn applies the In predicate on the "decision_tvdb_id" field.
func DecisionTvdbIDIsNil ¶
func DecisionTvdbIDIsNil() predicate.ImportScanShow
DecisionTvdbIDIsNil applies the IsNil predicate on the "decision_tvdb_id" field.
func DecisionTvdbIDLT ¶
func DecisionTvdbIDLT(v uint32) predicate.ImportScanShow
DecisionTvdbIDLT applies the LT predicate on the "decision_tvdb_id" field.
func DecisionTvdbIDLTE ¶
func DecisionTvdbIDLTE(v uint32) predicate.ImportScanShow
DecisionTvdbIDLTE applies the LTE predicate on the "decision_tvdb_id" field.
func DecisionTvdbIDNEQ ¶
func DecisionTvdbIDNEQ(v uint32) predicate.ImportScanShow
DecisionTvdbIDNEQ applies the NEQ predicate on the "decision_tvdb_id" field.
func DecisionTvdbIDNotIn ¶
func DecisionTvdbIDNotIn(vs ...uint32) predicate.ImportScanShow
DecisionTvdbIDNotIn applies the NotIn predicate on the "decision_tvdb_id" field.
func DecisionTvdbIDNotNil ¶
func DecisionTvdbIDNotNil() predicate.ImportScanShow
DecisionTvdbIDNotNil applies the NotNil predicate on the "decision_tvdb_id" field.
func DecisionValidator ¶
DecisionValidator is a validator for the "decision" field enum values. It is called by the builders before save.
func ExistingTvshowID ¶
func ExistingTvshowID(v uint32) predicate.ImportScanShow
ExistingTvshowID applies equality check predicate on the "existing_tvshow_id" field. It's identical to ExistingTvshowIDEQ.
func ExistingTvshowIDEQ ¶
func ExistingTvshowIDEQ(v uint32) predicate.ImportScanShow
ExistingTvshowIDEQ applies the EQ predicate on the "existing_tvshow_id" field.
func ExistingTvshowIDGT ¶
func ExistingTvshowIDGT(v uint32) predicate.ImportScanShow
ExistingTvshowIDGT applies the GT predicate on the "existing_tvshow_id" field.
func ExistingTvshowIDGTE ¶
func ExistingTvshowIDGTE(v uint32) predicate.ImportScanShow
ExistingTvshowIDGTE applies the GTE predicate on the "existing_tvshow_id" field.
func ExistingTvshowIDIn ¶
func ExistingTvshowIDIn(vs ...uint32) predicate.ImportScanShow
ExistingTvshowIDIn applies the In predicate on the "existing_tvshow_id" field.
func ExistingTvshowIDIsNil ¶
func ExistingTvshowIDIsNil() predicate.ImportScanShow
ExistingTvshowIDIsNil applies the IsNil predicate on the "existing_tvshow_id" field.
func ExistingTvshowIDLT ¶
func ExistingTvshowIDLT(v uint32) predicate.ImportScanShow
ExistingTvshowIDLT applies the LT predicate on the "existing_tvshow_id" field.
func ExistingTvshowIDLTE ¶
func ExistingTvshowIDLTE(v uint32) predicate.ImportScanShow
ExistingTvshowIDLTE applies the LTE predicate on the "existing_tvshow_id" field.
func ExistingTvshowIDNEQ ¶
func ExistingTvshowIDNEQ(v uint32) predicate.ImportScanShow
ExistingTvshowIDNEQ applies the NEQ predicate on the "existing_tvshow_id" field.
func ExistingTvshowIDNotIn ¶
func ExistingTvshowIDNotIn(vs ...uint32) predicate.ImportScanShow
ExistingTvshowIDNotIn applies the NotIn predicate on the "existing_tvshow_id" field.
func ExistingTvshowIDNotNil ¶
func ExistingTvshowIDNotNil() predicate.ImportScanShow
ExistingTvshowIDNotNil applies the NotNil predicate on the "existing_tvshow_id" field.
func FileCount ¶
func FileCount(v uint16) predicate.ImportScanShow
FileCount applies equality check predicate on the "file_count" field. It's identical to FileCountEQ.
func FileCountEQ ¶
func FileCountEQ(v uint16) predicate.ImportScanShow
FileCountEQ applies the EQ predicate on the "file_count" field.
func FileCountGT ¶
func FileCountGT(v uint16) predicate.ImportScanShow
FileCountGT applies the GT predicate on the "file_count" field.
func FileCountGTE ¶
func FileCountGTE(v uint16) predicate.ImportScanShow
FileCountGTE applies the GTE predicate on the "file_count" field.
func FileCountIn ¶
func FileCountIn(vs ...uint16) predicate.ImportScanShow
FileCountIn applies the In predicate on the "file_count" field.
func FileCountLT ¶
func FileCountLT(v uint16) predicate.ImportScanShow
FileCountLT applies the LT predicate on the "file_count" field.
func FileCountLTE ¶
func FileCountLTE(v uint16) predicate.ImportScanShow
FileCountLTE applies the LTE predicate on the "file_count" field.
func FileCountNEQ ¶
func FileCountNEQ(v uint16) predicate.ImportScanShow
FileCountNEQ applies the NEQ predicate on the "file_count" field.
func FileCountNotIn ¶
func FileCountNotIn(vs ...uint16) predicate.ImportScanShow
FileCountNotIn applies the NotIn predicate on the "file_count" field.
func FolderPath ¶
func FolderPath(v string) predicate.ImportScanShow
FolderPath applies equality check predicate on the "folder_path" field. It's identical to FolderPathEQ.
func FolderPathContains ¶
func FolderPathContains(v string) predicate.ImportScanShow
FolderPathContains applies the Contains predicate on the "folder_path" field.
func FolderPathContainsFold ¶
func FolderPathContainsFold(v string) predicate.ImportScanShow
FolderPathContainsFold applies the ContainsFold predicate on the "folder_path" field.
func FolderPathEQ ¶
func FolderPathEQ(v string) predicate.ImportScanShow
FolderPathEQ applies the EQ predicate on the "folder_path" field.
func FolderPathEqualFold ¶
func FolderPathEqualFold(v string) predicate.ImportScanShow
FolderPathEqualFold applies the EqualFold predicate on the "folder_path" field.
func FolderPathGT ¶
func FolderPathGT(v string) predicate.ImportScanShow
FolderPathGT applies the GT predicate on the "folder_path" field.
func FolderPathGTE ¶
func FolderPathGTE(v string) predicate.ImportScanShow
FolderPathGTE applies the GTE predicate on the "folder_path" field.
func FolderPathHasPrefix ¶
func FolderPathHasPrefix(v string) predicate.ImportScanShow
FolderPathHasPrefix applies the HasPrefix predicate on the "folder_path" field.
func FolderPathHasSuffix ¶
func FolderPathHasSuffix(v string) predicate.ImportScanShow
FolderPathHasSuffix applies the HasSuffix predicate on the "folder_path" field.
func FolderPathIn ¶
func FolderPathIn(vs ...string) predicate.ImportScanShow
FolderPathIn applies the In predicate on the "folder_path" field.
func FolderPathLT ¶
func FolderPathLT(v string) predicate.ImportScanShow
FolderPathLT applies the LT predicate on the "folder_path" field.
func FolderPathLTE ¶
func FolderPathLTE(v string) predicate.ImportScanShow
FolderPathLTE applies the LTE predicate on the "folder_path" field.
func FolderPathNEQ ¶
func FolderPathNEQ(v string) predicate.ImportScanShow
FolderPathNEQ applies the NEQ predicate on the "folder_path" field.
func FolderPathNotIn ¶
func FolderPathNotIn(vs ...string) predicate.ImportScanShow
FolderPathNotIn applies the NotIn predicate on the "folder_path" field.
func HasScan ¶
func HasScan() predicate.ImportScanShow
HasScan applies the HasEdge predicate on the "scan" edge.
func HasScanWith ¶
func HasScanWith(preds ...predicate.ImportScan) predicate.ImportScanShow
HasScanWith applies the HasEdge predicate on the "scan" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id uint32) predicate.ImportScanShow
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uint32) predicate.ImportScanShow
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uint32) predicate.ImportScanShow
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uint32) predicate.ImportScanShow
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uint32) predicate.ImportScanShow
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uint32) predicate.ImportScanShow
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uint32) predicate.ImportScanShow
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uint32) predicate.ImportScanShow
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.ImportScanShow) predicate.ImportScanShow
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.ImportScanShow) predicate.ImportScanShow
Or groups predicates with the OR operator between them.
func OutcomeEQ ¶
func OutcomeEQ(v Outcome) predicate.ImportScanShow
OutcomeEQ applies the EQ predicate on the "outcome" field.
func OutcomeIn ¶
func OutcomeIn(vs ...Outcome) predicate.ImportScanShow
OutcomeIn applies the In predicate on the "outcome" field.
func OutcomeMessage ¶
func OutcomeMessage(v string) predicate.ImportScanShow
OutcomeMessage applies equality check predicate on the "outcome_message" field. It's identical to OutcomeMessageEQ.
func OutcomeMessageContains ¶
func OutcomeMessageContains(v string) predicate.ImportScanShow
OutcomeMessageContains applies the Contains predicate on the "outcome_message" field.
func OutcomeMessageContainsFold ¶
func OutcomeMessageContainsFold(v string) predicate.ImportScanShow
OutcomeMessageContainsFold applies the ContainsFold predicate on the "outcome_message" field.
func OutcomeMessageEQ ¶
func OutcomeMessageEQ(v string) predicate.ImportScanShow
OutcomeMessageEQ applies the EQ predicate on the "outcome_message" field.
func OutcomeMessageEqualFold ¶
func OutcomeMessageEqualFold(v string) predicate.ImportScanShow
OutcomeMessageEqualFold applies the EqualFold predicate on the "outcome_message" field.
func OutcomeMessageGT ¶
func OutcomeMessageGT(v string) predicate.ImportScanShow
OutcomeMessageGT applies the GT predicate on the "outcome_message" field.
func OutcomeMessageGTE ¶
func OutcomeMessageGTE(v string) predicate.ImportScanShow
OutcomeMessageGTE applies the GTE predicate on the "outcome_message" field.
func OutcomeMessageHasPrefix ¶
func OutcomeMessageHasPrefix(v string) predicate.ImportScanShow
OutcomeMessageHasPrefix applies the HasPrefix predicate on the "outcome_message" field.
func OutcomeMessageHasSuffix ¶
func OutcomeMessageHasSuffix(v string) predicate.ImportScanShow
OutcomeMessageHasSuffix applies the HasSuffix predicate on the "outcome_message" field.
func OutcomeMessageIn ¶
func OutcomeMessageIn(vs ...string) predicate.ImportScanShow
OutcomeMessageIn applies the In predicate on the "outcome_message" field.
func OutcomeMessageIsNil ¶
func OutcomeMessageIsNil() predicate.ImportScanShow
OutcomeMessageIsNil applies the IsNil predicate on the "outcome_message" field.
func OutcomeMessageLT ¶
func OutcomeMessageLT(v string) predicate.ImportScanShow
OutcomeMessageLT applies the LT predicate on the "outcome_message" field.
func OutcomeMessageLTE ¶
func OutcomeMessageLTE(v string) predicate.ImportScanShow
OutcomeMessageLTE applies the LTE predicate on the "outcome_message" field.
func OutcomeMessageNEQ ¶
func OutcomeMessageNEQ(v string) predicate.ImportScanShow
OutcomeMessageNEQ applies the NEQ predicate on the "outcome_message" field.
func OutcomeMessageNotIn ¶
func OutcomeMessageNotIn(vs ...string) predicate.ImportScanShow
OutcomeMessageNotIn applies the NotIn predicate on the "outcome_message" field.
func OutcomeMessageNotNil ¶
func OutcomeMessageNotNil() predicate.ImportScanShow
OutcomeMessageNotNil applies the NotNil predicate on the "outcome_message" field.
func OutcomeNEQ ¶
func OutcomeNEQ(v Outcome) predicate.ImportScanShow
OutcomeNEQ applies the NEQ predicate on the "outcome" field.
func OutcomeNotIn ¶
func OutcomeNotIn(vs ...Outcome) predicate.ImportScanShow
OutcomeNotIn applies the NotIn predicate on the "outcome" field.
func OutcomeValidator ¶
OutcomeValidator is a validator for the "outcome" field enum values. It is called by the builders before save.
func ParsedTitle ¶
func ParsedTitle(v string) predicate.ImportScanShow
ParsedTitle applies equality check predicate on the "parsed_title" field. It's identical to ParsedTitleEQ.
func ParsedTitleContains ¶
func ParsedTitleContains(v string) predicate.ImportScanShow
ParsedTitleContains applies the Contains predicate on the "parsed_title" field.
func ParsedTitleContainsFold ¶
func ParsedTitleContainsFold(v string) predicate.ImportScanShow
ParsedTitleContainsFold applies the ContainsFold predicate on the "parsed_title" field.
func ParsedTitleEQ ¶
func ParsedTitleEQ(v string) predicate.ImportScanShow
ParsedTitleEQ applies the EQ predicate on the "parsed_title" field.
func ParsedTitleEqualFold ¶
func ParsedTitleEqualFold(v string) predicate.ImportScanShow
ParsedTitleEqualFold applies the EqualFold predicate on the "parsed_title" field.
func ParsedTitleGT ¶
func ParsedTitleGT(v string) predicate.ImportScanShow
ParsedTitleGT applies the GT predicate on the "parsed_title" field.
func ParsedTitleGTE ¶
func ParsedTitleGTE(v string) predicate.ImportScanShow
ParsedTitleGTE applies the GTE predicate on the "parsed_title" field.
func ParsedTitleHasPrefix ¶
func ParsedTitleHasPrefix(v string) predicate.ImportScanShow
ParsedTitleHasPrefix applies the HasPrefix predicate on the "parsed_title" field.
func ParsedTitleHasSuffix ¶
func ParsedTitleHasSuffix(v string) predicate.ImportScanShow
ParsedTitleHasSuffix applies the HasSuffix predicate on the "parsed_title" field.
func ParsedTitleIn ¶
func ParsedTitleIn(vs ...string) predicate.ImportScanShow
ParsedTitleIn applies the In predicate on the "parsed_title" field.
func ParsedTitleIsNil ¶
func ParsedTitleIsNil() predicate.ImportScanShow
ParsedTitleIsNil applies the IsNil predicate on the "parsed_title" field.
func ParsedTitleLT ¶
func ParsedTitleLT(v string) predicate.ImportScanShow
ParsedTitleLT applies the LT predicate on the "parsed_title" field.
func ParsedTitleLTE ¶
func ParsedTitleLTE(v string) predicate.ImportScanShow
ParsedTitleLTE applies the LTE predicate on the "parsed_title" field.
func ParsedTitleNEQ ¶
func ParsedTitleNEQ(v string) predicate.ImportScanShow
ParsedTitleNEQ applies the NEQ predicate on the "parsed_title" field.
func ParsedTitleNotIn ¶
func ParsedTitleNotIn(vs ...string) predicate.ImportScanShow
ParsedTitleNotIn applies the NotIn predicate on the "parsed_title" field.
func ParsedTitleNotNil ¶
func ParsedTitleNotNil() predicate.ImportScanShow
ParsedTitleNotNil applies the NotNil predicate on the "parsed_title" field.
func ParsedYear ¶
func ParsedYear(v uint16) predicate.ImportScanShow
ParsedYear applies equality check predicate on the "parsed_year" field. It's identical to ParsedYearEQ.
func ParsedYearEQ ¶
func ParsedYearEQ(v uint16) predicate.ImportScanShow
ParsedYearEQ applies the EQ predicate on the "parsed_year" field.
func ParsedYearGT ¶
func ParsedYearGT(v uint16) predicate.ImportScanShow
ParsedYearGT applies the GT predicate on the "parsed_year" field.
func ParsedYearGTE ¶
func ParsedYearGTE(v uint16) predicate.ImportScanShow
ParsedYearGTE applies the GTE predicate on the "parsed_year" field.
func ParsedYearIn ¶
func ParsedYearIn(vs ...uint16) predicate.ImportScanShow
ParsedYearIn applies the In predicate on the "parsed_year" field.
func ParsedYearIsNil ¶
func ParsedYearIsNil() predicate.ImportScanShow
ParsedYearIsNil applies the IsNil predicate on the "parsed_year" field.
func ParsedYearLT ¶
func ParsedYearLT(v uint16) predicate.ImportScanShow
ParsedYearLT applies the LT predicate on the "parsed_year" field.
func ParsedYearLTE ¶
func ParsedYearLTE(v uint16) predicate.ImportScanShow
ParsedYearLTE applies the LTE predicate on the "parsed_year" field.
func ParsedYearNEQ ¶
func ParsedYearNEQ(v uint16) predicate.ImportScanShow
ParsedYearNEQ applies the NEQ predicate on the "parsed_year" field.
func ParsedYearNotIn ¶
func ParsedYearNotIn(vs ...uint16) predicate.ImportScanShow
ParsedYearNotIn applies the NotIn predicate on the "parsed_year" field.
func ParsedYearNotNil ¶
func ParsedYearNotNil() predicate.ImportScanShow
ParsedYearNotNil applies the NotNil predicate on the "parsed_year" field.
func TvdbID ¶
func TvdbID(v uint32) predicate.ImportScanShow
TvdbID applies equality check predicate on the "tvdb_id" field. It's identical to TvdbIDEQ.
func TvdbIDEQ ¶
func TvdbIDEQ(v uint32) predicate.ImportScanShow
TvdbIDEQ applies the EQ predicate on the "tvdb_id" field.
func TvdbIDGT ¶
func TvdbIDGT(v uint32) predicate.ImportScanShow
TvdbIDGT applies the GT predicate on the "tvdb_id" field.
func TvdbIDGTE ¶
func TvdbIDGTE(v uint32) predicate.ImportScanShow
TvdbIDGTE applies the GTE predicate on the "tvdb_id" field.
func TvdbIDIn ¶
func TvdbIDIn(vs ...uint32) predicate.ImportScanShow
TvdbIDIn applies the In predicate on the "tvdb_id" field.
func TvdbIDIsNil ¶
func TvdbIDIsNil() predicate.ImportScanShow
TvdbIDIsNil applies the IsNil predicate on the "tvdb_id" field.
func TvdbIDLT ¶
func TvdbIDLT(v uint32) predicate.ImportScanShow
TvdbIDLT applies the LT predicate on the "tvdb_id" field.
func TvdbIDLTE ¶
func TvdbIDLTE(v uint32) predicate.ImportScanShow
TvdbIDLTE applies the LTE predicate on the "tvdb_id" field.
func TvdbIDNEQ ¶
func TvdbIDNEQ(v uint32) predicate.ImportScanShow
TvdbIDNEQ applies the NEQ predicate on the "tvdb_id" field.
func TvdbIDNotIn ¶
func TvdbIDNotIn(vs ...uint32) predicate.ImportScanShow
TvdbIDNotIn applies the NotIn predicate on the "tvdb_id" field.
func TvdbIDNotNil ¶
func TvdbIDNotNil() predicate.ImportScanShow
TvdbIDNotNil applies the NotNil predicate on the "tvdb_id" field.
func UpdateTime ¶
func UpdateTime(v time.Time) predicate.ImportScanShow
UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.
func UpdateTimeEQ ¶
func UpdateTimeEQ(v time.Time) predicate.ImportScanShow
UpdateTimeEQ applies the EQ predicate on the "update_time" field.
func UpdateTimeGT ¶
func UpdateTimeGT(v time.Time) predicate.ImportScanShow
UpdateTimeGT applies the GT predicate on the "update_time" field.
func UpdateTimeGTE ¶
func UpdateTimeGTE(v time.Time) predicate.ImportScanShow
UpdateTimeGTE applies the GTE predicate on the "update_time" field.
func UpdateTimeIn ¶
func UpdateTimeIn(vs ...time.Time) predicate.ImportScanShow
UpdateTimeIn applies the In predicate on the "update_time" field.
func UpdateTimeLT ¶
func UpdateTimeLT(v time.Time) predicate.ImportScanShow
UpdateTimeLT applies the LT predicate on the "update_time" field.
func UpdateTimeLTE ¶
func UpdateTimeLTE(v time.Time) predicate.ImportScanShow
UpdateTimeLTE applies the LTE predicate on the "update_time" field.
func UpdateTimeNEQ ¶
func UpdateTimeNEQ(v time.Time) predicate.ImportScanShow
UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.
func UpdateTimeNotIn ¶
func UpdateTimeNotIn(vs ...time.Time) predicate.ImportScanShow
UpdateTimeNotIn applies the NotIn predicate on the "update_time" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type Classification ¶
type Classification string
Classification defines the type for the "classification" enum field.
const ( ClassificationConfirmed Classification = "confirmed" ClassificationAmbiguous Classification = "ambiguous" ClassificationUnmatched Classification = "unmatched" ClassificationExisting Classification = "existing" )
Classification values.
func (Classification) String ¶
func (c Classification) String() string
type Decision ¶
type Decision string
Decision defines the type for the "decision" enum field.
type OrderOption ¶
OrderOption defines the ordering options for the ImportScanShow queries.
func ByClassification ¶
func ByClassification(opts ...sql.OrderTermOption) OrderOption
ByClassification orders the results by the classification field.
func ByCreateTime ¶
func ByCreateTime(opts ...sql.OrderTermOption) OrderOption
ByCreateTime orders the results by the create_time field.
func ByCreatedTvshowID ¶
func ByCreatedTvshowID(opts ...sql.OrderTermOption) OrderOption
ByCreatedTvshowID orders the results by the created_tvshow_id field.
func ByDecision ¶
func ByDecision(opts ...sql.OrderTermOption) OrderOption
ByDecision orders the results by the decision field.
func ByDecisionTvdbID ¶
func ByDecisionTvdbID(opts ...sql.OrderTermOption) OrderOption
ByDecisionTvdbID orders the results by the decision_tvdb_id field.
func ByExistingTvshowID ¶
func ByExistingTvshowID(opts ...sql.OrderTermOption) OrderOption
ByExistingTvshowID orders the results by the existing_tvshow_id field.
func ByFileCount ¶
func ByFileCount(opts ...sql.OrderTermOption) OrderOption
ByFileCount orders the results by the file_count field.
func ByFolderPath ¶
func ByFolderPath(opts ...sql.OrderTermOption) OrderOption
ByFolderPath orders the results by the folder_path field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByOutcome ¶
func ByOutcome(opts ...sql.OrderTermOption) OrderOption
ByOutcome orders the results by the outcome field.
func ByOutcomeMessage ¶
func ByOutcomeMessage(opts ...sql.OrderTermOption) OrderOption
ByOutcomeMessage orders the results by the outcome_message field.
func ByParsedTitle ¶
func ByParsedTitle(opts ...sql.OrderTermOption) OrderOption
ByParsedTitle orders the results by the parsed_title field.
func ByParsedYear ¶
func ByParsedYear(opts ...sql.OrderTermOption) OrderOption
ByParsedYear orders the results by the parsed_year field.
func ByScanField ¶
func ByScanField(field string, opts ...sql.OrderTermOption) OrderOption
ByScanField orders the results by scan field.
func ByTvdbID ¶
func ByTvdbID(opts ...sql.OrderTermOption) OrderOption
ByTvdbID orders the results by the tvdb_id field.
func ByUpdateTime ¶
func ByUpdateTime(opts ...sql.OrderTermOption) OrderOption
ByUpdateTime orders the results by the update_time field.