mediaformat

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the mediaformat type in the database.
	Label = "media_format"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreatedByID holds the string denoting the created_by_id field in the database.
	FieldCreatedByID = "created_by_id"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedByID holds the string denoting the updated_by_id field in the database.
	FieldUpdatedByID = "updated_by_id"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldDeletedByID holds the string denoting the deleted_by_id field in the database.
	FieldDeletedByID = "deleted_by_id"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_at"
	// FieldPublishedAt holds the string denoting the published_at field in the database.
	FieldPublishedAt = "published_at"
	// FieldArchivedAt holds the string denoting the archived_at field in the database.
	FieldArchivedAt = "archived_at"
	// FieldOwnerDomainID holds the string denoting the owner_domain_id field in the database.
	FieldOwnerDomainID = "owner_domain_id"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldExt holds the string denoting the ext field in the database.
	FieldExt = "ext"
	// FieldURL holds the string denoting the url field in the database.
	FieldURL = "url"
	// FieldHash holds the string denoting the hash field in the database.
	FieldHash = "hash"
	// FieldMime holds the string denoting the mime field in the database.
	FieldMime = "mime"
	// FieldSize holds the string denoting the size field in the database.
	FieldSize = "size"
	// FieldSizeInBytes holds the string denoting the size_in_bytes field in the database.
	FieldSizeInBytes = "size_in_bytes"
	// FieldWidth holds the string denoting the width field in the database.
	FieldWidth = "width"
	// FieldHeight holds the string denoting the height field in the database.
	FieldHeight = "height"
	// FieldProviderMetadata holds the string denoting the provider_metadata field in the database.
	FieldProviderMetadata = "provider_metadata"
	// FieldPath holds the string denoting the path field in the database.
	FieldPath = "path"
	// FieldIsURLSigned holds the string denoting the is_url_signed field in the database.
	FieldIsURLSigned = "is_url_signed"
	// FieldMediaID holds the string denoting the media_id field in the database.
	FieldMediaID = "media_id"
	// EdgeMedia holds the string denoting the media edge name in mutations.
	EdgeMedia = "media"
	// Table holds the table name of the mediaformat in the database.
	Table = "media_formats"
	// MediaTable is the table that holds the media relation/edge.
	MediaTable = "media_formats"
	// MediaInverseTable is the table name for the Media entity.
	// It exists in this package in order to avoid circular dependency with the "media" package.
	MediaInverseTable = "media"
	// MediaColumn is the table column denoting the media relation/edge.
	MediaColumn = "media_id"
)

Variables

