Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.VerySecret) predicate.VerySecret
- func ID(id int) predicate.VerySecret
- func IDEQ(id int) predicate.VerySecret
- func IDGT(id int) predicate.VerySecret
- func IDGTE(id int) predicate.VerySecret
- func IDIn(ids ...int) predicate.VerySecret
- func IDLT(id int) predicate.VerySecret
- func IDLTE(id int) predicate.VerySecret
- func IDNEQ(id int) predicate.VerySecret
- func IDNotIn(ids ...int) predicate.VerySecret
- func Not(p predicate.VerySecret) predicate.VerySecret
- func Or(predicates ...predicate.VerySecret) predicate.VerySecret
- func Password(v string) predicate.VerySecret
- func PasswordContains(v string) predicate.VerySecret
- func PasswordContainsFold(v string) predicate.VerySecret
- func PasswordEQ(v string) predicate.VerySecret
- func PasswordEqualFold(v string) predicate.VerySecret
- func PasswordGT(v string) predicate.VerySecret
- func PasswordGTE(v string) predicate.VerySecret
- func PasswordHasPrefix(v string) predicate.VerySecret
- func PasswordHasSuffix(v string) predicate.VerySecret
- func PasswordIn(vs ...string) predicate.VerySecret
- func PasswordLT(v string) predicate.VerySecret
- func PasswordLTE(v string) predicate.VerySecret
- func PasswordNEQ(v string) predicate.VerySecret
- func PasswordNotIn(vs ...string) predicate.VerySecret
- func ValidColumn(column string) bool
- type OrderOption
Constants ¶
const ( // Label holds the string label denoting the verysecret type in the database. Label = "very_secret" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldPassword holds the string denoting the password field in the database. FieldPassword = "password" // Table holds the table name of the verysecret in the database. Table = "very_secrets" )
Variables ¶
var Columns = []string{ FieldID, FieldPassword, }
Columns holds all SQL columns for verysecret fields.
Functions ¶
func And ¶
func And(predicates ...predicate.VerySecret) predicate.VerySecret
And groups predicates with the AND operator between them.
func IDGTE ¶
func IDGTE(id int) predicate.VerySecret
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.VerySecret
IDIn applies the In predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.VerySecret
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.VerySecret
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.VerySecret
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.VerySecret) predicate.VerySecret
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.VerySecret) predicate.VerySecret
Or groups predicates with the OR operator between them.
func Password ¶
func Password(v string) predicate.VerySecret
Password applies equality check predicate on the "password" field. It's identical to PasswordEQ.
func PasswordContains ¶
func PasswordContains(v string) predicate.VerySecret
PasswordContains applies the Contains predicate on the "password" field.
func PasswordContainsFold ¶
func PasswordContainsFold(v string) predicate.VerySecret
PasswordContainsFold applies the ContainsFold predicate on the "password" field.
func PasswordEQ ¶
func PasswordEQ(v string) predicate.VerySecret
PasswordEQ applies the EQ predicate on the "password" field.
func PasswordEqualFold ¶
func PasswordEqualFold(v string) predicate.VerySecret
PasswordEqualFold applies the EqualFold predicate on the "password" field.
func PasswordGT ¶
func PasswordGT(v string) predicate.VerySecret
PasswordGT applies the GT predicate on the "password" field.
func PasswordGTE ¶
func PasswordGTE(v string) predicate.VerySecret
PasswordGTE applies the GTE predicate on the "password" field.
func PasswordHasPrefix ¶
func PasswordHasPrefix(v string) predicate.VerySecret
PasswordHasPrefix applies the HasPrefix predicate on the "password" field.
func PasswordHasSuffix ¶
func PasswordHasSuffix(v string) predicate.VerySecret
PasswordHasSuffix applies the HasSuffix predicate on the "password" field.
func PasswordIn ¶
func PasswordIn(vs ...string) predicate.VerySecret
PasswordIn applies the In predicate on the "password" field.
func PasswordLT ¶
func PasswordLT(v string) predicate.VerySecret
PasswordLT applies the LT predicate on the "password" field.
func PasswordLTE ¶
func PasswordLTE(v string) predicate.VerySecret
PasswordLTE applies the LTE predicate on the "password" field.
func PasswordNEQ ¶
func PasswordNEQ(v string) predicate.VerySecret
PasswordNEQ applies the NEQ predicate on the "password" field.
func PasswordNotIn ¶
func PasswordNotIn(vs ...string) predicate.VerySecret
PasswordNotIn applies the NotIn predicate on the "password" field.
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 VerySecret queries.
func ByID ¶ added in v0.4.0
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByPassword ¶ added in v0.4.0
func ByPassword(opts ...sql.OrderTermOption) OrderOption
ByPassword orders the results by the password field.