submission

package
v0.0.0-...-6d1408b Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the submission type in the database.
	Label = "submission"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldSourceLanguage holds the string denoting the source_language field in the database.
	FieldSourceLanguage = "source_language"
	// FieldTargetLanguage holds the string denoting the target_language field in the database.
	FieldTargetLanguage = "target_language"
	// FieldIsInline holds the string denoting the is_inline field in the database.
	FieldIsInline = "is_inline"
	// FieldIsPublic holds the string denoting the is_public field in the database.
	FieldIsPublic = "is_public"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldReason holds the string denoting the reason field in the database.
	FieldReason = "reason"
	// FieldGitRepo holds the string denoting the git_repo field in the database.
	FieldGitRepo = "git_repo"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldShareID holds the string denoting the share_id field in the database.
	FieldShareID = "share_id"
	// FieldSubmissionSourceSizeBytes holds the string denoting the submission_source_size_bytes field in the database.
	FieldSubmissionSourceSizeBytes = "submission_source_size_bytes"
	// FieldSubmissionTargetSizeBytes holds the string denoting the submission_target_size_bytes field in the database.
	FieldSubmissionTargetSizeBytes = "submission_target_size_bytes"
	// FieldProcessingStartedAt holds the string denoting the processing_started_at field in the database.
	FieldProcessingStartedAt = "processing_started_at"
	// FieldProcessingFinishedAt holds the string denoting the processing_finished_at field in the database.
	FieldProcessingFinishedAt = "processing_finished_at"
	// EdgeUser holds the string denoting the user edge name in mutations.
	EdgeUser = "user"
	// Table holds the table name of the submission in the database.
	Table = "submissions"
	// UserTable is the table that holds the user relation/edge.
	UserTable = "submissions"
	// UserInverseTable is the table name for the User entity.
	// It exists in this package in order to avoid circular dependency with the "user" package.
	UserInverseTable = "users"
	// UserColumn is the table column denoting the user relation/edge.
	UserColumn = "user_submissions"
)
View Source
const DefaultStatus = StatusPending

StatusPending is the default value of the Status enum.

Variables