View Source
var (
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
	// NameValidator is a validator for the "name" field. It is called by the builders before save.
	NameValidator func(string) error
	// URLValidator is a validator for the "url" field. It is called by the builders before save.
	URLValidator func(string) error
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for mediaformat fields.

Functions

func And

func And(predicates ...predicate.MediaFormat) predicate.MediaFormat

And groups predicates with the AND operator between them.

func ArchivedAt

func ArchivedAt(v time.Time) predicate.MediaFormat

ArchivedAt applies equality check predicate on the "archived_at" field. It's identical to ArchivedAtEQ.

func ArchivedAtEQ

func ArchivedAtEQ(v time.Time) predicate.MediaFormat

ArchivedAtEQ applies the EQ predicate on the "archived_at" field.

func ArchivedAtGT

func ArchivedAtGT(v time.Time) predicate.MediaFormat

ArchivedAtGT applies the GT predicate on the "archived_at" field.

func ArchivedAtGTE

func ArchivedAtGTE(v time.Time) predicate.MediaFormat

ArchivedAtGTE applies the GTE predicate on the "archived_at" field.

func ArchivedAtIn

func ArchivedAtIn(vs ...time.Time) predicate.MediaFormat

ArchivedAtIn applies the In predicate on the "archived_at" field.

func ArchivedAtIsNil

func ArchivedAtIsNil() predicate.MediaFormat

ArchivedAtIsNil applies the IsNil predicate on the "archived_at" field.

func ArchivedAtLT

func ArchivedAtLT(v time.Time) predicate.MediaFormat

ArchivedAtLT applies the LT predicate on the "archived_at" field.

func ArchivedAtLTE

func ArchivedAtLTE(v time.Time) predicate.MediaFormat

ArchivedAtLTE applies the LTE predicate on the "archived_at" field.

func ArchivedAtNEQ

func ArchivedAtNEQ(v time.Time) predicate.MediaFormat

ArchivedAtNEQ applies the NEQ predicate on the "archived_at" field.

func ArchivedAtNotIn

func ArchivedAtNotIn(vs ...time.Time) predicate.MediaFormat

ArchivedAtNotIn applies the NotIn predicate on the "archived_at" field.

func ArchivedAtNotNil

func ArchivedAtNotNil() predicate.MediaFormat

ArchivedAtNotNil applies the NotNil predicate on the "archived_at" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.MediaFormat

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.MediaFormat

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.MediaFormat

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.MediaFormat

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

func CreatedAtIn

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

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

func CreatedAtIsNil

func CreatedAtIsNil() predicate.MediaFormat

CreatedAtIsNil applies the IsNil predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.MediaFormat

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.MediaFormat

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.MediaFormat

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

func CreatedAtNotIn

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

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

func CreatedAtNotNil

func CreatedAtNotNil() predicate.MediaFormat

CreatedAtNotNil applies the NotNil predicate on the "created_at" field.

func CreatedByID

func CreatedByID(v uuid.UUID) predicate.MediaFormat

CreatedByID applies equality check predicate on the "created_by_id" field. It's identical to CreatedByIDEQ.

func CreatedByIDEQ

func CreatedByIDEQ(v uuid.UUID) predicate.MediaFormat

CreatedByIDEQ applies the EQ predicate on the "created_by_id" field.

func CreatedByIDGT

func CreatedByIDGT(v uuid.UUID) predicate.MediaFormat

CreatedByIDGT applies the GT predicate on the "created_by_id" field.

func CreatedByIDGTE

func CreatedByIDGTE(v uuid.UUID) predicate.MediaFormat

CreatedByIDGTE applies the GTE predicate on the "created_by_id" field.

func CreatedByIDIn

func CreatedByIDIn(vs ...uuid.UUID) predicate.MediaFormat

CreatedByIDIn applies the In predicate on the "created_by_id" field.

func CreatedByIDIsNil

func CreatedByIDIsNil() predicate.MediaFormat

CreatedByIDIsNil applies the IsNil predicate on the "created_by_id" field.

func CreatedByIDLT

func CreatedByIDLT(v uuid.UUID) predicate.MediaFormat

CreatedByIDLT applies the LT predicate on the "created_by_id" field.

func CreatedByIDLTE

func CreatedByIDLTE(v uuid.UUID) predicate.MediaFormat

CreatedByIDLTE applies the LTE predicate on the "created_by_id" field.

func CreatedByIDNEQ

func CreatedByIDNEQ(v uuid.UUID) predicate.MediaFormat

CreatedByIDNEQ applies the NEQ predicate on the "created_by_id" field.

func CreatedByIDNotIn

func CreatedByIDNotIn(vs ...uuid.UUID) predicate.MediaFormat

CreatedByIDNotIn applies the NotIn predicate on the "created_by_id" field.

func CreatedByIDNotNil

func CreatedByIDNotNil() predicate.MediaFormat

CreatedByIDNotNil applies the NotNil predicate on the "created_by_id" field.

func DeletedAt

func DeletedAt(v time.Time) predicate.MediaFormat

DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.MediaFormat

DeletedAtEQ applies the EQ predicate on the "deleted_at" field.

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.MediaFormat

DeletedAtGT applies the GT predicate on the "deleted_at" field.

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.MediaFormat

DeletedAtGTE applies the GTE predicate on the "deleted_at" field.

func DeletedAtIn

func DeletedAtIn(vs ...time.Time) predicate.MediaFormat

DeletedAtIn applies the In predicate on the "deleted_at" field.

func DeletedAtIsNil

func DeletedAtIsNil() predicate.MediaFormat

DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.MediaFormat

DeletedAtLT applies the LT predicate on the "deleted_at" field.

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.MediaFormat

DeletedAtLTE applies the LTE predicate on the "deleted_at" field.

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.MediaFormat

DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.

func DeletedAtNotIn

func DeletedAtNotIn(vs ...time.Time) predicate.MediaFormat

DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.

func DeletedAtNotNil

func DeletedAtNotNil() predicate.MediaFormat

DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.

func DeletedByID

func DeletedByID(v uuid.UUID) predicate.MediaFormat

DeletedByID applies equality check predicate on the "deleted_by_id" field. It's identical to DeletedByIDEQ.

func DeletedByIDEQ

func DeletedByIDEQ(v uuid.UUID) predicate.MediaFormat

DeletedByIDEQ applies the EQ predicate on the "deleted_by_id" field.

func DeletedByIDGT

func DeletedByIDGT(v uuid.UUID) predicate.MediaFormat

DeletedByIDGT applies the GT predicate on the "deleted_by_id" field.

func DeletedByIDGTE

func DeletedByIDGTE(v uuid.UUID) predicate.MediaFormat

DeletedByIDGTE applies the GTE predicate on the "deleted_by_id" field.

func DeletedByIDIn

func DeletedByIDIn(vs ...uuid.UUID) predicate.MediaFormat

DeletedByIDIn applies the In predicate on the "deleted_by_id" field.

func DeletedByIDIsNil

func DeletedByIDIsNil() predicate.MediaFormat

DeletedByIDIsNil applies the IsNil predicate on the "deleted_by_id" field.

func DeletedByIDLT

func DeletedByIDLT(v uuid.UUID) predicate.MediaFormat

DeletedByIDLT applies the LT predicate on the "deleted_by_id" field.

func DeletedByIDLTE

func DeletedByIDLTE(v uuid.UUID) predicate.MediaFormat

DeletedByIDLTE applies the LTE predicate on the "deleted_by_id" field.

func DeletedByIDNEQ

func DeletedByIDNEQ(v uuid.UUID) predicate.MediaFormat

DeletedByIDNEQ applies the NEQ predicate on the "deleted_by_id" field.

func DeletedByIDNotIn

func DeletedByIDNotIn(vs ...uuid.UUID) predicate.MediaFormat

DeletedByIDNotIn applies the NotIn predicate on the "deleted_by_id" field.

func DeletedByIDNotNil

func DeletedByIDNotNil() predicate.MediaFormat

DeletedByIDNotNil applies the NotNil predicate on the "deleted_by_id" field.

func Ext

Ext applies equality check predicate on the "ext" field. It's identical to ExtEQ.

func ExtContains

func ExtContains(v string) predicate.MediaFormat

ExtContains applies the Contains predicate on the "ext" field.

func ExtContainsFold

func ExtContainsFold(v string) predicate.MediaFormat

ExtContainsFold applies the ContainsFold predicate on the "ext" field.

func ExtEQ

func ExtEQ(v string) predicate.MediaFormat

ExtEQ applies the EQ predicate on the "ext" field.

func ExtEqualFold

func ExtEqualFold(v string) predicate.MediaFormat

ExtEqualFold applies the EqualFold predicate on the "ext" field.

func ExtGT

func ExtGT(v string) predicate.MediaFormat

ExtGT applies the GT predicate on the "ext" field.

func ExtGTE

func ExtGTE(v string) predicate.MediaFormat

ExtGTE applies the GTE predicate on the "ext" field.

func ExtHasPrefix

func ExtHasPrefix(v string) predicate.MediaFormat

ExtHasPrefix applies the HasPrefix predicate on the "ext" field.

func ExtHasSuffix

func ExtHasSuffix(v string) predicate.MediaFormat

ExtHasSuffix applies the HasSuffix predicate on the "ext" field.

func ExtIn

func ExtIn(vs ...string) predicate.MediaFormat

ExtIn applies the In predicate on the "ext" field.

func ExtIsNil

func ExtIsNil() predicate.MediaFormat

ExtIsNil applies the IsNil predicate on the "ext" field.

func ExtLT

func ExtLT(v string) predicate.MediaFormat

ExtLT applies the LT predicate on the "ext" field.

func ExtLTE

func ExtLTE(v string) predicate.MediaFormat

ExtLTE applies the LTE predicate on the "ext" field.

func ExtNEQ

func ExtNEQ(v string) predicate.MediaFormat

ExtNEQ applies the NEQ predicate on the "ext" field.

func ExtNotIn

func ExtNotIn(vs ...string) predicate.MediaFormat

ExtNotIn applies the NotIn predicate on the "ext" field.

func ExtNotNil

func ExtNotNil() predicate.MediaFormat

ExtNotNil applies the NotNil predicate on the "ext" field.

func HasMedia

func HasMedia() predicate.MediaFormat

HasMedia applies the HasEdge predicate on the "media" edge.

func HasMediaWith

func HasMediaWith(preds ...predicate.Media) predicate.MediaFormat

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

func Hash

Hash applies equality check predicate on the "hash" field. It's identical to HashEQ.

func HashContains

func HashContains(v string) predicate.MediaFormat

HashContains applies the Contains predicate on the "hash" field.

func HashContainsFold

func HashContainsFold(v string) predicate.MediaFormat

HashContainsFold applies the ContainsFold predicate on the "hash" field.

func HashEQ

func HashEQ(v string) predicate.MediaFormat

HashEQ applies the EQ predicate on the "hash" field.

func HashEqualFold

func HashEqualFold(v string) predicate.MediaFormat

HashEqualFold applies the EqualFold predicate on the "hash" field.

func HashGT

func HashGT(v string) predicate.MediaFormat

HashGT applies the GT predicate on the "hash" field.

func HashGTE

func HashGTE(v string) predicate.MediaFormat

HashGTE applies the GTE predicate on the "hash" field.

func HashHasPrefix

func HashHasPrefix(v string) predicate.MediaFormat

HashHasPrefix applies the HasPrefix predicate on the "hash" field.

func HashHasSuffix

func HashHasSuffix(v string) predicate.MediaFormat

HashHasSuffix applies the HasSuffix predicate on the "hash" field.

func HashIn

func HashIn(vs ...string) predicate.MediaFormat

HashIn applies the In predicate on the "hash" field.

func HashIsNil

func HashIsNil() predicate.MediaFormat

HashIsNil applies the IsNil predicate on the "hash" field.

func HashLT

func HashLT(v string) predicate.MediaFormat

HashLT applies the LT predicate on the "hash" field.

func HashLTE

func HashLTE(v string) predicate.MediaFormat

HashLTE applies the LTE predicate on the "hash" field.

func HashNEQ

func HashNEQ(v string) predicate.MediaFormat

HashNEQ applies the NEQ predicate on the "hash" field.

func HashNotIn

func HashNotIn(vs ...string) predicate.MediaFormat

HashNotIn applies the NotIn predicate on the "hash" field.

func HashNotNil

func HashNotNil() predicate.MediaFormat

HashNotNil applies the NotNil predicate on the "hash" field.

func Height

func Height(v int) predicate.MediaFormat

Height applies equality check predicate on the "height" field. It's identical to HeightEQ.

func HeightEQ

func HeightEQ(v int) predicate.MediaFormat

HeightEQ applies the EQ predicate on the "height" field.

func HeightGT

func HeightGT(v int) predicate.MediaFormat

HeightGT applies the GT predicate on the "height" field.

func HeightGTE

func HeightGTE(v int) predicate.MediaFormat

HeightGTE applies the GTE predicate on the "height" field.

func HeightIn

func HeightIn(vs ...int) predicate.MediaFormat

HeightIn applies the In predicate on the "height" field.

func HeightIsNil

func HeightIsNil() predicate.MediaFormat

HeightIsNil applies the IsNil predicate on the "height" field.

func HeightLT

func HeightLT(v int) predicate.MediaFormat

HeightLT applies the LT predicate on the "height" field.

func HeightLTE

func HeightLTE(v int) predicate.MediaFormat

HeightLTE applies the LTE predicate on the "height" field.

func HeightNEQ

func HeightNEQ(v int) predicate.MediaFormat

HeightNEQ applies the NEQ predicate on the "height" field.

func HeightNotIn

func HeightNotIn(vs ...int) predicate.MediaFormat

HeightNotIn applies the NotIn predicate on the "height" field.

func HeightNotNil

func HeightNotNil() predicate.MediaFormat

HeightNotNil applies the NotNil predicate on the "height" field.

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.MediaFormat

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.MediaFormat

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.MediaFormat

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.MediaFormat

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.MediaFormat

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.MediaFormat

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func IsURLSigned

func IsURLSigned(v bool) predicate.MediaFormat

IsURLSigned applies equality check predicate on the "is_url_signed" field. It's identical to IsURLSignedEQ.

func IsURLSignedEQ

func IsURLSignedEQ(v bool) predicate.MediaFormat

IsURLSignedEQ applies the EQ predicate on the "is_url_signed" field.

func IsURLSignedIsNil

func IsURLSignedIsNil() predicate.MediaFormat

IsURLSignedIsNil applies the IsNil predicate on the "is_url_signed" field.

func IsURLSignedNEQ

func IsURLSignedNEQ(v bool) predicate.MediaFormat

IsURLSignedNEQ applies the NEQ predicate on the "is_url_signed" field.

func IsURLSignedNotNil

func IsURLSignedNotNil() predicate.MediaFormat

IsURLSignedNotNil applies the NotNil predicate on the "is_url_signed" field.

func MediaID

func MediaID(v uuid.UUID) predicate.MediaFormat

MediaID applies equality check predicate on the "media_id" field. It's identical to MediaIDEQ.

func MediaIDEQ

func MediaIDEQ(v uuid.UUID) predicate.MediaFormat

MediaIDEQ applies the EQ predicate on the "media_id" field.

func MediaIDIn

func MediaIDIn(vs ...uuid.UUID) predicate.MediaFormat

MediaIDIn applies the In predicate on the "media_id" field.

func MediaIDNEQ

func MediaIDNEQ(v uuid.UUID) predicate.MediaFormat

MediaIDNEQ applies the NEQ predicate on the "media_id" field.

func MediaIDNotIn

func MediaIDNotIn(vs ...uuid.UUID) predicate.MediaFormat

MediaIDNotIn applies the NotIn predicate on the "media_id" field.

func Mime

Mime applies equality check predicate on the "mime" field. It's identical to MimeEQ.

func MimeContains

func MimeContains(v string) predicate.MediaFormat

MimeContains applies the Contains predicate on the "mime" field.

func MimeContainsFold

func MimeContainsFold(v string) predicate.MediaFormat

MimeContainsFold applies the ContainsFold predicate on the "mime" field.

func MimeEQ

func MimeEQ(v string) predicate.MediaFormat

MimeEQ applies the EQ predicate on the "mime" field.

func MimeEqualFold

func MimeEqualFold(v string) predicate.MediaFormat

MimeEqualFold applies the EqualFold predicate on the "mime" field.

func MimeGT

func MimeGT(v string) predicate.MediaFormat

MimeGT applies the GT predicate on the "mime" field.

func MimeGTE

func MimeGTE(v string) predicate.MediaFormat

MimeGTE applies the GTE predicate on the "mime" field.

func MimeHasPrefix

func MimeHasPrefix(v string) predicate.MediaFormat

MimeHasPrefix applies the HasPrefix predicate on the "mime" field.

func MimeHasSuffix

func MimeHasSuffix(v string) predicate.MediaFormat

MimeHasSuffix applies the HasSuffix predicate on the "mime" field.

func MimeIn

func MimeIn(vs ...string) predicate.MediaFormat

MimeIn applies the In predicate on the "mime" field.

func MimeIsNil

func MimeIsNil() predicate.MediaFormat

MimeIsNil applies the IsNil predicate on the "mime" field.

func MimeLT

func MimeLT(v string) predicate.MediaFormat

MimeLT applies the LT predicate on the "mime" field.

func MimeLTE

func MimeLTE(v string) predicate.MediaFormat

MimeLTE applies the LTE predicate on the "mime" field.

func MimeNEQ

func MimeNEQ(v string) predicate.MediaFormat

MimeNEQ applies the NEQ predicate on the "mime" field.

func MimeNotIn

func MimeNotIn(vs ...string) predicate.MediaFormat

MimeNotIn applies the NotIn predicate on the "mime" field.

func MimeNotNil

func MimeNotNil() predicate.MediaFormat

MimeNotNil applies the NotNil predicate on the "mime" field.

func Name

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.MediaFormat

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.MediaFormat

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.MediaFormat

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.MediaFormat

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.MediaFormat

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.MediaFormat

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.MediaFormat

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.MediaFormat

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.MediaFormat

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.MediaFormat

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.MediaFormat

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.MediaFormat

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.MediaFormat

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.MediaFormat) predicate.MediaFormat

