media

package
v0.0.0-...-f17293a Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the media type in the database.
	Label = "media"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldDeleteAt holds the string denoting the delete_at field in the database.
	FieldDeleteAt = "delete_at"
	// FieldHash holds the string denoting the hash field in the database.
	FieldHash = "hash"
	// FieldUserID holds the string denoting the user_id field in the database.
	FieldUserID = "user_id"
	// FieldAppID holds the string denoting the app_id field in the database.
	FieldAppID = "app_id"
	// FieldSn holds the string denoting the sn field in the database.
	FieldSn = "sn"
	// FieldOrgFileName holds the string denoting the org_file_name field in the database.
	FieldOrgFileName = "org_file_name"
	// FieldFileName holds the string denoting the file_name field in the database.
	FieldFileName = "file_name"
	// FieldSize holds the string denoting the size field in the database.
	FieldSize = "size"
	// FieldMime holds the string denoting the mime field in the database.
	FieldMime = "mime"
	// FieldExt holds the string denoting the ext field in the database.
	FieldExt = "ext"
	// FieldRefCount holds the string denoting the ref_count field in the database.
	FieldRefCount = "ref_count"
	// FieldLevel holds the string denoting the level field in the database.
	FieldLevel = "level"
	// FieldType holds the string denoting the type field in the database.
	FieldType = "type"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldReasonType holds the string denoting the reason_type field in the database.
	FieldReasonType = "reason_type"
	// FieldSavePath holds the string denoting the save_path field in the database.
	FieldSavePath = "save_path"
	// FieldFullPath holds the string denoting the full_path field in the database.
	FieldFullPath = "full_path"
	// FieldIsEncrypted holds the string denoting the is_encrypted field in the database.
	FieldIsEncrypted = "is_encrypted"
	// FieldReason holds the string denoting the reason field in the database.
	FieldReason = "reason"
	// FieldOutUserID holds the string denoting the out_user_id field in the database.
	FieldOutUserID = "out_user_id"
	// FieldCompanyID holds the string denoting the company_id field in the database.
	FieldCompanyID = "company_id"
	// Table holds the table name of the media in the database.
	Table = "medias"
)

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
	// DefaultRefCount holds the default value on creation for the "ref_count" field.
	DefaultRefCount int
	// DefaultLevel holds the default value on creation for the "level" field.
	DefaultLevel int
	// DefaultType holds the default value on creation for the "type" field.
	DefaultType int
	// DefaultStatus holds the default value on creation for the "status" field.
	DefaultStatus int
	// DefaultReasonType holds the default value on creation for the "reason_type" field.
	DefaultReasonType int
	// DefaultIsEncrypted holds the default value on creation for the "is_encrypted" field.
	DefaultIsEncrypted bool
	// DefaultReason holds the default value on creation for the "reason" field.
	DefaultReason string
)

Columns holds all SQL columns for media fields.

Functions

func And

func And(predicates ...predicate.Media) predicate.Media

And groups predicates with the AND operator between them.

func AppID

func AppID(v int) predicate.Media

AppID applies equality check predicate on the "app_id" field. It's identical to AppIDEQ.

func AppIDEQ

func AppIDEQ(v int) predicate.Media

AppIDEQ applies the EQ predicate on the "app_id" field.

func AppIDGT

func AppIDGT(v int) predicate.Media

AppIDGT applies the GT predicate on the "app_id" field.

func AppIDGTE

func AppIDGTE(v int) predicate.Media

AppIDGTE applies the GTE predicate on the "app_id" field.

func AppIDIn

func AppIDIn(vs ...int) predicate.Media

AppIDIn applies the In predicate on the "app_id" field.

func AppIDIsNil

func AppIDIsNil() predicate.Media

AppIDIsNil applies the IsNil predicate on the "app_id" field.

func AppIDLT

func AppIDLT(v int) predicate.Media

AppIDLT applies the LT predicate on the "app_id" field.

func AppIDLTE

func AppIDLTE(v int) predicate.Media

AppIDLTE applies the LTE predicate on the "app_id" field.

func AppIDNEQ

func AppIDNEQ(v int) predicate.Media

AppIDNEQ applies the NEQ predicate on the "app_id" field.

func AppIDNotIn

func AppIDNotIn(vs ...int) predicate.Media

AppIDNotIn applies the NotIn predicate on the "app_id" field.

func AppIDNotNil

func AppIDNotNil() predicate.Media

