Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.SignupAllowance) predicate.SignupAllowance
- func CreatedAt(v time.Time) predicate.SignupAllowance
- func CreatedAtEQ(v time.Time) predicate.SignupAllowance
- func CreatedAtGT(v time.Time) predicate.SignupAllowance
- func CreatedAtGTE(v time.Time) predicate.SignupAllowance
- func CreatedAtIn(vs ...time.Time) predicate.SignupAllowance
- func CreatedAtLT(v time.Time) predicate.SignupAllowance
- func CreatedAtLTE(v time.Time) predicate.SignupAllowance
- func CreatedAtNEQ(v time.Time) predicate.SignupAllowance
- func CreatedAtNotIn(vs ...time.Time) predicate.SignupAllowance
- func Granted(v int) predicate.SignupAllowance
- func GrantedEQ(v int) predicate.SignupAllowance
- func GrantedGT(v int) predicate.SignupAllowance
- func GrantedGTE(v int) predicate.SignupAllowance
- func GrantedIn(vs ...int) predicate.SignupAllowance
- func GrantedIsNil() predicate.SignupAllowance
- func GrantedLT(v int) predicate.SignupAllowance
- func GrantedLTE(v int) predicate.SignupAllowance
- func GrantedNEQ(v int) predicate.SignupAllowance
- func GrantedNotIn(vs ...int) predicate.SignupAllowance
- func GrantedNotNil() predicate.SignupAllowance
- func ID(id uuid.UUID) predicate.SignupAllowance
- func IDEQ(id uuid.UUID) predicate.SignupAllowance
- func IDGT(id uuid.UUID) predicate.SignupAllowance
- func IDGTE(id uuid.UUID) predicate.SignupAllowance
- func IDIn(ids ...uuid.UUID) predicate.SignupAllowance
- func IDLT(id uuid.UUID) predicate.SignupAllowance
- func IDLTE(id uuid.UUID) predicate.SignupAllowance
- func IDNEQ(id uuid.UUID) predicate.SignupAllowance
- func IDNotIn(ids ...uuid.UUID) predicate.SignupAllowance
- func Not(p predicate.SignupAllowance) predicate.SignupAllowance
- func Note(v string) predicate.SignupAllowance
- func NoteContains(v string) predicate.SignupAllowance
- func NoteContainsFold(v string) predicate.SignupAllowance
- func NoteEQ(v string) predicate.SignupAllowance
- func NoteEqualFold(v string) predicate.SignupAllowance
- func NoteGT(v string) predicate.SignupAllowance
- func NoteGTE(v string) predicate.SignupAllowance
- func NoteHasPrefix(v string) predicate.SignupAllowance
- func NoteHasSuffix(v string) predicate.SignupAllowance
- func NoteIn(vs ...string) predicate.SignupAllowance
- func NoteIsNil() predicate.SignupAllowance
- func NoteLT(v string) predicate.SignupAllowance
- func NoteLTE(v string) predicate.SignupAllowance
- func NoteNEQ(v string) predicate.SignupAllowance
- func NoteNotIn(vs ...string) predicate.SignupAllowance
- func NoteNotNil() predicate.SignupAllowance
- func Or(predicates ...predicate.SignupAllowance) predicate.SignupAllowance
- func PrincipalID(v uuid.UUID) predicate.SignupAllowance
- func PrincipalIDEQ(v uuid.UUID) predicate.SignupAllowance
- func PrincipalIDGT(v uuid.UUID) predicate.SignupAllowance
- func PrincipalIDGTE(v uuid.UUID) predicate.SignupAllowance
- func PrincipalIDIn(vs ...uuid.UUID) predicate.SignupAllowance
- func PrincipalIDLT(v uuid.UUID) predicate.SignupAllowance
- func PrincipalIDLTE(v uuid.UUID) predicate.SignupAllowance
- func PrincipalIDNEQ(v uuid.UUID) predicate.SignupAllowance
- func PrincipalIDNotIn(vs ...uuid.UUID) predicate.SignupAllowance
- func SetByPrincipalID(v uuid.UUID) predicate.SignupAllowance
- func SetByPrincipalIDEQ(v uuid.UUID) predicate.SignupAllowance
- func SetByPrincipalIDGT(v uuid.UUID) predicate.SignupAllowance
- func SetByPrincipalIDGTE(v uuid.UUID) predicate.SignupAllowance
- func SetByPrincipalIDIn(vs ...uuid.UUID) predicate.SignupAllowance
- func SetByPrincipalIDIsNil() predicate.SignupAllowance
- func SetByPrincipalIDLT(v uuid.UUID) predicate.SignupAllowance
- func SetByPrincipalIDLTE(v uuid.UUID) predicate.SignupAllowance
- func SetByPrincipalIDNEQ(v uuid.UUID) predicate.SignupAllowance
- func SetByPrincipalIDNotIn(vs ...uuid.UUID) predicate.SignupAllowance
- func SetByPrincipalIDNotNil() predicate.SignupAllowance
- func UpdatedAt(v time.Time) predicate.SignupAllowance
- func UpdatedAtEQ(v time.Time) predicate.SignupAllowance
- func UpdatedAtGT(v time.Time) predicate.SignupAllowance
- func UpdatedAtGTE(v time.Time) predicate.SignupAllowance
- func UpdatedAtIn(vs ...time.Time) predicate.SignupAllowance
- func UpdatedAtLT(v time.Time) predicate.SignupAllowance
- func UpdatedAtLTE(v time.Time) predicate.SignupAllowance
- func UpdatedAtNEQ(v time.Time) predicate.SignupAllowance
- func UpdatedAtNotIn(vs ...time.Time) predicate.SignupAllowance
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByGranted(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByNote(opts ...sql.OrderTermOption) OrderOption
- func ByPrincipalID(opts ...sql.OrderTermOption) OrderOption
- func BySetByPrincipalID(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the signupallowance type in the database. Label = "signup_allowance" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldPrincipalID holds the string denoting the principal_id field in the database. FieldPrincipalID = "principal_id" // FieldGranted holds the string denoting the granted field in the database. FieldGranted = "granted" // FieldNote holds the string denoting the note field in the database. FieldNote = "note" // FieldSetByPrincipalID holds the string denoting the set_by_principal_id field in the database. FieldSetByPrincipalID = "set_by_principal_id" // Table holds the table name of the signupallowance in the database. Table = "sf_signup_allowances" )
Variables ¶
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // GrantedValidator is a validator for the "granted" field. It is called by the builders before save. GrantedValidator func(int) error // NoteValidator is a validator for the "note" field. It is called by the builders before save. NoteValidator func(string) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldPrincipalID, FieldGranted, FieldNote, FieldSetByPrincipalID, }
Columns holds all SQL columns for signupallowance fields.
Functions ¶
func And ¶
func And(predicates ...predicate.SignupAllowance) predicate.SignupAllowance
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.SignupAllowance
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.SignupAllowance
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.SignupAllowance
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.SignupAllowance
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.SignupAllowance
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.SignupAllowance
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.SignupAllowance
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.SignupAllowance
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.SignupAllowance
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Granted ¶
func Granted(v int) predicate.SignupAllowance
Granted applies equality check predicate on the "granted" field. It's identical to GrantedEQ.
func GrantedEQ ¶
func GrantedEQ(v int) predicate.SignupAllowance
GrantedEQ applies the EQ predicate on the "granted" field.
func GrantedGT ¶
func GrantedGT(v int) predicate.SignupAllowance
GrantedGT applies the GT predicate on the "granted" field.
func GrantedGTE ¶
func GrantedGTE(v int) predicate.SignupAllowance
GrantedGTE applies the GTE predicate on the "granted" field.
func GrantedIn ¶
func GrantedIn(vs ...int) predicate.SignupAllowance
GrantedIn applies the In predicate on the "granted" field.
func GrantedIsNil ¶
func GrantedIsNil() predicate.SignupAllowance
GrantedIsNil applies the IsNil predicate on the "granted" field.
func GrantedLT ¶
func GrantedLT(v int) predicate.SignupAllowance
GrantedLT applies the LT predicate on the "granted" field.
func GrantedLTE ¶
func GrantedLTE(v int) predicate.SignupAllowance
GrantedLTE applies the LTE predicate on the "granted" field.
func GrantedNEQ ¶
func GrantedNEQ(v int) predicate.SignupAllowance
GrantedNEQ applies the NEQ predicate on the "granted" field.
func GrantedNotIn ¶
func GrantedNotIn(vs ...int) predicate.SignupAllowance
GrantedNotIn applies the NotIn predicate on the "granted" field.
func GrantedNotNil ¶
func GrantedNotNil() predicate.SignupAllowance
GrantedNotNil applies the NotNil predicate on the "granted" field.
func ID ¶
func ID(id uuid.UUID) predicate.SignupAllowance
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.SignupAllowance
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.SignupAllowance
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.SignupAllowance
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.SignupAllowance
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.SignupAllowance
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.SignupAllowance
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.SignupAllowance
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.SignupAllowance
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.SignupAllowance) predicate.SignupAllowance
Not applies the not operator on the given predicate.
func Note ¶
func Note(v string) predicate.SignupAllowance
Note applies equality check predicate on the "note" field. It's identical to NoteEQ.
func NoteContains ¶
func NoteContains(v string) predicate.SignupAllowance
NoteContains applies the Contains predicate on the "note" field.
func NoteContainsFold ¶
func NoteContainsFold(v string) predicate.SignupAllowance
NoteContainsFold applies the ContainsFold predicate on the "note" field.
func NoteEQ ¶
func NoteEQ(v string) predicate.SignupAllowance
NoteEQ applies the EQ predicate on the "note" field.
func NoteEqualFold ¶
func NoteEqualFold(v string) predicate.SignupAllowance
NoteEqualFold applies the EqualFold predicate on the "note" field.
func NoteGT ¶
func NoteGT(v string) predicate.SignupAllowance
NoteGT applies the GT predicate on the "note" field.
func NoteGTE ¶
func NoteGTE(v string) predicate.SignupAllowance
NoteGTE applies the GTE predicate on the "note" field.
func NoteHasPrefix ¶
func NoteHasPrefix(v string) predicate.SignupAllowance
NoteHasPrefix applies the HasPrefix predicate on the "note" field.
func NoteHasSuffix ¶
func NoteHasSuffix(v string) predicate.SignupAllowance
NoteHasSuffix applies the HasSuffix predicate on the "note" field.
func NoteIn ¶
func NoteIn(vs ...string) predicate.SignupAllowance
NoteIn applies the In predicate on the "note" field.
func NoteIsNil ¶
func NoteIsNil() predicate.SignupAllowance
NoteIsNil applies the IsNil predicate on the "note" field.
func NoteLT ¶
func NoteLT(v string) predicate.SignupAllowance
NoteLT applies the LT predicate on the "note" field.
func NoteLTE ¶
func NoteLTE(v string) predicate.SignupAllowance
NoteLTE applies the LTE predicate on the "note" field.
func NoteNEQ ¶
func NoteNEQ(v string) predicate.SignupAllowance
NoteNEQ applies the NEQ predicate on the "note" field.
func NoteNotIn ¶
func NoteNotIn(vs ...string) predicate.SignupAllowance
NoteNotIn applies the NotIn predicate on the "note" field.
func NoteNotNil ¶
func NoteNotNil() predicate.SignupAllowance
NoteNotNil applies the NotNil predicate on the "note" field.
func Or ¶
func Or(predicates ...predicate.SignupAllowance) predicate.SignupAllowance
Or groups predicates with the OR operator between them.
func PrincipalID ¶
func PrincipalID(v uuid.UUID) predicate.SignupAllowance
PrincipalID applies equality check predicate on the "principal_id" field. It's identical to PrincipalIDEQ.
func PrincipalIDEQ ¶
func PrincipalIDEQ(v uuid.UUID) predicate.SignupAllowance
PrincipalIDEQ applies the EQ predicate on the "principal_id" field.
func PrincipalIDGT ¶
func PrincipalIDGT(v uuid.UUID) predicate.SignupAllowance
PrincipalIDGT applies the GT predicate on the "principal_id" field.
func PrincipalIDGTE ¶
func PrincipalIDGTE(v uuid.UUID) predicate.SignupAllowance
PrincipalIDGTE applies the GTE predicate on the "principal_id" field.
func PrincipalIDIn ¶
func PrincipalIDIn(vs ...uuid.UUID) predicate.SignupAllowance
PrincipalIDIn applies the In predicate on the "principal_id" field.
func PrincipalIDLT ¶
func PrincipalIDLT(v uuid.UUID) predicate.SignupAllowance
PrincipalIDLT applies the LT predicate on the "principal_id" field.
func PrincipalIDLTE ¶
func PrincipalIDLTE(v uuid.UUID) predicate.SignupAllowance
PrincipalIDLTE applies the LTE predicate on the "principal_id" field.
func PrincipalIDNEQ ¶
func PrincipalIDNEQ(v uuid.UUID) predicate.SignupAllowance
PrincipalIDNEQ applies the NEQ predicate on the "principal_id" field.
func PrincipalIDNotIn ¶
func PrincipalIDNotIn(vs ...uuid.UUID) predicate.SignupAllowance
PrincipalIDNotIn applies the NotIn predicate on the "principal_id" field.
func SetByPrincipalID ¶
func SetByPrincipalID(v uuid.UUID) predicate.SignupAllowance
SetByPrincipalID applies equality check predicate on the "set_by_principal_id" field. It's identical to SetByPrincipalIDEQ.
func SetByPrincipalIDEQ ¶
func SetByPrincipalIDEQ(v uuid.UUID) predicate.SignupAllowance
SetByPrincipalIDEQ applies the EQ predicate on the "set_by_principal_id" field.
func SetByPrincipalIDGT ¶
func SetByPrincipalIDGT(v uuid.UUID) predicate.SignupAllowance
SetByPrincipalIDGT applies the GT predicate on the "set_by_principal_id" field.
func SetByPrincipalIDGTE ¶
func SetByPrincipalIDGTE(v uuid.UUID) predicate.SignupAllowance
SetByPrincipalIDGTE applies the GTE predicate on the "set_by_principal_id" field.
func SetByPrincipalIDIn ¶
func SetByPrincipalIDIn(vs ...uuid.UUID) predicate.SignupAllowance
SetByPrincipalIDIn applies the In predicate on the "set_by_principal_id" field.
func SetByPrincipalIDIsNil ¶
func SetByPrincipalIDIsNil() predicate.SignupAllowance
SetByPrincipalIDIsNil applies the IsNil predicate on the "set_by_principal_id" field.
func SetByPrincipalIDLT ¶
func SetByPrincipalIDLT(v uuid.UUID) predicate.SignupAllowance
SetByPrincipalIDLT applies the LT predicate on the "set_by_principal_id" field.
func SetByPrincipalIDLTE ¶
func SetByPrincipalIDLTE(v uuid.UUID) predicate.SignupAllowance
SetByPrincipalIDLTE applies the LTE predicate on the "set_by_principal_id" field.
func SetByPrincipalIDNEQ ¶
func SetByPrincipalIDNEQ(v uuid.UUID) predicate.SignupAllowance
SetByPrincipalIDNEQ applies the NEQ predicate on the "set_by_principal_id" field.
func SetByPrincipalIDNotIn ¶
func SetByPrincipalIDNotIn(vs ...uuid.UUID) predicate.SignupAllowance
SetByPrincipalIDNotIn applies the NotIn predicate on the "set_by_principal_id" field.
func SetByPrincipalIDNotNil ¶
func SetByPrincipalIDNotNil() predicate.SignupAllowance
SetByPrincipalIDNotNil applies the NotNil predicate on the "set_by_principal_id" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.SignupAllowance
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.SignupAllowance
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.SignupAllowance
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.SignupAllowance
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.SignupAllowance
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.SignupAllowance
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.SignupAllowance
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.SignupAllowance
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.SignupAllowance
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" 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 SignupAllowance queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByGranted ¶
func ByGranted(opts ...sql.OrderTermOption) OrderOption
ByGranted orders the results by the granted field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByNote ¶
func ByNote(opts ...sql.OrderTermOption) OrderOption
ByNote orders the results by the note field.
func ByPrincipalID ¶
func ByPrincipalID(opts ...sql.OrderTermOption) OrderOption
ByPrincipalID orders the results by the principal_id field.
func BySetByPrincipalID ¶
func BySetByPrincipalID(opts ...sql.OrderTermOption) OrderOption
BySetByPrincipalID orders the results by the set_by_principal_id field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.