Or groups predicates with the OR operator between them.

func OwnerDomainID

func OwnerDomainID(v uuid.UUID) predicate.MediaFormat

OwnerDomainID applies equality check predicate on the "owner_domain_id" field. It's identical to OwnerDomainIDEQ.

func OwnerDomainIDEQ

func OwnerDomainIDEQ(v uuid.UUID) predicate.MediaFormat

OwnerDomainIDEQ applies the EQ predicate on the "owner_domain_id" field.

func OwnerDomainIDGT

func OwnerDomainIDGT(v uuid.UUID) predicate.MediaFormat

OwnerDomainIDGT applies the GT predicate on the "owner_domain_id" field.

func OwnerDomainIDGTE

func OwnerDomainIDGTE(v uuid.UUID) predicate.MediaFormat

OwnerDomainIDGTE applies the GTE predicate on the "owner_domain_id" field.

func OwnerDomainIDIn

func OwnerDomainIDIn(vs ...uuid.UUID) predicate.MediaFormat

OwnerDomainIDIn applies the In predicate on the "owner_domain_id" field.

func OwnerDomainIDIsNil

func OwnerDomainIDIsNil() predicate.MediaFormat

OwnerDomainIDIsNil applies the IsNil predicate on the "owner_domain_id" field.

func OwnerDomainIDLT