AppIDNotNil applies the NotNil predicate on the "app_id" field.

func CompanyID

func CompanyID(v int64) predicate.Media

CompanyID applies equality check predicate on the "company_id" field. It's identical to CompanyIDEQ.

func CompanyIDEQ

func CompanyIDEQ(v int64) predicate.Media

CompanyIDEQ applies the EQ predicate on the "company_id" field.

func CompanyIDGT

func CompanyIDGT(v int64) predicate.Media

CompanyIDGT applies the GT predicate on the "company_id" field.

func CompanyIDGTE

func CompanyIDGTE(v int64) predicate.Media

CompanyIDGTE applies the GTE predicate on the "company_id" field.

func CompanyIDIn

func CompanyIDIn(vs ...int64) predicate.Media

CompanyIDIn applies the In predicate on the "company_id" field.

func CompanyIDIsNil

func CompanyIDIsNil() predicate.Media

CompanyIDIsNil applies the IsNil predicate on the "company_id" field.

func CompanyIDLT

func CompanyIDLT(v int64) predicate.Media

CompanyIDLT applies the LT predicate on the "company_id" field.

func CompanyIDLTE

func CompanyIDLTE(v int64) predicate.Media

CompanyIDLTE applies the LTE predicate on the "company_id" field.

func CompanyIDNEQ

func CompanyIDNEQ(v int64) predicate.Media

CompanyIDNEQ applies the NEQ predicate on the "company_id" field.

func CompanyIDNotIn

func CompanyIDNotIn(vs ...int64) predicate.Media

CompanyIDNotIn applies the NotIn predicate on the "company_id" field.

func CompanyIDNotNil

func CompanyIDNotNil() predicate.Media

CompanyIDNotNil applies the NotNil predicate on the "company_id" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Media

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Media

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Media

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Media

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

func CreatedAtIn

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

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

func CreatedAtIsNil

func CreatedAtIsNil() predicate.Media

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Media

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Media

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Media

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

func CreatedAtNotIn

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

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

func CreatedAtNotNil

func CreatedAtNotNil() predicate.Media

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

func DeleteAt

func DeleteAt(v time.Time) predicate.Media

DeleteAt applies equality check predicate on the "delete_at" field. It's identical to DeleteAtEQ.

func DeleteAtEQ

func DeleteAtEQ(v time.Time) predicate.Media

DeleteAtEQ applies the EQ predicate on the "delete_at" field.

func DeleteAtGT

func DeleteAtGT(v time.Time) predicate.Media

DeleteAtGT applies the GT predicate on the "delete_at" field.

func DeleteAtGTE

func DeleteAtGTE(v time.Time) predicate.Media

DeleteAtGTE applies the GTE predicate on the "delete_at" field.

func DeleteAtIn

func DeleteAtIn(vs ...time.Time) predicate.Media

DeleteAtIn applies the In predicate on the "delete_at" field.

func DeleteAtIsNil

func DeleteAtIsNil() predicate.Media

DeleteAtIsNil applies the IsNil predicate on the "delete_at" field.

func DeleteAtLT

func DeleteAtLT(v time.Time) predicate.Media

DeleteAtLT applies the LT predicate on the "delete_at" field.

func DeleteAtLTE

func DeleteAtLTE(v time.Time) predicate.Media

DeleteAtLTE applies the LTE predicate on the "delete_at" field.

func DeleteAtNEQ

func DeleteAtNEQ(v time.Time) predicate.Media

DeleteAtNEQ applies the NEQ predicate on the "delete_at" field.

func DeleteAtNotIn

func DeleteAtNotIn(vs ...time.Time) predicate.Media

DeleteAtNotIn applies the NotIn predicate on the "delete_at" field.

func DeleteAtNotNil

func DeleteAtNotNil() predicate.Media

DeleteAtNotNil applies the NotNil predicate on the "delete_at" field.

func Ext

func Ext(v string) predicate.Media

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

func ExtContains

func ExtContains(v string) predicate.Media

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

func ExtContainsFold

func ExtContainsFold(v string) predicate.Media

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

func ExtEQ

func ExtEQ(v string) predicate.Media

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

func ExtEqualFold

func ExtEqualFold(v string) predicate.Media

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

func ExtGT

func ExtGT(v string) predicate.Media

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

func ExtGTE

func ExtGTE(v string) predicate.Media

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

func ExtHasPrefix

func ExtHasPrefix(v string) predicate.Media

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