View Source
var (
	// DefaultIsInline holds the default value on creation for the "is_inline" field.
	DefaultIsInline bool
	// DefaultIsPublic holds the default value on creation for the "is_public" field.
	DefaultIsPublic bool
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultSubmissionSourceSizeBytes holds the default value on creation for the "submission_source_size_bytes" field.
	DefaultSubmissionSourceSizeBytes int
	// DefaultSubmissionTargetSizeBytes holds the default value on creation for the "submission_target_size_bytes" field.
	DefaultSubmissionTargetSizeBytes int
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for submission fields.

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

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

Functions

func And

func And(predicates ...predicate.Submission) predicate.Submission

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.Submission

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Submission

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Submission

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Submission

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.Submission

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Submission

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Submission

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Submission

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.Submission

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func GitRepo

func GitRepo(v string) predicate.Submission

GitRepo applies equality check predicate on the "git_repo" field. It's identical to GitRepoEQ.

func GitRepoContains

func GitRepoContains(v string) predicate.Submission

GitRepoContains applies the Contains predicate on the "git_repo" field.

func GitRepoContainsFold

func GitRepoContainsFold(v string) predicate.Submission

GitRepoContainsFold applies the ContainsFold predicate on the "git_repo" field.

func GitRepoEQ

func GitRepoEQ(v string) predicate.Submission

GitRepoEQ applies the EQ predicate on the "git_repo" field.

func GitRepoEqualFold

func GitRepoEqualFold(v string) predicate.Submission

GitRepoEqualFold applies the EqualFold predicate on the "git_repo" field.

func GitRepoGT

func GitRepoGT(v string) predicate.Submission

GitRepoGT applies the GT predicate on the "git_repo" field.

func GitRepoGTE

func GitRepoGTE(v string) predicate.Submission

GitRepoGTE applies the GTE predicate on the "git_repo" field.

func GitRepoHasPrefix

func GitRepoHasPrefix(v string) predicate.Submission

GitRepoHasPrefix applies the HasPrefix predicate on the "git_repo" field.

func GitRepoHasSuffix

func GitRepoHasSuffix(v string) predicate.Submission

GitRepoHasSuffix applies the HasSuffix predicate on the "git_repo" field.

func GitRepoIn

func GitRepoIn(vs ...string) predicate.Submission

GitRepoIn applies the In predicate on the "git_repo" field.

func GitRepoIsNil

func GitRepoIsNil() predicate.Submission

GitRepoIsNil applies the IsNil predicate on the "git_repo" field.

func GitRepoLT

func GitRepoLT(v string) predicate.Submission

GitRepoLT applies the LT predicate on the "git_repo" field.

func GitRepoLTE

func GitRepoLTE(v string) predicate.Submission

GitRepoLTE applies the LTE predicate on the "git_repo" field.

func GitRepoNEQ

func GitRepoNEQ(v string) predicate.Submission

GitRepoNEQ applies the NEQ predicate on the "git_repo" field.

func GitRepoNotIn

func GitRepoNotIn(vs ...string) predicate.Submission

GitRepoNotIn applies the NotIn predicate on the "git_repo" field.

func GitRepoNotNil

func GitRepoNotNil() predicate.Submission

GitRepoNotNil applies the NotNil predicate on the "git_repo" field.

func HasUser

func HasUser() predicate.Submission

HasUser applies the HasEdge predicate on the "user" edge.

func HasUserWith

func HasUserWith(preds ...predicate.User) predicate.Submission

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

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.Submission

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.Submission

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.Submission

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.Submission

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.Submission

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.Submission

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.Submission

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.Submission

IDNotIn applies the NotIn predicate on the ID field.

func IsInline

func IsInline(v bool) predicate.Submission

IsInline applies equality check predicate on the "is_inline" field. It's identical to IsInlineEQ.

func IsInlineEQ

func IsInlineEQ(v bool) predicate.Submission

IsInlineEQ applies the EQ predicate on the "is_inline" field.

func IsInlineNEQ

func IsInlineNEQ(v bool) predicate.Submission

IsInlineNEQ applies the NEQ predicate on the "is_inline" field.

func IsPublic

func IsPublic(v bool) predicate.Submission

IsPublic applies equality check predicate on the "is_public" field. It's identical to IsPublicEQ.

func IsPublicEQ

func IsPublicEQ(v bool) predicate.Submission

IsPublicEQ applies the EQ predicate on the "is_public" field.

func IsPublicNEQ

func IsPublicNEQ(v bool) predicate.Submission

IsPublicNEQ applies the NEQ predicate on the "is_public" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Submission) predicate.Submission

Or groups predicates with the OR operator between them.

func ProcessingFinishedAt

func ProcessingFinishedAt(v time.Time) predicate.Submission

ProcessingFinishedAt applies equality check predicate on the "processing_finished_at" field. It's identical to ProcessingFinishedAtEQ.

func ProcessingFinishedAtEQ

func ProcessingFinishedAtEQ(v time.Time) predicate.Submission

ProcessingFinishedAtEQ applies the EQ predicate on the "processing_finished_at" field.

func ProcessingFinishedAtGT

func ProcessingFinishedAtGT(v time.Time) predicate.Submission

ProcessingFinishedAtGT applies the GT predicate on the "processing_finished_at" field.

func ProcessingFinishedAtGTE

func ProcessingFinishedAtGTE(v time.Time) predicate.Submission

ProcessingFinishedAtGTE applies the GTE predicate on the "processing_finished_at" field.

func ProcessingFinishedAtIn

func ProcessingFinishedAtIn(vs ...time.Time) predicate.Submission

ProcessingFinishedAtIn applies the In predicate on the "processing_finished_at" field.

func ProcessingFinishedAtIsNil

func ProcessingFinishedAtIsNil() predicate.Submission

ProcessingFinishedAtIsNil applies the IsNil predicate on the "processing_finished_at" field.

func ProcessingFinishedAtLT

func ProcessingFinishedAtLT(v time.Time) predicate.Submission

ProcessingFinishedAtLT applies the LT predicate on the "processing_finished_at" field.

func ProcessingFinishedAtLTE

func ProcessingFinishedAtLTE(v time.Time) predicate.Submission

ProcessingFinishedAtLTE applies the LTE predicate on the "processing_finished_at" field.

func ProcessingFinishedAtNEQ

func ProcessingFinishedAtNEQ(v time.Time) predicate.Submission

ProcessingFinishedAtNEQ applies the NEQ predicate on the "processing_finished_at" field.