func OwnerDomainIDLT(v uuid.UUID) predicate.MediaFormat

OwnerDomainIDLT applies the LT predicate on the "owner_domain_id" field.

func OwnerDomainIDLTE

func OwnerDomainIDLTE(v uuid.UUID) predicate.MediaFormat

OwnerDomainIDLTE applies the LTE predicate on the "owner_domain_id" field.

func OwnerDomainIDNEQ

func OwnerDomainIDNEQ(v uuid.UUID) predicate.MediaFormat

OwnerDomainIDNEQ applies the NEQ predicate on the "owner_domain_id" field.

func OwnerDomainIDNotIn

func OwnerDomainIDNotIn(vs ...uuid.UUID) predicate.MediaFormat

OwnerDomainIDNotIn applies the NotIn predicate on the "owner_domain_id" field.

func OwnerDomainIDNotNil

func OwnerDomainIDNotNil() predicate.MediaFormat

OwnerDomainIDNotNil applies the NotNil predicate on the "owner_domain_id" field.

func Path

Path applies equality check predicate on the "path" field. It's identical to PathEQ.

func PathContains

func PathContains(v string) predicate.MediaFormat

PathContains applies the Contains predicate on the "path" field.

func PathContainsFold

func PathContainsFold(v string) predicate.MediaFormat