func ExtHasSuffix

func ExtHasSuffix(v string) predicate.Media

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

func ExtIn

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

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

func ExtIsNil

func ExtIsNil() predicate.Media

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

func ExtLT

func ExtLT(v string) predicate.Media

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

func ExtLTE

func ExtLTE(v string) predicate.Media

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

func ExtNEQ

func ExtNEQ(v string) predicate.Media

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

func ExtNotIn

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

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

func ExtNotNil

func ExtNotNil() predicate.Media

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

func FileName

func FileName(v string) predicate.Media

FileName applies equality check predicate on the "file_name" field. It's identical to FileNameEQ.

func FileNameContains

func FileNameContains(v string) predicate.Media

FileNameContains applies the Contains predicate on the "file_name" field.

func FileNameContainsFold

func FileNameContainsFold(v string) predicate.Media

FileNameContainsFold applies the ContainsFold predicate on the "file_name" field.

func FileNameEQ

func FileNameEQ(v string) predicate.Media

FileNameEQ applies the EQ predicate on the "file_name" field.

func FileNameEqualFold

func FileNameEqualFold(v string) predicate.Media

FileNameEqualFold applies the EqualFold predicate on the "file_name" field.

func FileNameGT

func FileNameGT(v string) predicate.Media

FileNameGT applies the GT predicate on the "file_name" field.

func FileNameGTE

func FileNameGTE(v string) predicate.Media

FileNameGTE applies the GTE predicate on the "file_name" field.

func FileNameHasPrefix

func FileNameHasPrefix(v string) predicate.Media

FileNameHasPrefix applies the HasPrefix predicate on the "file_name" field.

func FileNameHasSuffix

func FileNameHasSuffix(v string) predicate.Media

FileNameHasSuffix applies the HasSuffix predicate on the "file_name" field.

func FileNameIn

func FileNameIn(vs ...string) predicate.Media

FileNameIn applies the In predicate on the "file_name" field.

func FileNameLT

func FileNameLT(v string) predicate.Media

FileNameLT applies the LT predicate on the "file_name" field.

func FileNameLTE

func FileNameLTE(v string) predicate.Media

FileNameLTE applies the LTE predicate on the "file_name" field.

func FileNameNEQ

func FileNameNEQ(v string) predicate.Media

FileNameNEQ applies the NEQ predicate on the "file_name" field.

func FileNameNotIn

func FileNameNotIn(vs ...string) predicate.Media

FileNameNotIn applies the NotIn predicate on the "file_name" field.

func FullPath

func FullPath(v string) predicate.Media

FullPath applies equality check predicate on the "full_path" field. It's identical to FullPathEQ.

func FullPathContains

func FullPathContains(v string) predicate.Media

FullPathContains applies the Contains predicate on the "full_path" field.

func FullPathContainsFold

func FullPathContainsFold(v string) predicate.Media

FullPathContainsFold applies the ContainsFold predicate on the "full_path" field.

func FullPathEQ

func FullPathEQ(v string) predicate.Media

FullPathEQ applies the EQ predicate on the "full_path" field.

func FullPathEqualFold

func FullPathEqualFold(v string) predicate.Media

FullPathEqualFold applies the EqualFold predicate on the "full_path" field.

func FullPathGT

func FullPathGT(v string) predicate.Media

FullPathGT applies the GT predicate on the "full_path" field.

func FullPathGTE

func FullPathGTE(v string) predicate.Media

FullPathGTE applies the GTE predicate on the "full_path" field.

func FullPathHasPrefix

func FullPathHasPrefix(v string) predicate.Media

FullPathHasPrefix applies the HasPrefix predicate on the "full_path" field.

func FullPathHasSuffix

func FullPathHasSuffix(v string) predicate.Media

FullPathHasSuffix applies the HasSuffix predicate on the "full_path" field.

func FullPathIn

func FullPathIn(vs ...string) predicate.Media

FullPathIn applies the In predicate on the "full_path" field.

func FullPathIsNil

func FullPathIsNil() predicate.Media

FullPathIsNil applies the IsNil predicate on the "full_path" field.

func FullPathLT

func FullPathLT(v string) predicate.Media

FullPathLT applies the LT predicate on the "full_path" field.

func FullPathLTE

func FullPathLTE(v string) predicate.Media

FullPathLTE applies the LTE predicate on the "full_path" field.

func FullPathNEQ

func FullPathNEQ(v string) predicate.Media

