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