Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.OneMethodService) predicate.OneMethodService
- func ID(id int) predicate.OneMethodService
- func IDEQ(id int) predicate.OneMethodService
- func IDGT(id int) predicate.OneMethodService
- func IDGTE(id int) predicate.OneMethodService
- func IDIn(ids ...int) predicate.OneMethodService
- func IDLT(id int) predicate.OneMethodService
- func IDLTE(id int) predicate.OneMethodService
- func IDNEQ(id int) predicate.OneMethodService
- func IDNotIn(ids ...int) predicate.OneMethodService
- func Not(p predicate.OneMethodService) predicate.OneMethodService
- func Or(predicates ...predicate.OneMethodService) predicate.OneMethodService
- func ValidColumn(column string) bool
- type OrderOption
Constants ¶
const ( // Label holds the string label denoting the onemethodservice type in the database. Label = "one_method_service" // FieldID holds the string denoting the id field in the database. FieldID = "id" // Table holds the table name of the onemethodservice in the database. Table = "one_method_services" )
Variables ¶
var Columns = []string{ FieldID, }
Columns holds all SQL columns for onemethodservice fields.
Functions ¶
func And ¶
func And(predicates ...predicate.OneMethodService) predicate.OneMethodService
And groups predicates with the AND operator between them.
func IDEQ ¶
func IDEQ(id int) predicate.OneMethodService
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.OneMethodService
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.OneMethodService
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.OneMethodService
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.OneMethodService
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.OneMethodService
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.OneMethodService
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.OneMethodService
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.OneMethodService) predicate.OneMethodService
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.OneMethodService) predicate.OneMethodService
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 ¶
type OrderOption ¶ added in v0.4.1
OrderOption defines the ordering options for the OneMethodService queries.
func ByID ¶ added in v0.4.0
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.