PathContainsFold applies the ContainsFold predicate on the "path" field.

func PathEQ

func PathEQ(v string) predicate.MediaFormat

PathEQ applies the EQ predicate on the "path" field.

func PathEqualFold

func PathEqualFold(v string) predicate.MediaFormat

PathEqualFold applies the EqualFold predicate on the "path" field.

func PathGT

func PathGT(v string) predicate.MediaFormat

PathGT applies the GT predicate on the "path" field.

func PathGTE

func PathGTE(v string) predicate.MediaFormat

PathGTE applies the GTE predicate on the "path" field.

func PathHasPrefix

func PathHasPrefix(v string) predicate.MediaFormat

PathHasPrefix applies the HasPrefix predicate on the "path" field.

func PathHasSuffix

func PathHasSuffix(v string) predicate.MediaFormat

PathHasSuffix applies the HasSuffix predicate on the "path" field.

func PathIn

func PathIn(vs ...string) predicate.MediaFormat

PathIn applies the In predicate on the "path" field.

func PathIsNil

func PathIsNil() predicate.MediaFormat

PathIsNil applies the IsNil predicate on the "path" field.

func PathLT

func PathLT(v string) predicate.MediaFormat

PathLT applies the LT predicate on the "path" field.

func PathLTE

func PathLTE(v string) predicate.MediaFormat