FullPathNEQ applies the NEQ predicate on the "full_path" field.

func FullPathNotIn

func FullPathNotIn(vs ...string) predicate.Media

FullPathNotIn applies the NotIn predicate on the "full_path" field.

func FullPathNotNil

func FullPathNotNil() predicate.Media

FullPathNotNil applies the NotNil predicate on the "full_path" field.

func Hash

func Hash(v string) predicate.Media

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

func HashContains

func HashContains(v string) predicate.Media

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

func HashContainsFold

func HashContainsFold(v string) predicate.Media

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

func HashEQ

func HashEQ(v string) predicate.Media

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

func HashEqualFold

func HashEqualFold(v string) predicate.Media

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

func HashGT

func HashGT(v string) predicate.Media

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

func HashGTE

func HashGTE(v string) predicate.Media

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

func HashHasPrefix

func HashHasPrefix(v string) predicate.Media

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

func HashHasSuffix

func HashHasSuffix(v string) predicate.Media

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

func HashIn

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

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

func HashIsNil

func HashIsNil() predicate.Media

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

func HashLT

func HashLT(v string) predicate.Media

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

func HashLTE

func HashLTE(v string) predicate.Media

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

func HashNEQ

func HashNEQ(v string) predicate.Media

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

func HashNotIn

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

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

func HashNotNil

func HashNotNil() predicate.Media

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

func ID

func ID(id int) predicate.Media

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Media

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Media

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Media

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.Media

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Media

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Media

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Media

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.Media

IDNotIn applies the NotIn predicate on the ID field.

func IsEncrypted

func IsEncrypted(v bool) predicate.Media

IsEncrypted applies equality check predicate on the "is_encrypted" field. It's identical to IsEncryptedEQ.

func IsEncryptedEQ

func IsEncryptedEQ(v bool) predicate.Media

IsEncryptedEQ applies the EQ predicate on the "is_encrypted" field.

func IsEncryptedIsNil

func IsEncryptedIsNil() predicate.Media

IsEncryptedIsNil applies the IsNil predicate on the "is_encrypted" field.

func IsEncryptedNEQ

func IsEncryptedNEQ(v bool) predicate.Media

IsEncryptedNEQ applies the NEQ predicate on the "is_encrypted" field.

func IsEncryptedNotNil

func IsEncryptedNotNil() predicate.Media

IsEncryptedNotNil applies the NotNil predicate on the "is_encrypted" field.

func Level

func Level(v int) predicate.Media

Level applies equality check predicate on the "level" field. It's identical to LevelEQ.

func LevelEQ

func LevelEQ(v int) predicate.Media

LevelEQ applies the EQ predicate on the "level" field.

func LevelGT

func LevelGT(v int) predicate.Media

LevelGT applies the GT predicate on the "level" field.

func LevelGTE

func LevelGTE(v int) predicate.Media

LevelGTE applies the GTE predicate on the "level" field.

func LevelIn

func LevelIn(vs ...int) predicate.Media

LevelIn applies the In predicate on the "level" field.

func LevelIsNil

func LevelIsNil() predicate.Media

LevelIsNil applies the IsNil predicate on the "level" field.

func LevelLT

func LevelLT(v int) predicate.Media

LevelLT applies the LT predicate on the "level" field.

func LevelLTE

func LevelLTE(v int) predicate.Media

LevelLTE applies the LTE predicate on the "level" field.

func LevelNEQ

func LevelNEQ(v int) predicate.Media

LevelNEQ applies the NEQ predicate on the "level" field.

func LevelNotIn

func LevelNotIn(vs ...int) predicate.Media

LevelNotIn applies the NotIn predicate on the "level" field.

func LevelNotNil

func LevelNotNil() predicate.Media

LevelNotNil applies the NotNil predicate on the "level" field.

func Mime

func Mime(v string) predicate.Media

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

func MimeContains

func MimeContains(v string) predicate.Media

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

func MimeContainsFold

func MimeContainsFold(v string) predicate.Media

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

func MimeEQ

func MimeEQ(v string) predicate.Media

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

func MimeEqualFold

func MimeEqualFold(v string) predicate.Media

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

func MimeGT

func MimeGT(v string) predicate.Media

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

func MimeGTE

func MimeGTE(v string) predicate.Media

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

func MimeHasPrefix

func MimeHasPrefix(v string) predicate.Media

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

func MimeHasSuffix

