importscanfile

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2026 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the importscanfile type in the database.
	Label = "import_scan_file"
	// 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"
	// FieldSourcePath holds the string denoting the source_path field in the database.
	FieldSourcePath = "source_path"
	// FieldSize holds the string denoting the size field in the database.
	FieldSize = "size"
	// 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"
	// FieldParsedQuality holds the string denoting the parsed_quality field in the database.
	FieldParsedQuality = "parsed_quality"
	// FieldParsedReleaseGroup holds the string denoting the parsed_release_group field in the database.
	FieldParsedReleaseGroup = "parsed_release_group"
	// FieldClassification holds the string denoting the classification field in the database.
	FieldClassification = "classification"
	// FieldCandidates holds the string denoting the candidates field in the database.
	FieldCandidates = "candidates"
	// FieldTmdbID holds the string denoting the tmdb_id field in the database.
	FieldTmdbID = "tmdb_id"
	// FieldExistingMovieID holds the string denoting the existing_movie_id field in the database.
	FieldExistingMovieID = "existing_movie_id"
	// FieldDecision holds the string denoting the decision field in the database.
	FieldDecision = "decision"
	// FieldDecisionTmdbID holds the string denoting the decision_tmdb_id field in the database.
	FieldDecisionTmdbID = "decision_tmdb_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"
	// FieldCreatedMovieID holds the string denoting the created_movie_id field in the database.
	FieldCreatedMovieID = "created_movie_id"
	// EdgeScan holds the string denoting the scan edge name in mutations.
	EdgeScan = "scan"
	// Table holds the table name of the importscanfile in the database.
	Table = "import_scan_files"
	// ScanTable is the table that holds the scan relation/edge.
	ScanTable = "import_scan_files"
	// 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_files"
)
View Source
const DefaultClassification = ClassificationUnmatched

ClassificationUnmatched is the default value of the Classification enum.

View Source
const DefaultDecision = DecisionPending

DecisionPending is the default value of the Decision enum.

View Source
const DefaultOutcome = OutcomePending

OutcomePending is the default value of the Outcome enum.

Variables

View Source
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
	// SourcePathValidator is a validator for the "source_path" field. It is called by the builders before save.
	SourcePathValidator func(string) error
)

Columns holds all SQL columns for importscanfile fields.

View Source
var ForeignKeys = []string{
	"import_scan_files",
}

ForeignKeys holds the SQL foreign-keys that are owned by the "import_scan_files" table and are not defined as standalone fields in the schema.

Functions

func And

And groups predicates with the AND operator between them.

func CandidatesIsNil

func CandidatesIsNil() predicate.ImportScanFile

CandidatesIsNil applies the IsNil predicate on the "candidates" field.

func CandidatesNotNil

func CandidatesNotNil() predicate.ImportScanFile

CandidatesNotNil applies the NotNil predicate on the "candidates" field.

func ClassificationEQ

func ClassificationEQ(v Classification) predicate.ImportScanFile

ClassificationEQ applies the EQ predicate on the "classification" field.

func ClassificationIn

func ClassificationIn(vs ...Classification) predicate.ImportScanFile

ClassificationIn applies the In predicate on the "classification" field.

func ClassificationNEQ

func ClassificationNEQ(v Classification) predicate.ImportScanFile

ClassificationNEQ applies the NEQ predicate on the "classification" field.

func ClassificationNotIn

func ClassificationNotIn(vs ...Classification) predicate.ImportScanFile

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.ImportScanFile

CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.

func CreateTimeEQ

func CreateTimeEQ(v time.Time) predicate.ImportScanFile

CreateTimeEQ applies the EQ predicate on the "create_time" field.

func CreateTimeGT

func CreateTimeGT(v time.Time) predicate.ImportScanFile

CreateTimeGT applies the GT predicate on the "create_time" field.

func CreateTimeGTE

func CreateTimeGTE(v time.Time) predicate.ImportScanFile

CreateTimeGTE applies the GTE predicate on the "create_time" field.

func CreateTimeIn

func CreateTimeIn(vs ...time.Time) predicate.ImportScanFile

CreateTimeIn applies the In predicate on the "create_time" field.

func CreateTimeLT

func CreateTimeLT(v time.Time) predicate.ImportScanFile

CreateTimeLT applies the LT predicate on the "create_time" field.

func CreateTimeLTE

func CreateTimeLTE(v time.Time) predicate.ImportScanFile

CreateTimeLTE applies the LTE predicate on the "create_time" field.

func CreateTimeNEQ

func CreateTimeNEQ(v time.Time) predicate.ImportScanFile

CreateTimeNEQ applies the NEQ predicate on the "create_time" field.

func CreateTimeNotIn

func CreateTimeNotIn(vs ...time.Time) predicate.ImportScanFile

CreateTimeNotIn applies the NotIn predicate on the "create_time" field.

func CreatedMovieID

func CreatedMovieID(v uint32) predicate.ImportScanFile

CreatedMovieID applies equality check predicate on the "created_movie_id" field. It's identical to CreatedMovieIDEQ.

func CreatedMovieIDEQ

func CreatedMovieIDEQ(v uint32) predicate.ImportScanFile

CreatedMovieIDEQ applies the EQ predicate on the "created_movie_id" field.

func CreatedMovieIDGT

func CreatedMovieIDGT(v uint32) predicate.ImportScanFile

CreatedMovieIDGT applies the GT predicate on the "created_movie_id" field.

func CreatedMovieIDGTE

func CreatedMovieIDGTE(v uint32) predicate.ImportScanFile

CreatedMovieIDGTE applies the GTE predicate on the "created_movie_id" field.

func CreatedMovieIDIn

func CreatedMovieIDIn(vs ...uint32) predicate.ImportScanFile

CreatedMovieIDIn applies the In predicate on the "created_movie_id" field.

func CreatedMovieIDIsNil

func CreatedMovieIDIsNil() predicate.ImportScanFile

CreatedMovieIDIsNil applies the IsNil predicate on the "created_movie_id" field.

func CreatedMovieIDLT

func CreatedMovieIDLT(v uint32) predicate.ImportScanFile

CreatedMovieIDLT applies the LT predicate on the "created_movie_id" field.

func CreatedMovieIDLTE

func CreatedMovieIDLTE(v uint32) predicate.ImportScanFile

CreatedMovieIDLTE applies the LTE predicate on the "created_movie_id" field.

func CreatedMovieIDNEQ

func CreatedMovieIDNEQ(v uint32) predicate.ImportScanFile

CreatedMovieIDNEQ applies the NEQ predicate on the "created_movie_id" field.

func CreatedMovieIDNotIn

func CreatedMovieIDNotIn(vs ...uint32) predicate.ImportScanFile

CreatedMovieIDNotIn applies the NotIn predicate on the "created_movie_id" field.

func CreatedMovieIDNotNil

func CreatedMovieIDNotNil() predicate.ImportScanFile

CreatedMovieIDNotNil applies the NotNil predicate on the "created_movie_id" field.

func DecisionEQ

func DecisionEQ(v Decision) predicate.ImportScanFile

DecisionEQ applies the EQ predicate on the "decision" field.

func DecisionIn

func DecisionIn(vs ...Decision) predicate.ImportScanFile

DecisionIn applies the In predicate on the "decision" field.

func DecisionNEQ

func DecisionNEQ(v Decision) predicate.ImportScanFile

DecisionNEQ applies the NEQ predicate on the "decision" field.

func DecisionNotIn

func DecisionNotIn(vs ...Decision) predicate.ImportScanFile

DecisionNotIn applies the NotIn predicate on the "decision" field.

func DecisionTmdbID

func DecisionTmdbID(v uint32) predicate.ImportScanFile

DecisionTmdbID applies equality check predicate on the "decision_tmdb_id" field. It's identical to DecisionTmdbIDEQ.

func DecisionTmdbIDEQ

func DecisionTmdbIDEQ(v uint32) predicate.ImportScanFile

DecisionTmdbIDEQ applies the EQ predicate on the "decision_tmdb_id" field.

func DecisionTmdbIDGT

func DecisionTmdbIDGT(v uint32) predicate.ImportScanFile

DecisionTmdbIDGT applies the GT predicate on the "decision_tmdb_id" field.

func DecisionTmdbIDGTE

func DecisionTmdbIDGTE(v uint32) predicate.ImportScanFile

DecisionTmdbIDGTE applies the GTE predicate on the "decision_tmdb_id" field.

func DecisionTmdbIDIn

func DecisionTmdbIDIn(vs ...uint32) predicate.ImportScanFile

DecisionTmdbIDIn applies the In predicate on the "decision_tmdb_id" field.

func DecisionTmdbIDIsNil

func DecisionTmdbIDIsNil() predicate.ImportScanFile

DecisionTmdbIDIsNil applies the IsNil predicate on the "decision_tmdb_id" field.

func DecisionTmdbIDLT

func DecisionTmdbIDLT(v uint32) predicate.ImportScanFile

DecisionTmdbIDLT applies the LT predicate on the "decision_tmdb_id" field.

func DecisionTmdbIDLTE

func DecisionTmdbIDLTE(v uint32) predicate.ImportScanFile