PathLTE applies the LTE predicate on the "path" field.

func PathNEQ

func PathNEQ(v string) predicate.MediaFormat

PathNEQ applies the NEQ predicate on the "path" field.

func PathNotIn

func PathNotIn(vs ...string) predicate.MediaFormat

PathNotIn applies the NotIn predicate on the "path" field.

func PathNotNil

func PathNotNil() predicate.MediaFormat

PathNotNil applies the NotNil predicate on the "path" field.

func ProviderMetadataIsNil

func ProviderMetadataIsNil() predicate.MediaFormat

ProviderMetadataIsNil applies the IsNil predicate on the "provider_metadata" field.

func ProviderMetadataNotNil

func ProviderMetadataNotNil() predicate.MediaFormat

ProviderMetadataNotNil applies the NotNil predicate on the "provider_metadata" field.

func PublishedAt

func PublishedAt(v time.Time) predicate.MediaFormat

PublishedAt applies equality check predicate on the "published_at" field. It's identical to PublishedAtEQ.

func PublishedAtEQ

func PublishedAtEQ(v time.Time) predicate.MediaFormat

PublishedAtEQ applies the EQ predicate on the "published_at" field.

func PublishedAtGT

func PublishedAtGT(v time.Time) predicate.MediaFormat

PublishedAtGT applies the GT predicate on the "published_at" field.

func PublishedAtGTE

func PublishedAtGTE(v time.Time) predicate.MediaFormat

PublishedAtGTE applies the GTE predicate on the "published_at" field.

func PublishedAtIn

func PublishedAtIn(vs ...time.Time) predicate.MediaFormat

PublishedAtIn applies the In predicate on the "published_at" field.

func PublishedAtIsNil

func PublishedAtIsNil() predicate.MediaFormat

PublishedAtIsNil applies the IsNil predicate on the "published_at" field.

func PublishedAtLT

func PublishedAtLT(v time.Time) predicate.MediaFormat

PublishedAtLT applies the LT predicate on the "published_at" field.

func PublishedAtLTE

func PublishedAtLTE(v time.Time) predicate.MediaFormat

PublishedAtLTE applies the LTE predicate on the "published_at" field.

func PublishedAtNEQ

func PublishedAtNEQ(v time.Time) predicate.MediaFormat

PublishedAtNEQ applies the NEQ predicate on the "published_at" field.

func PublishedAtNotIn

func PublishedAtNotIn(vs ...time.Time) predicate.MediaFormat

PublishedAtNotIn applies the NotIn predicate on the "published_at" field.

func PublishedAtNotNil

func PublishedAtNotNil() predicate.MediaFormat

PublishedAtNotNil applies the NotNil predicate on the "published_at" field.

func Size

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

func SizeEQ

func SizeEQ(v float64) predicate.MediaFormat

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

func SizeGT

func SizeGT(v float64) predicate.MediaFormat

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

func SizeGTE

func SizeGTE(v float64) predicate.MediaFormat

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

func SizeIn

func SizeIn(vs ...float64) predicate.MediaFormat

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

func SizeInBytes

func SizeInBytes(v int64) predicate.MediaFormat

SizeInBytes applies equality check predicate on the "size_in_bytes" field. It's identical to SizeInBytesEQ.

func SizeInBytesEQ

func SizeInBytesEQ(v int64) predicate.MediaFormat

SizeInBytesEQ applies the EQ predicate on the "size_in_bytes" field.

func SizeInBytesGT

func SizeInBytesGT(v int64) predicate.MediaFormat

SizeInBytesGT applies the GT predicate on the "size_in_bytes" field.

func SizeInBytesGTE

func SizeInBytesGTE(v int64) predicate.MediaFormat

SizeInBytesGTE applies the GTE predicate on the "size_in_bytes" field.

func SizeInBytesIn

func SizeInBytesIn(vs ...int64) predicate.MediaFormat

SizeInBytesIn applies the In predicate on the "size_in_bytes" field.

func SizeInBytesIsNil

func SizeInBytesIsNil() predicate.MediaFormat

SizeInBytesIsNil applies the IsNil predicate on the "size_in_bytes" field.

func SizeInBytesLT

func SizeInBytesLT(v int64) predicate.MediaFormat

SizeInBytesLT applies the LT predicate on the "size_in_bytes" field.

func SizeInBytesLTE

func SizeInBytesLTE(v int64) predicate.MediaFormat

SizeInBytesLTE applies the LTE predicate on the "size_in_bytes" field.

func SizeInBytesNEQ

func SizeInBytesNEQ(v int64) predicate.MediaFormat

SizeInBytesNEQ applies the NEQ predicate on the "size_in_bytes" field.

func SizeInBytesNotIn

func SizeInBytesNotIn(vs ...int64) predicate.MediaFormat

SizeInBytesNotIn applies the NotIn predicate on the "size_in_bytes" field.

func SizeInBytesNotNil

func SizeInBytesNotNil() predicate.MediaFormat

SizeInBytesNotNil applies the NotNil predicate on the "size_in_bytes" field.

func SizeIsNil

func SizeIsNil() predicate.MediaFormat

SizeIsNil applies the IsNil predicate on the "size" field.

func SizeLT

func SizeLT(v float64) predicate.MediaFormat

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

func SizeLTE

func SizeLTE(v float64) predicate.MediaFormat

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

func SizeNEQ

func SizeNEQ(v float64) predicate.MediaFormat

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

func SizeNotIn

func SizeNotIn(vs ...float64) predicate.MediaFormat

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

func SizeNotNil

func SizeNotNil() predicate.MediaFormat

SizeNotNil applies the NotNil predicate on the "size" field.

func URL

URL applies equality check predicate on the "url" field. It's identical to URLEQ.

func URLContains

func URLContains(v string) predicate.MediaFormat

URLContains applies the Contains predicate on the "url" field.

func URLContainsFold

func URLContainsFold(v string) predicate.MediaFormat

URLContainsFold applies the ContainsFold predicate on the "url" field.

func URLEQ

func URLEQ(v string) predicate.MediaFormat

URLEQ applies the EQ predicate on the "url" field.

func URLEqualFold

func URLEqualFold(v string) predicate.MediaFormat

URLEqualFold applies the EqualFold predicate on the "url" field.

func URLGT

func URLGT(v string) predicate.MediaFormat

URLGT applies the GT predicate on the "url" field.

func URLGTE

func URLGTE(v string) predicate.MediaFormat

URLGTE applies the GTE predicate on the "url" field.

func URLHasPrefix

func URLHasPrefix(v string) predicate.MediaFormat

URLHasPrefix applies the HasPrefix predicate on the "url" field.

func URLHasSuffix

func URLHasSuffix(v string) predicate.MediaFormat

URLHasSuffix applies the HasSuffix predicate on the "url" field.

func URLIn

func URLIn(vs ...string) predicate.MediaFormat

URLIn applies the In predicate on the "url" field.

func URLLT

func URLLT(v string) predicate.MediaFormat

URLLT applies the LT predicate on the "url" field.

func URLLTE

func URLLTE(v string) predicate.MediaFormat

URLLTE applies the LTE predicate on the "url" field.

func URLNEQ

func URLNEQ(v string) predicate.MediaFormat

URLNEQ applies the NEQ predicate on the "url" field.

func URLNotIn

func URLNotIn(vs ...string) predicate.MediaFormat

URLNotIn applies the NotIn predicate on the "url" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.MediaFormat

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.MediaFormat

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.MediaFormat

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.MediaFormat

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.MediaFormat

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.MediaFormat

UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.MediaFormat

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.MediaFormat

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.MediaFormat

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.MediaFormat

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.MediaFormat

UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.

func UpdatedByID

func UpdatedByID(v uuid.UUID) predicate.MediaFormat

UpdatedByID applies equality check predicate on the "updated_by_id" field. It's identical to UpdatedByIDEQ.

func UpdatedByIDEQ

func UpdatedByIDEQ(v uuid.UUID) predicate.MediaFormat

UpdatedByIDEQ applies the EQ predicate on the "updated_by_id" field.

func UpdatedByIDGT

func UpdatedByIDGT(v uuid.UUID) predicate.MediaFormat