func ProcessingFinishedAtNotIn

func ProcessingFinishedAtNotIn(vs ...time.Time) predicate.Submission

ProcessingFinishedAtNotIn applies the NotIn predicate on the "processing_finished_at" field.

func ProcessingFinishedAtNotNil

func ProcessingFinishedAtNotNil() predicate.Submission

ProcessingFinishedAtNotNil applies the NotNil predicate on the "processing_finished_at" field.

func ProcessingStartedAt

func ProcessingStartedAt(v time.Time) predicate.Submission

ProcessingStartedAt applies equality check predicate on the "processing_started_at" field. It's identical to ProcessingStartedAtEQ.

func ProcessingStartedAtEQ

func ProcessingStartedAtEQ(v time.Time) predicate.Submission

ProcessingStartedAtEQ applies the EQ predicate on the "processing_started_at" field.

func ProcessingStartedAtGT

func ProcessingStartedAtGT(v time.Time) predicate.Submission

ProcessingStartedAtGT applies the GT predicate on the "processing_started_at" field.

func ProcessingStartedAtGTE

func ProcessingStartedAtGTE(v time.Time) predicate.Submission

ProcessingStartedAtGTE applies the GTE predicate on the "processing_started_at" field.

func ProcessingStartedAtIn

func ProcessingStartedAtIn(vs ...time.Time) predicate.Submission

ProcessingStartedAtIn applies the In predicate on the "processing_started_at" field.

func ProcessingStartedAtIsNil

func ProcessingStartedAtIsNil() predicate.Submission

ProcessingStartedAtIsNil applies the IsNil predicate on the "processing_started_at" field.

func ProcessingStartedAtLT

func ProcessingStartedAtLT(v time.Time) predicate.Submission

ProcessingStartedAtLT applies the LT predicate on the "processing_started_at" field.

func ProcessingStartedAtLTE

func ProcessingStartedAtLTE(v time.Time) predicate.Submission

ProcessingStartedAtLTE applies the LTE predicate on the "processing_started_at" field.

func ProcessingStartedAtNEQ

func ProcessingStartedAtNEQ(v time.Time) predicate.Submission

ProcessingStartedAtNEQ applies the NEQ predicate on the "processing_started_at" field.

func ProcessingStartedAtNotIn

func ProcessingStartedAtNotIn(vs ...time.Time) predicate.Submission

ProcessingStartedAtNotIn applies the NotIn predicate on the "processing_started_at" field.

func ProcessingStartedAtNotNil

func ProcessingStartedAtNotNil() predicate.Submission

ProcessingStartedAtNotNil applies the NotNil predicate on the "processing_started_at" field.

func Reason

func Reason(v string) predicate.Submission

Reason applies equality check predicate on the "reason" field. It's identical to ReasonEQ.

func ReasonContains

func ReasonContains(v string) predicate.Submission

ReasonContains applies the Contains predicate on the "reason" field.

func ReasonContainsFold

func ReasonContainsFold(v string) predicate.Submission

ReasonContainsFold applies the ContainsFold predicate on the "reason" field.

func ReasonEQ

func ReasonEQ(v string) predicate.Submission

ReasonEQ applies the EQ predicate on the "reason" field.

func ReasonEqualFold

func ReasonEqualFold(v string) predicate.Submission

ReasonEqualFold applies the EqualFold predicate on the "reason" field.

func ReasonGT

func ReasonGT(v string) predicate.Submission

ReasonGT applies the GT predicate on the "reason" field.

func ReasonGTE

func ReasonGTE(v string) predicate.Submission

ReasonGTE applies the GTE predicate on the "reason" field.

func ReasonHasPrefix

func ReasonHasPrefix(v string) predicate.Submission

ReasonHasPrefix applies the HasPrefix predicate on the "reason" field.

func ReasonHasSuffix

func ReasonHasSuffix(v string) predicate.Submission

ReasonHasSuffix applies the HasSuffix predicate on the "reason" field.

func ReasonIn

func ReasonIn(vs ...string) predicate.Submission

ReasonIn applies the In predicate on the "reason" field.

func ReasonIsNil

func ReasonIsNil() predicate.Submission

ReasonIsNil applies the IsNil predicate on the "reason" field.

func ReasonLT

func ReasonLT(v string) predicate.Submission

ReasonLT applies the LT predicate on the "reason" field.

func ReasonLTE

func ReasonLTE(v string) predicate.Submission

ReasonLTE applies the LTE predicate on the "reason" field.

func ReasonNEQ

func ReasonNEQ(v string) predicate.Submission

ReasonNEQ applies the NEQ predicate on the "reason" field.

func ReasonNotIn

func ReasonNotIn(vs ...string) predicate.Submission

ReasonNotIn applies the NotIn predicate on the "reason" field.

func ReasonNotNil

func ReasonNotNil() predicate.Submission

ReasonNotNil applies the NotNil predicate on the "reason" field.

func ShareID

func ShareID(v string) predicate.Submission

ShareID applies equality check predicate on the "share_id" field. It's identical to ShareIDEQ.

func ShareIDContains

func ShareIDContains(v string) predicate.Submission

ShareIDContains applies the Contains predicate on the "share_id" field.

func ShareIDContainsFold

func ShareIDContainsFold(v string) predicate.Submission

ShareIDContainsFold applies the ContainsFold predicate on the "share_id" field.

func ShareIDEQ

func ShareIDEQ(v string) predicate.Submission

ShareIDEQ applies the EQ predicate on the "share_id" field.

func ShareIDEqualFold

func ShareIDEqualFold(v string) predicate.Submission

ShareIDEqualFold applies the EqualFold predicate on the "share_id" field.

func ShareIDGT

func ShareIDGT(v string) predicate.Submission

ShareIDGT applies the GT predicate on the "share_id" field.

func ShareIDGTE

func ShareIDGTE(v string) predicate.Submission

ShareIDGTE applies the GTE predicate on the "share_id" field.

func ShareIDHasPrefix

func ShareIDHasPrefix(v string) predicate.Submission

ShareIDHasPrefix applies the HasPrefix predicate on the "share_id" field.

func ShareIDHasSuffix

func ShareIDHasSuffix(v string) predicate.Submission

ShareIDHasSuffix applies the HasSuffix predicate on the "share_id" field.

func ShareIDIn

func ShareIDIn(vs ...string) predicate.Submission

ShareIDIn applies the In predicate on the "share_id" field.

func ShareIDIsNil

func ShareIDIsNil() predicate.Submission

ShareIDIsNil applies the IsNil predicate on the "share_id" field.

func ShareIDLT

func ShareIDLT(v string) predicate.Submission

ShareIDLT applies the LT predicate on the "share_id" field.

func ShareIDLTE

func ShareIDLTE(v string) predicate.Submission

ShareIDLTE applies the LTE predicate on the "share_id" field.

func ShareIDNEQ

func ShareIDNEQ(v string) predicate.Submission

ShareIDNEQ applies the NEQ predicate on the "share_id" field.

func ShareIDNotIn

func ShareIDNotIn(vs ...string) predicate.Submission

ShareIDNotIn applies the NotIn predicate on the "share_id" field.

func ShareIDNotNil

func ShareIDNotNil() predicate.Submission

ShareIDNotNil applies the NotNil predicate on the "share_id" field.

func SourceLanguage

func SourceLanguage(v string) predicate.Submission

SourceLanguage applies equality check predicate on the "source_language" field. It's identical to SourceLanguageEQ.

func SourceLanguageContains

func SourceLanguageContains(v string) predicate.Submission

SourceLanguageContains applies the Contains predicate on the "source_language" field.

func SourceLanguageContainsFold

func SourceLanguageContainsFold(v string) predicate.Submission

SourceLanguageContainsFold applies the ContainsFold predicate on the "source_language" field.

func SourceLanguageEQ

func SourceLanguageEQ(v string) predicate.Submission

SourceLanguageEQ applies the EQ predicate on the "source_language" field.

func SourceLanguageEqualFold

func SourceLanguageEqualFold(v string) predicate.Submission

SourceLanguageEqualFold applies the EqualFold predicate on the "source_language" field.

func SourceLanguageGT

func SourceLanguageGT(v string) predicate.Submission

SourceLanguageGT applies the GT predicate on the "source_language" field.

func SourceLanguageGTE

func SourceLanguageGTE(v string) predicate.Submission

SourceLanguageGTE applies the GTE predicate on the "source_language" field.

func SourceLanguageHasPrefix

func SourceLanguageHasPrefix(v string) predicate.Submission

SourceLanguageHasPrefix applies the HasPrefix predicate on the "source_language" field.

func SourceLanguageHasSuffix

func SourceLanguageHasSuffix(v string) predicate.Submission

SourceLanguageHasSuffix applies the HasSuffix predicate on the "source_language" field.

func SourceLanguageIn

func SourceLanguageIn(vs ...string) predicate.Submission

SourceLanguageIn applies the In predicate on the "source_language" field.

func SourceLanguageLT

func SourceLanguageLT(v string) predicate.Submission

SourceLanguageLT applies the LT predicate on the "source_language" field.

func SourceLanguageLTE

func SourceLanguageLTE(v string) predicate.Submission

SourceLanguageLTE applies the LTE predicate on the "source_language" field.

func SourceLanguageNEQ

func SourceLanguageNEQ(v string) predicate.Submission

SourceLanguageNEQ applies the NEQ predicate on the "source_language" field.

func SourceLanguageNotIn

func SourceLanguageNotIn(vs ...string) predicate.Submission

SourceLanguageNotIn applies the NotIn predicate on the "source_language" field.

func StatusEQ

func StatusEQ(v Status) predicate.Submission

StatusEQ applies the EQ predicate on the "status" field.

func StatusIn

func StatusIn(vs ...Status) predicate.Submission

StatusIn applies the In predicate on the "status" field.

func StatusNEQ

func StatusNEQ(v Status) predicate.Submission

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...Status) predicate.Submission

StatusNotIn applies the NotIn predicate on the "status" field.

func StatusValidator

func StatusValidator(s Status) error

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

func SubmissionSourceSizeBytes

func SubmissionSourceSizeBytes(v int) predicate.Submission

SubmissionSourceSizeBytes applies equality check predicate on the "submission_source_size_bytes" field. It's identical to SubmissionSourceSizeBytesEQ.

func SubmissionSourceSizeBytesEQ

func SubmissionSourceSizeBytesEQ(v int) predicate.Submission

SubmissionSourceSizeBytesEQ applies the EQ predicate on the "submission_source_size_bytes" field.

func SubmissionSourceSizeBytesGT

func SubmissionSourceSizeBytesGT(v int) predicate.Submission

SubmissionSourceSizeBytesGT applies the GT predicate on the "submission_source_size_bytes" field.

func SubmissionSourceSizeBytesGTE

func SubmissionSourceSizeBytesGTE(v int) predicate.Submission

SubmissionSourceSizeBytesGTE applies the GTE predicate on the "submission_source_size_bytes" field.

func SubmissionSourceSizeBytesIn

func SubmissionSourceSizeBytesIn(vs ...int) predicate.Submission

SubmissionSourceSizeBytesIn applies the In predicate on the "submission_source_size_bytes" field.

func SubmissionSourceSizeBytesLT

func SubmissionSourceSizeBytesLT(v int) predicate.Submission

SubmissionSourceSizeBytesLT applies the LT predicate on the "submission_source_size_bytes" field.

func SubmissionSourceSizeBytesLTE

func SubmissionSourceSizeBytesLTE(v int) predicate.Submission

SubmissionSourceSizeBytesLTE applies the LTE predicate on the "submission_source_size_bytes" field.

func SubmissionSourceSizeBytesNEQ

func SubmissionSourceSizeBytesNEQ(v int) predicate.Submission

SubmissionSourceSizeBytesNEQ applies the NEQ predicate on the "submission_source_size_bytes" field.

func SubmissionSourceSizeBytesNotIn

func SubmissionSourceSizeBytesNotIn(vs ...int) predicate.Submission

SubmissionSourceSizeBytesNotIn applies the NotIn predicate on the "submission_source_size_bytes" field.

func SubmissionTargetSizeBytes

func SubmissionTargetSizeBytes(v int) predicate.Submission

SubmissionTargetSizeBytes applies equality check predicate on the "submission_target_size_bytes" field. It's identical to SubmissionTargetSizeBytesEQ.

func SubmissionTargetSizeBytesEQ

func SubmissionTargetSizeBytesEQ(v int) predicate.Submission

SubmissionTargetSizeBytesEQ applies the EQ predicate on the "submission_target_size_bytes" field.

func SubmissionTargetSizeBytesGT

