Help us shape the future of Go! Take the 2026 Go Developer Survey

signupallowance

package
v0.26.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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
)

Columns holds all SQL columns for signupallowance fields.

Functions

func And

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

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

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

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

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

Not applies the not operator on the given predicate.

func Note

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

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

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

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

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

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption

type OrderOption func(*sql.Selector)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL