Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.WithoutFields) predicate.WithoutFields
- func ID(id int) predicate.WithoutFields
- func IDEQ(id int) predicate.WithoutFields
- func IDGT(id int) predicate.WithoutFields
- func IDGTE(id int) predicate.WithoutFields
- func IDIn(ids ...int) predicate.WithoutFields
- func IDLT(id int) predicate.WithoutFields
- func IDLTE(id int) predicate.WithoutFields
- func IDNEQ(id int) predicate.WithoutFields
- func IDNotIn(ids ...int) predicate.WithoutFields
- func Not(p predicate.WithoutFields) predicate.WithoutFields
- func Or(predicates ...predicate.WithoutFields) predicate.WithoutFields
- func ValidColumn(column string) bool
- type Order
Constants ¶
View Source
const ( // Label holds the string label denoting the withoutfields type in the database. Label = "without_fields" // FieldID holds the string denoting the id field in the database. FieldID = "id" // Table holds the table name of the withoutfields in the database. Table = "without_fields" )
Variables ¶
View Source
var Columns = []string{ FieldID, }
Columns holds all SQL columns for withoutfields fields.
Functions ¶
func And ¶
func And(predicates ...predicate.WithoutFields) predicate.WithoutFields
And groups predicates with the AND operator between them.
func IDEQ ¶
func IDEQ(id int) predicate.WithoutFields
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.WithoutFields
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.WithoutFields
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.WithoutFields
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.WithoutFields
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.WithoutFields
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.WithoutFields
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.WithoutFields
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.WithoutFields) predicate.WithoutFields
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.WithoutFields) predicate.WithoutFields
Or groups predicates with the OR operator between them.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
Click to show internal directories.
Click to hide internal directories.