assets

package
v0.0.0-...-bf2c6c7 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the assets type in the database.
	Label = "assets"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldPath holds the string denoting the path field in the database.
	FieldPath = "path"
	// FieldExt holds the string denoting the ext field in the database.
	FieldExt = "ext"
	// FieldType holds the string denoting the type field in the database.
	FieldType = "type"
	// EdgeView holds the string denoting the view edge name in mutations.
	EdgeView = "view"
	// Table holds the table name of the assets in the database.
	Table = "assets"
	// ViewTable is the table the holds the view relation/edge.
	ViewTable = "views"
	// ViewInverseTable is the table name for the View entity.
	// It exists in this package in order to avoid circular dependency with the "view" package.
	ViewInverseTable = "views"
	// ViewColumn is the table column denoting the view relation/edge.
	ViewColumn = "assets_view"
)

Variables

Columns holds all SQL columns for assets fields.

Functions

func And

func And(predicates ...predicate.Assets) predicate.Assets

And groups predicates with the AND operator between them.

func Ext

func Ext(v string) predicate.Assets

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

func ExtContains

func ExtContains(v string) predicate.Assets

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

func ExtContainsFold

func ExtContainsFold(v string) predicate.Assets

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

func ExtEQ

func ExtEQ(v string) predicate.Assets

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

func ExtEqualFold

func ExtEqualFold(v string) predicate.Assets

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

func ExtGT

func ExtGT(v string) predicate.Assets

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

func ExtGTE

func ExtGTE(v string) predicate.Assets

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

func ExtHasPrefix

func ExtHasPrefix(v string) predicate.Assets

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

func ExtHasSuffix

func ExtHasSuffix(v string) predicate.Assets

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

func ExtIn

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

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

func ExtLT

func ExtLT(v string) predicate.Assets

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

func ExtLTE

func ExtLTE(v string) predicate.Assets

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

func ExtNEQ

func ExtNEQ(v string) predicate.Assets

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

func ExtNotIn

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

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

func HasView

func HasView() predicate.Assets

HasView applies the HasEdge predicate on the "view" edge.

func HasViewWith

func HasViewWith(preds ...predicate.View) predicate.Assets

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

func ID

func ID(id int) predicate.Assets

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Assets

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Assets

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Assets

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Assets

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Assets

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Assets

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Assets) predicate.Assets

Or groups predicates with the OR operator between them.

func Path

func Path(v string) predicate.Assets

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

func PathContains

func PathContains(v string) predicate.Assets

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

func PathContainsFold

func PathContainsFold(v string) predicate.Assets

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

func PathEQ

func PathEQ(v string) predicate.Assets

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

func PathEqualFold

func PathEqualFold(v string) predicate.Assets

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

func PathGT

func PathGT(v string) predicate.Assets

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

func PathGTE

func PathGTE(v string) predicate.Assets

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

func PathHasPrefix

func PathHasPrefix(v string) predicate.Assets

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

func PathHasSuffix

func PathHasSuffix(v string) predicate.Assets

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

func PathIn

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

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

func PathLT

func PathLT(v string) predicate.Assets

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

func PathLTE

func PathLTE(v string) predicate.Assets

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

func PathNEQ

func PathNEQ(v string) predicate.Assets

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

func PathNotIn

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

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

func Type

func Type(v string) predicate.Assets

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

func TypeContains

func TypeContains(v string) predicate.Assets

TypeContains applies the Contains predicate on the "type" field.

func TypeContainsFold

func TypeContainsFold(v string) predicate.Assets

TypeContainsFold applies the ContainsFold predicate on the "type" field.

func TypeEQ

func TypeEQ(v string) predicate.Assets

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

func TypeEqualFold

func TypeEqualFold(v string) predicate.Assets

TypeEqualFold applies the EqualFold predicate on the "type" field.

func TypeGT

func TypeGT(v string) predicate.Assets

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

func TypeGTE

func TypeGTE(v string) predicate.Assets

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

func TypeHasPrefix

func TypeHasPrefix(v string) predicate.Assets

TypeHasPrefix applies the HasPrefix predicate on the "type" field.

func TypeHasSuffix

func TypeHasSuffix(v string) predicate.Assets

TypeHasSuffix applies the HasSuffix predicate on the "type" field.

func TypeIn

func TypeIn(vs ...string) predicate.Assets

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

func TypeLT

func TypeLT(v string) predicate.Assets

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

func TypeLTE

func TypeLTE(v string) predicate.Assets

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

func TypeNEQ

func TypeNEQ(v string) predicate.Assets

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

func TypeNotIn

func TypeNotIn(vs ...string) predicate.Assets

TypeNotIn applies the NotIn predicate on the "type" 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