DecisionTmdbIDLTE applies the LTE predicate on the "decision_tmdb_id" field.

func DecisionTmdbIDNEQ

func DecisionTmdbIDNEQ(v uint32) predicate.ImportScanFile

DecisionTmdbIDNEQ applies the NEQ predicate on the "decision_tmdb_id" field.

func DecisionTmdbIDNotIn

func DecisionTmdbIDNotIn(vs ...uint32) predicate.ImportScanFile

DecisionTmdbIDNotIn applies the NotIn predicate on the "decision_tmdb_id" field.

func DecisionTmdbIDNotNil

func DecisionTmdbIDNotNil() predicate.ImportScanFile

DecisionTmdbIDNotNil applies the NotNil predicate on the "decision_tmdb_id" field.

func DecisionValidator

func DecisionValidator(d Decision) error

DecisionValidator is a validator for the "decision" field enum values. It is called by the builders before save.

func ExistingMovieID

func ExistingMovieID(v uint32) predicate.ImportScanFile

ExistingMovieID applies equality check predicate on the "existing_movie_id" field. It's identical to ExistingMovieIDEQ.

func ExistingMovieIDEQ

func ExistingMovieIDEQ(v uint32) predicate.ImportScanFile

ExistingMovieIDEQ applies the EQ predicate on the "existing_movie_id" field.

func ExistingMovieIDGT

func ExistingMovieIDGT(v uint32) predicate.ImportScanFile

ExistingMovieIDGT applies the GT predicate on the "existing_movie_id" field.

func ExistingMovieIDGTE

func ExistingMovieIDGTE(v uint32) predicate.ImportScanFile

ExistingMovieIDGTE applies the GTE predicate on the "existing_movie_id" field.

func ExistingMovieIDIn

func ExistingMovieIDIn(vs ...uint32) predicate.ImportScanFile

ExistingMovieIDIn applies the In predicate on the "existing_movie_id" field.

func ExistingMovieIDIsNil

func ExistingMovieIDIsNil() predicate.ImportScanFile

ExistingMovieIDIsNil applies the IsNil predicate on the "existing_movie_id" field.

func ExistingMovieIDLT

func ExistingMovieIDLT(v uint32) predicate.ImportScanFile

ExistingMovieIDLT applies the LT predicate on the "existing_movie_id" field.

func ExistingMovieIDLTE

func ExistingMovieIDLTE(v uint32) predicate.ImportScanFile

ExistingMovieIDLTE applies the LTE predicate on the "existing_movie_id" field.

func ExistingMovieIDNEQ

func ExistingMovieIDNEQ(v uint32) predicate.ImportScanFile

ExistingMovieIDNEQ applies the NEQ predicate on the "existing_movie_id" field.

func ExistingMovieIDNotIn

func ExistingMovieIDNotIn(vs ...uint32) predicate.ImportScanFile

ExistingMovieIDNotIn applies the NotIn predicate on the "existing_movie_id" field.

func ExistingMovieIDNotNil

func ExistingMovieIDNotNil() predicate.ImportScanFile

ExistingMovieIDNotNil applies the NotNil predicate on the "existing_movie_id" field.

func HasScan

func HasScan() predicate.ImportScanFile

HasScan applies the HasEdge predicate on the "scan" edge.

func HasScanWith

func HasScanWith(preds ...predicate.ImportScan) predicate.ImportScanFile

HasScanWith applies the HasEdge predicate on the "scan" edge with a given conditions (other predicates).

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uint32) predicate.ImportScanFile

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uint32) predicate.ImportScanFile

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func OutcomeEQ

func OutcomeEQ(v Outcome) predicate.ImportScanFile

OutcomeEQ applies the EQ predicate on the "outcome" field.

func OutcomeIn

func OutcomeIn(vs ...Outcome) predicate.ImportScanFile

OutcomeIn applies the In predicate on the "outcome" field.

func OutcomeMessage

func OutcomeMessage(v string) predicate.ImportScanFile

OutcomeMessage applies equality check predicate on the "outcome_message" field. It's identical to OutcomeMessageEQ.

func OutcomeMessageContains

func OutcomeMessageContains(v string) predicate.ImportScanFile

OutcomeMessageContains applies the Contains predicate on the "outcome_message" field.

func OutcomeMessageContainsFold

func OutcomeMessageContainsFold(v string) predicate.ImportScanFile

OutcomeMessageContainsFold applies the ContainsFold predicate on the "outcome_message" field.

func OutcomeMessageEQ

func OutcomeMessageEQ(v string) predicate.ImportScanFile

OutcomeMessageEQ applies the EQ predicate on the "outcome_message" field.

func OutcomeMessageEqualFold

func OutcomeMessageEqualFold(v string) predicate.ImportScanFile

OutcomeMessageEqualFold applies the EqualFold predicate on the "outcome_message" field.

func OutcomeMessageGT

func OutcomeMessageGT(v string) predicate.ImportScanFile

OutcomeMessageGT applies the GT predicate on the "outcome_message" field.

func OutcomeMessageGTE

func OutcomeMessageGTE(v string) predicate.ImportScanFile

OutcomeMessageGTE applies the GTE predicate on the "outcome_message" field.

func OutcomeMessageHasPrefix

func OutcomeMessageHasPrefix(v string) predicate.ImportScanFile

OutcomeMessageHasPrefix applies the HasPrefix predicate on the "outcome_message" field.

func OutcomeMessageHasSuffix

func OutcomeMessageHasSuffix(v string) predicate.ImportScanFile

OutcomeMessageHasSuffix applies the HasSuffix predicate on the "outcome_message" field.

func OutcomeMessageIn

func OutcomeMessageIn(vs ...string) predicate.ImportScanFile

OutcomeMessageIn applies the In predicate on the "outcome_message" field.

func OutcomeMessageIsNil

func OutcomeMessageIsNil() predicate.ImportScanFile

OutcomeMessageIsNil applies the IsNil predicate on the "outcome_message" field.

func OutcomeMessageLT

func OutcomeMessageLT(v string) predicate.ImportScanFile

OutcomeMessageLT applies the LT predicate on the "outcome_message" field.

func OutcomeMessageLTE

func OutcomeMessageLTE(v string) predicate.ImportScanFile

OutcomeMessageLTE applies the LTE predicate on the "outcome_message" field.

func OutcomeMessageNEQ

func OutcomeMessageNEQ(v string) predicate.ImportScanFile

OutcomeMessageNEQ applies the NEQ predicate on the "outcome_message" field.

func OutcomeMessageNotIn

func OutcomeMessageNotIn(vs ...string) predicate.ImportScanFile

OutcomeMessageNotIn applies the NotIn predicate on the "outcome_message" field.

func OutcomeMessageNotNil

func OutcomeMessageNotNil() predicate.ImportScanFile

OutcomeMessageNotNil applies the NotNil predicate on the "outcome_message" field.

func OutcomeNEQ

func OutcomeNEQ(v Outcome) predicate.ImportScanFile

OutcomeNEQ applies the NEQ predicate on the "outcome" field.

func OutcomeNotIn

func OutcomeNotIn(vs ...Outcome) predicate.ImportScanFile

OutcomeNotIn applies the NotIn predicate on the "outcome" field.

func OutcomeValidator

func OutcomeValidator(o Outcome) error

OutcomeValidator is a validator for the "outcome" field enum values. It is called by the builders before save.

func ParsedQuality

func ParsedQuality(v string) predicate.ImportScanFile

ParsedQuality applies equality check predicate on the "parsed_quality" field. It's identical to ParsedQualityEQ.

func ParsedQualityContains

func ParsedQualityContains(v string) predicate.ImportScanFile

ParsedQualityContains applies the Contains predicate on the "parsed_quality" field.

func ParsedQualityContainsFold

func ParsedQualityContainsFold(v string) predicate.ImportScanFile

ParsedQualityContainsFold applies the ContainsFold predicate on the "parsed_quality" field.

func ParsedQualityEQ

func ParsedQualityEQ(v string) predicate.ImportScanFile

ParsedQualityEQ applies the EQ predicate on the "parsed_quality" field.

func ParsedQualityEqualFold

func ParsedQualityEqualFold(v string) predicate.ImportScanFile

ParsedQualityEqualFold applies the EqualFold predicate on the "parsed_quality" field.

func ParsedQualityGT

func ParsedQualityGT(v string) predicate.ImportScanFile

ParsedQualityGT applies the GT predicate on the "parsed_quality" field.

func ParsedQualityGTE

func ParsedQualityGTE(v string) predicate.ImportScanFile

ParsedQualityGTE applies the GTE predicate on the "parsed_quality" field.

func ParsedQualityHasPrefix

func ParsedQualityHasPrefix(v string) predicate.ImportScanFile

ParsedQualityHasPrefix applies the HasPrefix predicate on the "parsed_quality" field.

func ParsedQualityHasSuffix

func ParsedQualityHasSuffix(v string) predicate.ImportScanFile

ParsedQualityHasSuffix applies the HasSuffix predicate on the "parsed_quality" field.

func ParsedQualityIn

func ParsedQualityIn(vs ...string) predicate.ImportScanFile

ParsedQualityIn applies the In predicate on the "parsed_quality" field.

func ParsedQualityIsNil

func ParsedQualityIsNil() predicate.ImportScanFile

ParsedQualityIsNil applies the IsNil predicate on the "parsed_quality" field.

func ParsedQualityLT

func ParsedQualityLT(v string) predicate.ImportScanFile

ParsedQualityLT applies the LT predicate on the "parsed_quality" field.

func ParsedQualityLTE

func ParsedQualityLTE(v string) predicate.ImportScanFile

ParsedQualityLTE applies the LTE predicate on the "parsed_quality" field.

func ParsedQualityNEQ

func ParsedQualityNEQ(v string) predicate.ImportScanFile

ParsedQualityNEQ applies the NEQ predicate on the "parsed_quality" field.

func ParsedQualityNotIn

func ParsedQualityNotIn(vs ...string) predicate.ImportScanFile

ParsedQualityNotIn applies the NotIn predicate on the "parsed_quality" field.

func ParsedQualityNotNil

func ParsedQualityNotNil() predicate.ImportScanFile

ParsedQualityNotNil applies the NotNil predicate on the "parsed_quality" field.

func ParsedReleaseGroup

func ParsedReleaseGroup(v string) predicate.ImportScanFile

ParsedReleaseGroup applies equality check predicate on the "parsed_release_group" field. It's identical to ParsedReleaseGroupEQ.

func ParsedReleaseGroupContains

func ParsedReleaseGroupContains(v string) predicate.ImportScanFile

ParsedReleaseGroupContains applies the Contains predicate on the "parsed_release_group" field.

func ParsedReleaseGroupContainsFold

func ParsedReleaseGroupContainsFold(v string) predicate.ImportScanFile

ParsedReleaseGroupContainsFold applies the ContainsFold predicate on the "parsed_release_group" field.

func ParsedReleaseGroupEQ

func ParsedReleaseGroupEQ(v string) predicate.ImportScanFile

ParsedReleaseGroupEQ applies the EQ predicate on the "parsed_release_group" field.

func ParsedReleaseGroupEqualFold

func ParsedReleaseGroupEqualFold(v string) predicate.ImportScanFile

ParsedReleaseGroupEqualFold applies the EqualFold predicate on the "parsed_release_group" field.

func ParsedReleaseGroupGT

func ParsedReleaseGroupGT(v string) predicate.ImportScanFile

ParsedReleaseGroupGT applies the GT predicate on the "parsed_release_group" field.

func ParsedReleaseGroupGTE

func ParsedReleaseGroupGTE(v string) predicate.ImportScanFile

ParsedReleaseGroupGTE applies the GTE predicate on the "parsed_release_group" field.

func ParsedReleaseGroupHasPrefix

func ParsedReleaseGroupHasPrefix(v string) predicate.ImportScanFile

ParsedReleaseGroupHasPrefix applies the HasPrefix predicate on the "parsed_release_group" field.

func ParsedReleaseGroupHasSuffix

func ParsedReleaseGroupHasSuffix(v string) predicate.ImportScanFile

ParsedReleaseGroupHasSuffix applies the HasSuffix predicate on the "parsed_release_group" field.

func ParsedReleaseGroupIn

func ParsedReleaseGroupIn(vs ...string) predicate.ImportScanFile

ParsedReleaseGroupIn applies the In predicate on the "parsed_release_group" field.

func ParsedReleaseGroupIsNil

func ParsedReleaseGroupIsNil() predicate.ImportScanFile

ParsedReleaseGroupIsNil applies the IsNil predicate on the "parsed_release_group" field.

func ParsedReleaseGroupLT

func ParsedReleaseGroupLT(v string) predicate.ImportScanFile

ParsedReleaseGroupLT applies the LT predicate on the "parsed_release_group" field.

func ParsedReleaseGroupLTE

func ParsedReleaseGroupLTE(v string) predicate.ImportScanFile

ParsedReleaseGroupLTE applies the LTE predicate on the "parsed_release_group" field.

func ParsedReleaseGroupNEQ

func ParsedReleaseGroupNEQ(v string) predicate.ImportScanFile

ParsedReleaseGroupNEQ applies the NEQ predicate on the "parsed_release_group" field.

func ParsedReleaseGroupNotIn

func ParsedReleaseGroupNotIn(vs ...string) predicate.ImportScanFile

ParsedReleaseGroupNotIn applies the NotIn predicate on the "parsed_release_group" field.

func ParsedReleaseGroupNotNil

func ParsedReleaseGroupNotNil() predicate.ImportScanFile

ParsedReleaseGroupNotNil applies the NotNil predicate on the "parsed_release_group" field.

func ParsedTitle

func ParsedTitle(v string) predicate.ImportScanFile

ParsedTitle applies equality check predicate on the "parsed_title" field. It's identical to ParsedTitleEQ.

func ParsedTitleContains

func ParsedTitleContains(v string) predicate.ImportScanFile

ParsedTitleContains applies the Contains predicate on the "parsed_title" field.

func ParsedTitleContainsFold

func ParsedTitleContainsFold(v string) predicate.ImportScanFile

ParsedTitleContainsFold applies the ContainsFold predicate on the "parsed_title" field.

func ParsedTitleEQ

func ParsedTitleEQ(v string) predicate.ImportScanFile

ParsedTitleEQ applies the EQ predicate on the "parsed_title" field.

func ParsedTitleEqualFold

func ParsedTitleEqualFold(v string) predicate.ImportScanFile

ParsedTitleEqualFold applies the EqualFold predicate on the "parsed_title" field.

func ParsedTitleGT

func ParsedTitleGT(v string) predicate.ImportScanFile

ParsedTitleGT applies the GT predicate on the "parsed_title" field.

func ParsedTitleGTE

func ParsedTitleGTE(v string) predicate.ImportScanFile

ParsedTitleGTE applies the GTE predicate on the "parsed_title" field.

func ParsedTitleHasPrefix

func ParsedTitleHasPrefix(v string) predicate.ImportScanFile

ParsedTitleHasPrefix applies the HasPrefix predicate on the "parsed_title" field.

func ParsedTitleHasSuffix

func ParsedTitleHasSuffix(v string) predicate.ImportScanFile

ParsedTitleHasSuffix applies the HasSuffix predicate on the "parsed_title" field.

func ParsedTitleIn

func ParsedTitleIn(vs ...string) predicate.ImportScanFile

ParsedTitleIn applies the In predicate on the "parsed_title" field.

func ParsedTitleIsNil

func ParsedTitleIsNil() predicate.ImportScanFile

ParsedTitleIsNil applies the IsNil predicate on the "parsed_title" field.

func ParsedTitleLT

func ParsedTitleLT(v string) predicate.ImportScanFile

ParsedTitleLT applies the LT predicate on the "parsed_title" field.

func ParsedTitleLTE

func ParsedTitleLTE(v string) predicate.ImportScanFile

ParsedTitleLTE applies the LTE predicate on the "parsed_title" field.

func ParsedTitleNEQ

func ParsedTitleNEQ(v string) predicate.ImportScanFile

ParsedTitleNEQ applies the NEQ predicate on the "parsed_title" field.

func ParsedTitleNotIn

func ParsedTitleNotIn(vs ...string) predicate.ImportScanFile

ParsedTitleNotIn applies the NotIn predicate on the "parsed_title" field.

func ParsedTitleNotNil

func ParsedTitleNotNil() predicate.ImportScanFile

ParsedTitleNotNil applies the NotNil predicate on the "parsed_title" field.

func ParsedYear

func ParsedYear(v uint16) predicate.ImportScanFile

ParsedYear applies equality check predicate on the "parsed_year" field. It's identical to ParsedYearEQ.

func ParsedYearEQ

func ParsedYearEQ(v uint16) predicate.ImportScanFile

ParsedYearEQ applies the EQ predicate on the "parsed_year" field.

func ParsedYearGT

func ParsedYearGT(v uint16) predicate.ImportScanFile

ParsedYearGT applies the GT predicate on the "parsed_year" field.

func ParsedYearGTE

func ParsedYearGTE(v uint16) predicate.ImportScanFile

ParsedYearGTE applies the GTE predicate on the "parsed_year" field.

func ParsedYearIn

func ParsedYearIn(vs ...uint16) predicate.ImportScanFile

ParsedYearIn applies the In predicate on the "parsed_year" field.

func ParsedYearIsNil

func ParsedYearIsNil() predicate.ImportScanFile

ParsedYearIsNil applies the IsNil predicate on the "parsed_year" field.

func ParsedYearLT

func ParsedYearLT(v uint16) predicate.ImportScanFile

ParsedYearLT applies the LT predicate on the "parsed_year" field.

func ParsedYearLTE

func ParsedYearLTE(v uint16) predicate.ImportScanFile

ParsedYearLTE applies the LTE predicate on the "parsed_year" field.

func ParsedYearNEQ

func ParsedYearNEQ(v uint16) predicate.ImportScanFile

ParsedYearNEQ applies the NEQ predicate on the "parsed_year" field.

func ParsedYearNotIn

func ParsedYearNotIn(vs ...uint16) predicate.ImportScanFile

ParsedYearNotIn applies the NotIn predicate on the "parsed_year" field.