UpdatedByIDGT applies the GT predicate on the "updated_by_id" field.

func UpdatedByIDGTE

func UpdatedByIDGTE(v uuid.UUID) predicate.MediaFormat

UpdatedByIDGTE applies the GTE predicate on the "updated_by_id" field.

func UpdatedByIDIn

func UpdatedByIDIn(vs ...uuid.UUID) predicate.MediaFormat

UpdatedByIDIn applies the In predicate on the "updated_by_id" field.

func UpdatedByIDIsNil

func UpdatedByIDIsNil() predicate.MediaFormat

UpdatedByIDIsNil applies the IsNil predicate on the "updated_by_id" field.

func UpdatedByIDLT

func UpdatedByIDLT(v uuid.UUID) predicate.MediaFormat

UpdatedByIDLT applies the LT predicate on the "updated_by_id" field.

func UpdatedByIDLTE

func UpdatedByIDLTE(v uuid.UUID) predicate.MediaFormat

UpdatedByIDLTE applies the LTE predicate on the "updated_by_id" field.

func UpdatedByIDNEQ

func UpdatedByIDNEQ(v uuid.UUID) predicate.MediaFormat

UpdatedByIDNEQ applies the NEQ predicate on the "updated_by_id" field.

func UpdatedByIDNotIn

func UpdatedByIDNotIn(vs ...uuid.UUID) predicate.MediaFormat

UpdatedByIDNotIn applies the NotIn predicate on the "updated_by_id" field.

func UpdatedByIDNotNil

func UpdatedByIDNotNil() predicate.MediaFormat

UpdatedByIDNotNil applies the NotNil predicate on the "updated_by_id" field.

func ValidColumn

func ValidColumn(column string) bool

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

func Width

func Width(v int) predicate.MediaFormat

Width applies equality check predicate on the "width" field. It's identical to WidthEQ.

func WidthEQ

func WidthEQ(v int) predicate.MediaFormat

WidthEQ applies the EQ predicate on the "width" field.

func WidthGT

func WidthGT(v int) predicate.MediaFormat

WidthGT applies the GT predicate on the "width" field.

func WidthGTE

func WidthGTE(v int) predicate.MediaFormat

WidthGTE applies the GTE predicate on the "width" field.

func WidthIn

func WidthIn(vs ...int) predicate.MediaFormat

WidthIn applies the In predicate on the "width" field.

func WidthIsNil

func WidthIsNil() predicate.MediaFormat

WidthIsNil applies the IsNil predicate on the "width" field.

func WidthLT

func WidthLT(v int) predicate.MediaFormat

WidthLT applies the LT predicate on the "width" field.

func WidthLTE

func WidthLTE(v int) predicate.MediaFormat

WidthLTE applies the LTE predicate on the "width" field.

func WidthNEQ

func WidthNEQ(v int) predicate.MediaFormat

WidthNEQ applies the NEQ predicate on the "width" field.

func WidthNotIn

func WidthNotIn(vs ...int) predicate.MediaFormat

WidthNotIn applies the NotIn predicate on the "width" field.

func WidthNotNil

func WidthNotNil() predicate.MediaFormat

WidthNotNil applies the NotNil predicate on the "width" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the MediaFormat queries.

func ByArchivedAt

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

ByArchivedAt orders the results by the archived_at field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByCreatedByID

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

ByCreatedByID orders the results by the created_by_id field.

func ByDeletedAt

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

ByDeletedAt orders the results by the deleted_at field.

func ByDeletedByID

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

ByDeletedByID orders the results by the deleted_by_id field.

func ByExt

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

ByExt orders the results by the ext field.

func ByHash

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

ByHash orders the results by the hash field.

func ByHeight

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

ByHeight orders the results by the height field.

func ByID

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

ByID orders the results by the id field.

func ByIsURLSigned

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

ByIsURLSigned orders the results by the is_url_signed field.

func ByMediaField

func ByMediaField(field string, opts ...sql.OrderTermOption) OrderOption

ByMediaField orders the results by media field.

func ByMediaID

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

ByMediaID orders the results by the media_id field.

func ByMime

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

ByMime orders the results by the mime field.

func ByName

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

ByName orders the results by the name field.

func ByOwnerDomainID

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

ByOwnerDomainID orders the results by the owner_domain_id field.

func ByPath

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

ByPath orders the results by the path field.

func ByPublishedAt

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

ByPublishedAt orders the results by the published_at field.

func BySize

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

BySize orders the results by the size field.

func BySizeInBytes

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

BySizeInBytes orders the results by the size_in_bytes field.

func ByURL

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

ByURL orders the results by the url field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByUpdatedByID

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

ByUpdatedByID orders the results by the updated_by_id field.

func ByWidth

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

ByWidth orders the results by the width field.

Jump to

Keyboard shortcuts

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