Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.File) predicate.File
- func Contents(v string) predicate.File
- func ContentsContains(v string) predicate.File
- func ContentsContainsFold(v string) predicate.File
- func ContentsEQ(v string) predicate.File
- func ContentsEqualFold(v string) predicate.File
- func ContentsGT(v string) predicate.File
- func ContentsGTE(v string) predicate.File
- func ContentsHasPrefix(v string) predicate.File
- func ContentsHasSuffix(v string) predicate.File
- func ContentsIn(vs ...string) predicate.File
- func ContentsLT(v string) predicate.File
- func ContentsLTE(v string) predicate.File
- func ContentsNEQ(v string) predicate.File
- func ContentsNotIn(vs ...string) predicate.File
- func ID(id string) predicate.File
- func IDEQ(id string) predicate.File
- func IDGT(id string) predicate.File
- func IDGTE(id string) predicate.File
- func IDIn(ids ...string) predicate.File
- func IDLT(id string) predicate.File
- func IDLTE(id string) predicate.File
- func IDNEQ(id string) predicate.File
- func IDNotIn(ids ...string) predicate.File
- func Not(p predicate.File) predicate.File
- func Or(predicates ...predicate.File) predicate.File
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the file type in the database. Label = "file" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldContents holds the string denoting the contents field in the database. FieldContents = "contents" // Table holds the table name of the file in the database. Table = "files" )
Variables ¶
var Columns = []string{ FieldID, FieldContents, }
Columns holds all SQL columns for file fields.
Functions ¶
func Contents ¶
Contents applies equality check predicate on the "contents" field. It's identical to ContentsEQ.
func ContentsContains ¶
ContentsContains applies the Contains predicate on the "contents" field.
func ContentsContainsFold ¶
ContentsContainsFold applies the ContainsFold predicate on the "contents" field.
func ContentsEQ ¶
ContentsEQ applies the EQ predicate on the "contents" field.
func ContentsEqualFold ¶
ContentsEqualFold applies the EqualFold predicate on the "contents" field.
func ContentsGT ¶
ContentsGT applies the GT predicate on the "contents" field.
func ContentsGTE ¶
ContentsGTE applies the GTE predicate on the "contents" field.
func ContentsHasPrefix ¶
ContentsHasPrefix applies the HasPrefix predicate on the "contents" field.
func ContentsHasSuffix ¶
ContentsHasSuffix applies the HasSuffix predicate on the "contents" field.
func ContentsIn ¶
ContentsIn applies the In predicate on the "contents" field.
func ContentsLT ¶
ContentsLT applies the LT predicate on the "contents" field.
func ContentsLTE ¶
ContentsLTE applies the LTE predicate on the "contents" field.
func ContentsNEQ ¶
ContentsNEQ applies the NEQ predicate on the "contents" field.
func ContentsNotIn ¶
ContentsNotIn applies the NotIn predicate on the "contents" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.