func ParsedYearNotNil

func ParsedYearNotNil() predicate.ImportScanFile

ParsedYearNotNil applies the NotNil predicate on the "parsed_year" field.

func Size

Size applies equality check predicate on the "size" field. It's identical to SizeEQ.

func SizeEQ

func SizeEQ(v int64) predicate.ImportScanFile

SizeEQ applies the EQ predicate on the "size" field.

func SizeGT

func SizeGT(v int64) predicate.ImportScanFile

SizeGT applies the GT predicate on the "size" field.

func SizeGTE

func SizeGTE(v int64) predicate.ImportScanFile

SizeGTE applies the GTE predicate on the "size" field.

func SizeIn

func SizeIn(vs ...int64) predicate.ImportScanFile

SizeIn applies the In predicate on the "size" field.

func SizeLT

func SizeLT(v int64) predicate.ImportScanFile

SizeLT applies the LT predicate on the "size" field.

func SizeLTE

func SizeLTE(v int64) predicate.ImportScanFile

SizeLTE applies the LTE predicate on the "size" field.

func SizeNEQ

func SizeNEQ(v int64) predicate.ImportScanFile

SizeNEQ applies the NEQ predicate on the "size" field.

func SizeNotIn

func SizeNotIn(vs ...int64) predicate.ImportScanFile

SizeNotIn applies the NotIn predicate on the "size" field.

func SourcePath

func SourcePath(v string) predicate.ImportScanFile

SourcePath applies equality check predicate on the "source_path" field. It's identical to SourcePathEQ.

func SourcePathContains

func SourcePathContains(v string) predicate.ImportScanFile

SourcePathContains applies the Contains predicate on the "source_path" field.

func SourcePathContainsFold

func SourcePathContainsFold(v string) predicate.ImportScanFile

SourcePathContainsFold applies the ContainsFold predicate on the "source_path" field.

func SourcePathEQ

func SourcePathEQ(v string) predicate.ImportScanFile

SourcePathEQ applies the EQ predicate on the "source_path" field.

func SourcePathEqualFold

func SourcePathEqualFold(v string) predicate.ImportScanFile

SourcePathEqualFold applies the EqualFold predicate on the "source_path" field.

func SourcePathGT

func SourcePathGT(v string) predicate.ImportScanFile

SourcePathGT applies the GT predicate on the "source_path" field.

func SourcePathGTE

func SourcePathGTE(v string) predicate.ImportScanFile

SourcePathGTE applies the GTE predicate on the "source_path" field.

func SourcePathHasPrefix

func SourcePathHasPrefix(v string) predicate.ImportScanFile

SourcePathHasPrefix applies the HasPrefix predicate on the "source_path" field.

func SourcePathHasSuffix

func SourcePathHasSuffix(v string) predicate.ImportScanFile

SourcePathHasSuffix applies the HasSuffix predicate on the "source_path" field.

func SourcePathIn

func SourcePathIn(vs ...string) predicate.ImportScanFile

SourcePathIn applies the In predicate on the "source_path" field.

func SourcePathLT

func SourcePathLT(v string) predicate.ImportScanFile

SourcePathLT applies the LT predicate on the "source_path" field.

func SourcePathLTE

func SourcePathLTE(v string) predicate.ImportScanFile

SourcePathLTE applies the LTE predicate on the "source_path" field.

func SourcePathNEQ

func SourcePathNEQ(v string) predicate.ImportScanFile

SourcePathNEQ applies the NEQ predicate on the "source_path" field.

func SourcePathNotIn

func SourcePathNotIn(vs ...string) predicate.ImportScanFile

SourcePathNotIn applies the NotIn predicate on the "source_path" field.

func TmdbID

TmdbID applies equality check predicate on the "tmdb_id" field. It's identical to TmdbIDEQ.

func TmdbIDEQ

func TmdbIDEQ(v uint32) predicate.ImportScanFile

TmdbIDEQ applies the EQ predicate on the "tmdb_id" field.

func TmdbIDGT

func TmdbIDGT(v uint32) predicate.ImportScanFile

TmdbIDGT applies the GT predicate on the "tmdb_id" field.

func TmdbIDGTE

func TmdbIDGTE(v uint32) predicate.ImportScanFile

TmdbIDGTE applies the GTE predicate on the "tmdb_id" field.

func TmdbIDIn

func TmdbIDIn(vs ...uint32) predicate.ImportScanFile

TmdbIDIn applies the In predicate on the "tmdb_id" field.

func TmdbIDIsNil

func TmdbIDIsNil() predicate.ImportScanFile

TmdbIDIsNil applies the IsNil predicate on the "tmdb_id" field.