func MimeHasSuffix(v string) predicate.Media

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

func MimeIn

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

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

func MimeIsNil

func MimeIsNil() predicate.Media

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

func MimeLT

func MimeLT(v string) predicate.Media

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

func MimeLTE

func MimeLTE(v string) predicate.Media

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

func MimeNEQ

func MimeNEQ(v string) predicate.Media

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

func MimeNotIn

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

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

func MimeNotNil

func MimeNotNil() predicate.Media

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

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Media) predicate.Media

Or groups predicates with the OR operator between them.

func OrgFileName

func OrgFileName(v string) predicate.Media

OrgFileName applies equality check predicate on the "org_file_name" field. It's identical to OrgFileNameEQ.

func OrgFileNameContains

func OrgFileNameContains(v string) predicate.Media

OrgFileNameContains applies the Contains predicate on the "org_file_name" field.

func OrgFileNameContainsFold

func OrgFileNameContainsFold(v string) predicate.Media

OrgFileNameContainsFold applies the ContainsFold predicate on the "org_file_name" field.

func OrgFileNameEQ

func OrgFileNameEQ(v string) predicate.Media

OrgFileNameEQ applies the EQ predicate on the "org_file_name" field.

func OrgFileNameEqualFold

func OrgFileNameEqualFold(v string) predicate.Media

OrgFileNameEqualFold applies the EqualFold predicate on the "org_file_name" field.

func OrgFileNameGT

func OrgFileNameGT(v string) predicate.Media

OrgFileNameGT applies the GT predicate on the "org_file_name" field.

func OrgFileNameGTE

func OrgFileNameGTE(v string) predicate.Media

OrgFileNameGTE applies the GTE predicate on the "org_file_name" field.

func OrgFileNameHasPrefix

func OrgFileNameHasPrefix(v string) predicate.Media

OrgFileNameHasPrefix applies the HasPrefix predicate on the "org_file_name" field.

func OrgFileNameHasSuffix

func OrgFileNameHasSuffix(v string) predicate.Media

OrgFileNameHasSuffix applies the HasSuffix predicate on the "org_file_name" field.

func OrgFileNameIn

func OrgFileNameIn(vs ...string) predicate.Media

OrgFileNameIn applies the In predicate on the "org_file_name" field.

func OrgFileNameLT

func OrgFileNameLT(v string) predicate.Media

OrgFileNameLT applies the LT predicate on the "org_file_name" field.

func OrgFileNameLTE

func OrgFileNameLTE(v string) predicate.Media

OrgFileNameLTE applies the LTE predicate on the "org_file_name" field.

func OrgFileNameNEQ

func OrgFileNameNEQ(v string) predicate.Media

OrgFileNameNEQ applies the NEQ predicate on the "org_file_name" field.

func OrgFileNameNotIn

func OrgFileNameNotIn(vs ...string) predicate.Media

OrgFileNameNotIn applies the NotIn predicate on the "org_file_name" field.

func OutUserID

func OutUserID(v int64) predicate.Media

OutUserID applies equality check predicate on the "out_user_id" field. It's identical to OutUserIDEQ.

func OutUserIDEQ

func OutUserIDEQ(v int64) predicate.Media

OutUserIDEQ applies the EQ predicate on the "out_user_id" field.

func OutUserIDGT

func OutUserIDGT(v int64) predicate.Media

OutUserIDGT applies the GT predicate on the "out_user_id" field.

func OutUserIDGTE

func OutUserIDGTE(v int64) predicate.Media

OutUserIDGTE applies the GTE predicate on the "out_user_id" field.

func OutUserIDIn

func OutUserIDIn(vs ...int64) predicate.Media

OutUserIDIn applies the In predicate on the "out_user_id" field.

func OutUserIDIsNil

func OutUserIDIsNil() predicate.Media

OutUserIDIsNil applies the IsNil predicate on the "out_user_id" field.

func OutUserIDLT

func OutUserIDLT(v int64) predicate.Media

OutUserIDLT applies the LT predicate on the "out_user_id" field.

func OutUserIDLTE

func OutUserIDLTE(v int64) predicate.Media

OutUserIDLTE applies the LTE predicate on the "out_user_id" field.

func OutUserIDNEQ

func OutUserIDNEQ(v int64) predicate.Media

OutUserIDNEQ applies the NEQ predicate on the "out_user_id" field.

func OutUserIDNotIn

func OutUserIDNotIn(vs ...int64) predicate.Media

OutUserIDNotIn applies the NotIn predicate on the "out_user_id" field.

func OutUserIDNotNil

func OutUserIDNotNil() predicate.Media

OutUserIDNotNil applies the NotNil predicate on the "out_user_id" field.

func Reason

func Reason(v string) predicate.Media

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

func ReasonContains

func ReasonContains(v string) predicate.Media

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

func ReasonContainsFold

func ReasonContainsFold(v string) predicate.Media

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

func ReasonEQ

func ReasonEQ(v string) predicate.Media

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

func ReasonEqualFold

func ReasonEqualFold(v string) predicate.Media

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

func ReasonGT

func ReasonGT(v string) predicate.Media

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

func ReasonGTE

func ReasonGTE(v string) predicate.Media

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

func ReasonHasPrefix

func ReasonHasPrefix(v string) predicate.Media

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

func ReasonHasSuffix

func ReasonHasSuffix(v string) predicate.Media

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

func ReasonIn

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

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

func ReasonIsNil

func ReasonIsNil() predicate.Media

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

func ReasonLT

func ReasonLT(v string) predicate.Media

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

func ReasonLTE

func ReasonLTE(v string) predicate.Media

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

func ReasonNEQ

func ReasonNEQ(v string) predicate.Media

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

func ReasonNotIn

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

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

func ReasonNotNil

func ReasonNotNil() predicate.Media

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

func ReasonType

func ReasonType(v int) predicate.Media

ReasonType applies equality check predicate on the "reason_type" field. It's identical to ReasonTypeEQ.

func ReasonTypeEQ

func ReasonTypeEQ(v int) predicate.Media

ReasonTypeEQ applies the EQ predicate on the "reason_type" field.

func ReasonTypeGT

func ReasonTypeGT(v int) predicate.Media

ReasonTypeGT applies the GT predicate on the "reason_type" field.

func ReasonTypeGTE

func ReasonTypeGTE(v int) predicate.Media

ReasonTypeGTE applies the GTE predicate on the "reason_type" field.

func ReasonTypeIn

func ReasonTypeIn(vs ...int) predicate.Media

ReasonTypeIn applies the In predicate on the "reason_type" field.

func ReasonTypeIsNil

func ReasonTypeIsNil() predicate.Media

ReasonTypeIsNil applies the IsNil predicate on the "reason_type" field.

func ReasonTypeLT

func ReasonTypeLT(v int) predicate.Media

ReasonTypeLT applies the LT predicate on the "reason_type" field.

func ReasonTypeLTE

func ReasonTypeLTE(v int) predicate.Media

ReasonTypeLTE applies the LTE predicate on the "reason_type" field.

func ReasonTypeNEQ

func ReasonTypeNEQ(v int) predicate.Media

ReasonTypeNEQ applies the NEQ predicate on the "reason_type" field.

func ReasonTypeNotIn

func ReasonTypeNotIn(vs ...int) predicate.Media

ReasonTypeNotIn applies the NotIn predicate on the "reason_type" field.

func ReasonTypeNotNil

func ReasonTypeNotNil() predicate.Media

ReasonTypeNotNil applies the NotNil predicate on the "reason_type" field.

func RefCount

func RefCount(v int) predicate.Media

RefCount applies equality check predicate on the "ref_count" field. It's identical to RefCountEQ.

func RefCountEQ

func RefCountEQ(v int) predicate.Media

RefCountEQ applies the EQ predicate on the "ref_count" field.

func RefCountGT

func RefCountGT(v int) predicate.Media

RefCountGT applies the GT predicate on the "ref_count" field.

func RefCountGTE

func RefCountGTE(v int) predicate.Media

RefCountGTE applies the GTE predicate on the "ref_count" field.

func RefCountIn

func RefCountIn(vs ...int) predicate.Media

RefCountIn applies the In predicate on the "ref_count" field.

func RefCountIsNil

func RefCountIsNil() predicate.Media

RefCountIsNil applies the IsNil predicate on the "ref_count" field.

func RefCountLT

func RefCountLT(v int) predicate.Media

RefCountLT applies the LT predicate on the "ref_count" field.

func RefCountLTE

func RefCountLTE(v int) predicate.Media

RefCountLTE applies the LTE predicate on the "ref_count" field.

func RefCountNEQ

func RefCountNEQ(v int) predicate.Media

RefCountNEQ applies the NEQ predicate on the "ref_count" field.

func RefCountNotIn

func RefCountNotIn(vs ...int) predicate.Media

RefCountNotIn applies the NotIn predicate on the "ref_count" field.

func RefCountNotNil

func RefCountNotNil() predicate.Media

RefCountNotNil applies the NotNil predicate on the "ref_count" field.

func SavePath

func SavePath(v string) predicate.Media

SavePath applies equality check predicate on the "save_path" field. It's identical to SavePathEQ.

func SavePathContains

func SavePathContains(v string) predicate.Media

SavePathContains applies the Contains predicate on the "save_path" field.

func SavePathContainsFold

func SavePathContainsFold(v string) predicate.Media

SavePathContainsFold applies the ContainsFold predicate on the "save_path" field.

func SavePathEQ

func SavePathEQ(v string) predicate.Media

SavePathEQ applies the EQ predicate on the "save_path" field.

func SavePathEqualFold

func SavePathEqualFold(v string) predicate.Media

SavePathEqualFold applies the EqualFold predicate on the "save_path" field.

func SavePathGT

func SavePathGT(v string) predicate.Media

SavePathGT applies the GT predicate on the "save_path" field.

func SavePathGTE

func SavePathGTE(v string) predicate.Media

SavePathGTE applies the GTE predicate on the "save_path" field.

func SavePathHasPrefix

func SavePathHasPrefix(v string) predicate.Media

SavePathHasPrefix applies the HasPrefix predicate on the "save_path" field.

func SavePathHasSuffix

func SavePathHasSuffix(v string) predicate.Media

SavePathHasSuffix applies the HasSuffix predicate on the "save_path" field.

func SavePathIn

func SavePathIn(vs ...string) predicate.Media

SavePathIn applies the In predicate on the "save_path" field.

func SavePathIsNil

func SavePathIsNil() predicate.Media

SavePathIsNil applies the IsNil predicate on the "save_path" field.

func SavePathLT

func SavePathLT(v string) predicate.Media

SavePathLT applies the LT predicate on the "save_path" field.

func SavePathLTE

func SavePathLTE(v string) predicate.Media

SavePathLTE applies the LTE predicate on the "save_path" field.

func SavePathNEQ

func SavePathNEQ(v string) predicate.Media

SavePathNEQ applies the NEQ predicate on the "save_path" field.

func SavePathNotIn

func SavePathNotIn(vs ...string) predicate.Media

SavePathNotIn applies the NotIn predicate on the "save_path" field.

func SavePathNotNil

func SavePathNotNil() predicate.Media

SavePathNotNil applies the NotNil predicate on the "save_path" field.

func SizeIsNil

func SizeIsNil() predicate.Media

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

func SizeNotNil

func SizeNotNil() predicate.Media

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

func Sn

func Sn(v string) predicate.Media

Sn applies equality check predicate on the "sn" field. It's identical to SnEQ.

func SnContains

func SnContains(v string) predicate.Media

SnContains applies the Contains predicate on the "sn" field.

func SnContainsFold

func SnContainsFold(v string) predicate.Media

SnContainsFold applies the ContainsFold predicate on the "sn" field.

func SnEQ

func SnEQ(v string) predicate.Media

SnEQ applies the EQ predicate on the "sn" field.

func SnEqualFold

func SnEqualFold(v string) predicate.Media

SnEqualFold applies the EqualFold predicate on the "sn" field.

func SnGT

func SnGT(v string) predicate.Media

SnGT applies the GT predicate on the "sn" field.

func SnGTE

func SnGTE(v string) predicate.Media

SnGTE applies the GTE predicate on the "sn" field.

func SnHasPrefix

func SnHasPrefix(v string) predicate.Media

SnHasPrefix applies the HasPrefix predicate on the "sn" field.

func SnHasSuffix

func SnHasSuffix(v string) predicate.Media

SnHasSuffix applies the HasSuffix predicate on the "sn" field.

func SnIn

func SnIn(vs ...string) predicate.Media

SnIn applies the In predicate on the "sn" field.

func SnIsNil

func SnIsNil() predicate.Media

SnIsNil applies the IsNil predicate on the "sn" field.

func SnLT

func SnLT(v string) predicate.Media

SnLT applies the LT predicate on the "sn" field.

func SnLTE

func SnLTE(v string) predicate.Media

SnLTE applies the LTE predicate on the "sn" field.

func SnNEQ

func SnNEQ(v string) predicate.Media

SnNEQ applies the NEQ predicate on the "sn" field.

func SnNotIn

func SnNotIn(vs ...string) predicate.Media

SnNotIn applies the NotIn predicate on the "sn" field.

func SnNotNil

func SnNotNil() predicate.Media

SnNotNil applies the NotNil predicate on the "sn" field.

func Status

func Status(v int) predicate.Media

Status applies equality check predicate on the "status" field. It's identical to StatusEQ.

func StatusEQ

func StatusEQ(v int) predicate.Media

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

func StatusGT

func StatusGT(v int) predicate.Media

StatusGT applies the GT predicate on the "status" field.

func StatusGTE

func StatusGTE(v int) predicate.Media

StatusGTE applies the GTE predicate on the "status" field.

func StatusIn

func StatusIn(vs ...int) predicate.Media

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

func StatusIsNil

func StatusIsNil() predicate.Media

StatusIsNil applies the IsNil predicate on the "status" field.

func StatusLT

func StatusLT(v int) predicate.Media

StatusLT applies the LT predicate on the "status" field.

func StatusLTE

func StatusLTE(v int) predicate.Media

StatusLTE applies the LTE predicate on the "status" field.

func StatusNEQ

func StatusNEQ(v int) predicate.Media

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

func StatusNotIn

func StatusNotIn(vs ...int) predicate.Media

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

func StatusNotNil

func StatusNotNil() predicate.Media

StatusNotNil applies the NotNil predicate on the "status" field.

func Type

func Type(v int) predicate.Media

Type applies equality check predicate on the "type" field. It's identical to TypeEQ.

func TypeEQ

func TypeEQ(v int) predicate.Media

TypeEQ applies the EQ predicate on the "type" field.

func TypeGT

func TypeGT(v int) predicate.Media

TypeGT applies the GT predicate on the "type" field.

func TypeGTE

func TypeGTE(v int) predicate.Media

TypeGTE applies the GTE predicate on the "type" field.

func TypeIn

func TypeIn(vs ...int) predicate.Media

TypeIn applies the In predicate on the "type" field.

func TypeIsNil

func TypeIsNil() predicate.Media

TypeIsNil applies the IsNil predicate on the "type" field.

func TypeLT

func TypeLT(v int) predicate.Media

TypeLT applies the LT predicate on the "type" field.

func TypeLTE

func TypeLTE(v int) predicate.Media

TypeLTE applies the LTE predicate on the "type" field.

func TypeNEQ

func TypeNEQ(v int) predicate.Media

TypeNEQ applies the NEQ predicate on the "type" field.

func TypeNotIn

func TypeNotIn(vs ...int) predicate.Media

TypeNotIn applies the NotIn predicate on the "type" field.

func TypeNotNil

func TypeNotNil() predicate.Media

TypeNotNil applies the NotNil predicate on the "type" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Media

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Media

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Media

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Media

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

func UpdatedAtIn

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

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

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.Media

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Media

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Media

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Media

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

func UpdatedAtNotIn

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

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

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.Media

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

func UserID

func UserID(v int) predicate.Media

UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.

func UserIDEQ

func UserIDEQ(v int) predicate.Media

UserIDEQ applies the EQ predicate on the "user_id" field.

func UserIDGT

func UserIDGT(v int) predicate.Media

UserIDGT applies the GT predicate on the "user_id" field.

func UserIDGTE

func UserIDGTE(v int) predicate.Media

UserIDGTE applies the GTE predicate on the "user_id" field.

func UserIDIn

func UserIDIn(vs ...int) predicate.Media

UserIDIn applies the In predicate on the "user_id" field.

func UserIDIsNil

func UserIDIsNil() predicate.Media

UserIDIsNil applies the IsNil predicate on the "user_id" field.

func UserIDLT

func UserIDLT(v int) predicate.Media

UserIDLT applies the LT predicate on the "user_id" field.

func UserIDLTE

func UserIDLTE(v int) predicate.Media

UserIDLTE applies the LTE predicate on the "user_id" field.

func UserIDNEQ

func UserIDNEQ(v int) predicate.Media

UserIDNEQ applies the NEQ predicate on the "user_id" field.

func UserIDNotIn

func UserIDNotIn(vs ...int) predicate.Media

UserIDNotIn applies the NotIn predicate on the "user_id" field.

func UserIDNotNil

func UserIDNotNil() predicate.Media

UserIDNotNil applies the NotNil predicate on the "user_id" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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