Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Assets) predicate.Assets
- func Ext(v string) predicate.Assets
- func ExtContains(v string) predicate.Assets
- func ExtContainsFold(v string) predicate.Assets
- func ExtEQ(v string) predicate.Assets
- func ExtEqualFold(v string) predicate.Assets
- func ExtGT(v string) predicate.Assets
- func ExtGTE(v string) predicate.Assets
- func ExtHasPrefix(v string) predicate.Assets
- func ExtHasSuffix(v string) predicate.Assets
- func ExtIn(vs ...string) predicate.Assets
- func ExtLT(v string) predicate.Assets
- func ExtLTE(v string) predicate.Assets
- func ExtNEQ(v string) predicate.Assets
- func ExtNotIn(vs ...string) predicate.Assets
- func HasView() predicate.Assets
- func HasViewWith(preds ...predicate.View) predicate.Assets
- func ID(id int) predicate.Assets
- func IDEQ(id int) predicate.Assets
- func IDGT(id int) predicate.Assets
- func IDGTE(id int) predicate.Assets
- func IDIn(ids ...int) predicate.Assets
- func IDLT(id int) predicate.Assets
- func IDLTE(id int) predicate.Assets
- func IDNEQ(id int) predicate.Assets
- func IDNotIn(ids ...int) predicate.Assets
- func Not(p predicate.Assets) predicate.Assets
- func Or(predicates ...predicate.Assets) predicate.Assets
- func Path(v string) predicate.Assets
- func PathContains(v string) predicate.Assets
- func PathContainsFold(v string) predicate.Assets
- func PathEQ(v string) predicate.Assets
- func PathEqualFold(v string) predicate.Assets
- func PathGT(v string) predicate.Assets
- func PathGTE(v string) predicate.Assets
- func PathHasPrefix(v string) predicate.Assets
- func PathHasSuffix(v string) predicate.Assets
- func PathIn(vs ...string) predicate.Assets
- func PathLT(v string) predicate.Assets
- func PathLTE(v string) predicate.Assets
- func PathNEQ(v string) predicate.Assets
- func PathNotIn(vs ...string) predicate.Assets
- func Type(v string) predicate.Assets
- func TypeContains(v string) predicate.Assets
- func TypeContainsFold(v string) predicate.Assets
- func TypeEQ(v string) predicate.Assets
- func TypeEqualFold(v string) predicate.Assets
- func TypeGT(v string) predicate.Assets
- func TypeGTE(v string) predicate.Assets
- func TypeHasPrefix(v string) predicate.Assets
- func TypeHasSuffix(v string) predicate.Assets
- func TypeIn(vs ...string) predicate.Assets
- func TypeLT(v string) predicate.Assets
- func TypeLTE(v string) predicate.Assets
- func TypeNEQ(v string) predicate.Assets
- func TypeNotIn(vs ...string) predicate.Assets
- func ValidColumn(column string) bool
Constants ¶
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 ExtContains ¶
ExtContains applies the Contains predicate on the "ext" field.
func ExtContainsFold ¶
ExtContainsFold applies the ContainsFold predicate on the "ext" field.
func ExtEqualFold ¶
ExtEqualFold applies the EqualFold predicate on the "ext" field.
func ExtHasPrefix ¶
ExtHasPrefix applies the HasPrefix predicate on the "ext" field.
func ExtHasSuffix ¶
ExtHasSuffix applies the HasSuffix predicate on the "ext" field.
func HasViewWith ¶
HasViewWith applies the HasEdge predicate on the "view" edge with a given conditions (other predicates).
func PathContains ¶
PathContains applies the Contains predicate on the "path" field.
func PathContainsFold ¶
PathContainsFold applies the ContainsFold predicate on the "path" field.
func PathEqualFold ¶
PathEqualFold applies the EqualFold predicate on the "path" field.
func PathHasPrefix ¶
PathHasPrefix applies the HasPrefix predicate on the "path" field.
func PathHasSuffix ¶
PathHasSuffix applies the HasSuffix predicate on the "path" field.
func TypeContains ¶
TypeContains applies the Contains predicate on the "type" field.
func TypeContainsFold ¶
TypeContainsFold applies the ContainsFold predicate on the "type" field.
func TypeEqualFold ¶
TypeEqualFold applies the EqualFold predicate on the "type" field.
func TypeHasPrefix ¶
TypeHasPrefix applies the HasPrefix predicate on the "type" field.
func TypeHasSuffix ¶
TypeHasSuffix applies the HasSuffix predicate on the "type" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.