Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Bootstrap) predicate.Bootstrap
- func ID(id int) predicate.Bootstrap
- func IDEQ(id int) predicate.Bootstrap
- func IDGT(id int) predicate.Bootstrap
- func IDGTE(id int) predicate.Bootstrap
- func IDIn(ids ...int) predicate.Bootstrap
- func IDLT(id int) predicate.Bootstrap
- func IDLTE(id int) predicate.Bootstrap
- func IDNEQ(id int) predicate.Bootstrap
- func IDNotIn(ids ...int) predicate.Bootstrap
- func IsBootstrapped(v bool) predicate.Bootstrap
- func IsBootstrappedEQ(v bool) predicate.Bootstrap
- func IsBootstrappedNEQ(v bool) predicate.Bootstrap
- func Not(p predicate.Bootstrap) predicate.Bootstrap
- func Or(predicates ...predicate.Bootstrap) predicate.Bootstrap
- func ValidColumn(column string) bool
- type OrderOption
Constants ¶
View Source
const ( // Label holds the string label denoting the bootstrap type in the database. Label = "bootstrap" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldIsBootstrapped holds the string denoting the is_bootstrapped field in the database. FieldIsBootstrapped = "is_bootstrapped" // Table holds the table name of the bootstrap in the database. Table = "bootstrap_flag" )
Variables ¶
View Source
var Columns = []string{ FieldID, FieldIsBootstrapped, }
Columns holds all SQL columns for bootstrap fields.
Functions ¶
func IsBootstrapped ¶
IsBootstrapped applies equality check predicate on the "is_bootstrapped" field. It's identical to IsBootstrappedEQ.
func IsBootstrappedEQ ¶
IsBootstrappedEQ applies the EQ predicate on the "is_bootstrapped" field.
func IsBootstrappedNEQ ¶
IsBootstrappedNEQ applies the NEQ predicate on the "is_bootstrapped" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Bootstrap queries.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIsBootstrapped ¶
func ByIsBootstrapped(opts ...sql.OrderTermOption) OrderOption
ByIsBootstrapped orders the results by the is_bootstrapped field.
Click to show internal directories.
Click to hide internal directories.