func SubmissionTargetSizeBytesGT(v int) predicate.Submission

SubmissionTargetSizeBytesGT applies the GT predicate on the "submission_target_size_bytes" field.

func SubmissionTargetSizeBytesGTE

func SubmissionTargetSizeBytesGTE(v int) predicate.Submission

SubmissionTargetSizeBytesGTE applies the GTE predicate on the "submission_target_size_bytes" field.

func SubmissionTargetSizeBytesIn

func SubmissionTargetSizeBytesIn(vs ...int) predicate.Submission

SubmissionTargetSizeBytesIn applies the In predicate on the "submission_target_size_bytes" field.

func SubmissionTargetSizeBytesLT

func SubmissionTargetSizeBytesLT(v int) predicate.Submission

SubmissionTargetSizeBytesLT applies the LT predicate on the "submission_target_size_bytes" field.

func SubmissionTargetSizeBytesLTE

func SubmissionTargetSizeBytesLTE(v int) predicate.Submission

SubmissionTargetSizeBytesLTE applies the LTE predicate on the "submission_target_size_bytes" field.

func SubmissionTargetSizeBytesNEQ

func SubmissionTargetSizeBytesNEQ(v int) predicate.Submission

SubmissionTargetSizeBytesNEQ applies the NEQ predicate on the "submission_target_size_bytes" field.

func SubmissionTargetSizeBytesNotIn

func SubmissionTargetSizeBytesNotIn(vs ...int) predicate.Submission

SubmissionTargetSizeBytesNotIn applies the NotIn predicate on the "submission_target_size_bytes" field.

func TargetLanguage

func TargetLanguage(v string) predicate.Submission

TargetLanguage applies equality check predicate on the "target_language" field. It's identical to TargetLanguageEQ.

func TargetLanguageContains

func TargetLanguageContains(v string) predicate.Submission

TargetLanguageContains applies the Contains predicate on the "target_language" field.

func TargetLanguageContainsFold

func TargetLanguageContainsFold(v string) predicate.Submission

TargetLanguageContainsFold applies the ContainsFold predicate on the "target_language" field.

func TargetLanguageEQ

func TargetLanguageEQ(v string) predicate.Submission

TargetLanguageEQ applies the EQ predicate on the "target_language" field.

func TargetLanguageEqualFold

func TargetLanguageEqualFold(v string) predicate.Submission

TargetLanguageEqualFold applies the EqualFold predicate on the "target_language" field.

func TargetLanguageGT

func TargetLanguageGT(v string) predicate.Submission

TargetLanguageGT applies the GT predicate on the "target_language" field.

func TargetLanguageGTE

func TargetLanguageGTE(v string) predicate.Submission

TargetLanguageGTE applies the GTE predicate on the "target_language" field.

func TargetLanguageHasPrefix

func TargetLanguageHasPrefix(v string) predicate.Submission

TargetLanguageHasPrefix applies the HasPrefix predicate on the "target_language" field.

func TargetLanguageHasSuffix

func TargetLanguageHasSuffix(v string) predicate.Submission

TargetLanguageHasSuffix applies the HasSuffix predicate on the "target_language" field.

func TargetLanguageIn

func TargetLanguageIn(vs ...string) predicate.Submission

TargetLanguageIn applies the In predicate on the "target_language" field.

func TargetLanguageLT

func TargetLanguageLT(v string) predicate.Submission

TargetLanguageLT applies the LT predicate on the "target_language" field.

func TargetLanguageLTE

func TargetLanguageLTE(v string) predicate.Submission

TargetLanguageLTE applies the LTE predicate on the "target_language" field.

func TargetLanguageNEQ

func TargetLanguageNEQ(v string) predicate.Submission

TargetLanguageNEQ applies the NEQ predicate on the "target_language" field.

func TargetLanguageNotIn

func TargetLanguageNotIn(vs ...string) predicate.Submission

TargetLanguageNotIn applies the NotIn predicate on the "target_language" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type Status

type Status string

Status defines the type for the "status" enum field.

const (
	StatusPending    Status = "pending"
	StatusProcessing Status = "processing"
	StatusDone       Status = "done"
	StatusFailed     Status = "failed"
	StatusCleaned    Status = "cleaned"
)

Status values.

func (Status) String

func (s Status) String() string

Jump to

Keyboard shortcuts

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