func TmdbIDLT

func TmdbIDLT(v uint32) predicate.ImportScanFile

TmdbIDLT applies the LT predicate on the "tmdb_id" field.

func TmdbIDLTE

func TmdbIDLTE(v uint32) predicate.ImportScanFile

TmdbIDLTE applies the LTE predicate on the "tmdb_id" field.

func TmdbIDNEQ

func TmdbIDNEQ(v uint32) predicate.ImportScanFile

TmdbIDNEQ applies the NEQ predicate on the "tmdb_id" field.

func TmdbIDNotIn

func TmdbIDNotIn(vs ...uint32) predicate.ImportScanFile

TmdbIDNotIn applies the NotIn predicate on the "tmdb_id" field.

func TmdbIDNotNil

func TmdbIDNotNil() predicate.ImportScanFile

TmdbIDNotNil applies the NotNil predicate on the "tmdb_id" field.

func UpdateTime

func UpdateTime(v time.Time) predicate.ImportScanFile

UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.

func UpdateTimeEQ

func UpdateTimeEQ(v time.Time) predicate.ImportScanFile

UpdateTimeEQ applies the EQ predicate on the "update_time" field.

func UpdateTimeGT

func UpdateTimeGT(v time.Time) predicate.ImportScanFile

UpdateTimeGT applies the GT predicate on the "update_time" field.

func UpdateTimeGTE

func UpdateTimeGTE(v time.Time) predicate.ImportScanFile

UpdateTimeGTE applies the GTE predicate on the "update_time" field.

func UpdateTimeIn

func UpdateTimeIn(vs ...time.Time) predicate.ImportScanFile

UpdateTimeIn applies the In predicate on the "update_time" field.

func UpdateTimeLT

func UpdateTimeLT(v time.Time) predicate.ImportScanFile

UpdateTimeLT applies the LT predicate on the "update_time" field.

func UpdateTimeLTE

func UpdateTimeLTE(v time.Time) predicate.ImportScanFile

UpdateTimeLTE applies the LTE predicate on the "update_time" field.

func UpdateTimeNEQ

func UpdateTimeNEQ(v time.Time) predicate.ImportScanFile

UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.

func UpdateTimeNotIn

func UpdateTimeNotIn(vs ...time.Time) predicate.ImportScanFile

UpdateTimeNotIn applies the NotIn predicate on the "update_time" field.

func ValidColumn

func ValidColumn(column string) bool

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.

const (
	DecisionPending Decision = "pending"
	DecisionAccept  Decision = "accept"
	DecisionSkip    Decision = "skip"
)

Decision values.

func (Decision) String

func (d Decision) String() string

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the ImportScanFile 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 ByCreatedMovieID

func ByCreatedMovieID(opts ...sql.OrderTermOption) OrderOption

ByCreatedMovieID orders the results by the created_movie_id field.

func ByDecision

func ByDecision(opts ...sql.OrderTermOption) OrderOption

ByDecision orders the results by the decision field.

func ByDecisionTmdbID

func ByDecisionTmdbID(opts ...sql.OrderTermOption) OrderOption

ByDecisionTmdbID orders the results by the decision_tmdb_id field.

func ByExistingMovieID

func ByExistingMovieID(opts ...sql.OrderTermOption) OrderOption

ByExistingMovieID orders the results by the existing_movie_id 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 ByParsedQuality

func ByParsedQuality(opts ...sql.OrderTermOption) OrderOption

ByParsedQuality orders the results by the parsed_quality field.

func ByParsedReleaseGroup

func ByParsedReleaseGroup(opts ...sql.OrderTermOption) OrderOption

ByParsedReleaseGroup orders the results by the parsed_release_group 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 BySize

func BySize(opts ...sql.OrderTermOption) OrderOption

BySize orders the results by the size field.

func BySourcePath

func BySourcePath(opts ...sql.OrderTermOption) OrderOption

BySourcePath orders the results by the source_path field.

func ByTmdbID

func ByTmdbID(opts ...sql.OrderTermOption) OrderOption

ByTmdbID orders the results by the tmdb_id field.

func ByUpdateTime

func ByUpdateTime(opts ...sql.OrderTermOption) OrderOption

ByUpdateTime orders the results by the update_time field.

type Outcome

type Outcome string

Outcome defines the type for the "outcome" enum field.

const (
	OutcomePending  Outcome = "pending"
	OutcomeCreated  Outcome = "created"
	OutcomeAttached Outcome = "attached"
	OutcomeSkipped  Outcome = "skipped"
	OutcomeFailed   Outcome = "failed"
)

Outcome values.

func (Outcome) String

func (o Outcome) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL