Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.GroupInvitationToken) predicate.GroupInvitationToken
- func CreatedAt(v time.Time) predicate.GroupInvitationToken
- func CreatedAtEQ(v time.Time) predicate.GroupInvitationToken
- func CreatedAtGT(v time.Time) predicate.GroupInvitationToken
- func CreatedAtGTE(v time.Time) predicate.GroupInvitationToken
- func CreatedAtIn(vs ...time.Time) predicate.GroupInvitationToken
- func CreatedAtLT(v time.Time) predicate.GroupInvitationToken
- func CreatedAtLTE(v time.Time) predicate.GroupInvitationToken
- func CreatedAtNEQ(v time.Time) predicate.GroupInvitationToken
- func CreatedAtNotIn(vs ...time.Time) predicate.GroupInvitationToken
- func ExpiresAt(v time.Time) predicate.GroupInvitationToken
- func ExpiresAtEQ(v time.Time) predicate.GroupInvitationToken
- func ExpiresAtGT(v time.Time) predicate.GroupInvitationToken
- func ExpiresAtGTE(v time.Time) predicate.GroupInvitationToken
- func ExpiresAtIn(vs ...time.Time) predicate.GroupInvitationToken
- func ExpiresAtLT(v time.Time) predicate.GroupInvitationToken
- func ExpiresAtLTE(v time.Time) predicate.GroupInvitationToken
- func ExpiresAtNEQ(v time.Time) predicate.GroupInvitationToken
- func ExpiresAtNotIn(vs ...time.Time) predicate.GroupInvitationToken
- func HasGroup() predicate.GroupInvitationToken
- func HasGroupWith(preds ...predicate.Group) predicate.GroupInvitationToken
- func ID(id uuid.UUID) predicate.GroupInvitationToken
- func IDEQ(id uuid.UUID) predicate.GroupInvitationToken
- func IDGT(id uuid.UUID) predicate.GroupInvitationToken
- func IDGTE(id uuid.UUID) predicate.GroupInvitationToken
- func IDIn(ids ...uuid.UUID) predicate.GroupInvitationToken
- func IDLT(id uuid.UUID) predicate.GroupInvitationToken
- func IDLTE(id uuid.UUID) predicate.GroupInvitationToken
- func IDNEQ(id uuid.UUID) predicate.GroupInvitationToken
- func IDNotIn(ids ...uuid.UUID) predicate.GroupInvitationToken
- func Not(p predicate.GroupInvitationToken) predicate.GroupInvitationToken
- func Or(predicates ...predicate.GroupInvitationToken) predicate.GroupInvitationToken
- func Token(v []byte) predicate.GroupInvitationToken
- func TokenEQ(v []byte) predicate.GroupInvitationToken
- func TokenGT(v []byte) predicate.GroupInvitationToken
- func TokenGTE(v []byte) predicate.GroupInvitationToken
- func TokenIn(vs ...[]byte) predicate.GroupInvitationToken
- func TokenLT(v []byte) predicate.GroupInvitationToken
- func TokenLTE(v []byte) predicate.GroupInvitationToken
- func TokenNEQ(v []byte) predicate.GroupInvitationToken
- func TokenNotIn(vs ...[]byte) predicate.GroupInvitationToken
- func UpdatedAt(v time.Time) predicate.GroupInvitationToken
- func UpdatedAtEQ(v time.Time) predicate.GroupInvitationToken
- func UpdatedAtGT(v time.Time) predicate.GroupInvitationToken
- func UpdatedAtGTE(v time.Time) predicate.GroupInvitationToken
- func UpdatedAtIn(vs ...time.Time) predicate.GroupInvitationToken
- func UpdatedAtLT(v time.Time) predicate.GroupInvitationToken
- func UpdatedAtLTE(v time.Time) predicate.GroupInvitationToken
- func UpdatedAtNEQ(v time.Time) predicate.GroupInvitationToken
- func UpdatedAtNotIn(vs ...time.Time) predicate.GroupInvitationToken
- func Uses(v int) predicate.GroupInvitationToken
- func UsesEQ(v int) predicate.GroupInvitationToken
- func UsesGT(v int) predicate.GroupInvitationToken
- func UsesGTE(v int) predicate.GroupInvitationToken
- func UsesIn(vs ...int) predicate.GroupInvitationToken
- func UsesLT(v int) predicate.GroupInvitationToken
- func UsesLTE(v int) predicate.GroupInvitationToken
- func UsesNEQ(v int) predicate.GroupInvitationToken
- func UsesNotIn(vs ...int) predicate.GroupInvitationToken
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByExpiresAt(opts ...sql.OrderTermOption) OrderOption
- func ByGroupField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUses(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the groupinvitationtoken type in the database. Label = "group_invitation_token" // 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" // FieldToken holds the string denoting the token field in the database. FieldToken = "token" // FieldExpiresAt holds the string denoting the expires_at field in the database. FieldExpiresAt = "expires_at" // FieldUses holds the string denoting the uses field in the database. FieldUses = "uses" // EdgeGroup holds the string denoting the group edge name in mutations. EdgeGroup = "group" // Table holds the table name of the groupinvitationtoken in the database. Table = "group_invitation_tokens" // GroupTable is the table that holds the group relation/edge. GroupTable = "group_invitation_tokens" // GroupInverseTable is the table name for the Group entity. // It exists in this package in order to avoid circular dependency with the "group" package. GroupInverseTable = "groups" // GroupColumn is the table column denoting the group relation/edge. GroupColumn = "group_invitation_tokens" )
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 // DefaultExpiresAt holds the default value on creation for the "expires_at" field. DefaultExpiresAt func() time.Time // DefaultUses holds the default value on creation for the "uses" field. DefaultUses int // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldToken, FieldExpiresAt, FieldUses, }
Columns holds all SQL columns for groupinvitationtoken fields.
var ForeignKeys = []string{
"group_invitation_tokens",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "group_invitation_tokens" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.GroupInvitationToken) predicate.GroupInvitationToken
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.GroupInvitationToken
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.GroupInvitationToken
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.GroupInvitationToken
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.GroupInvitationToken
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.GroupInvitationToken
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.GroupInvitationToken
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.GroupInvitationToken
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.GroupInvitationToken
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.GroupInvitationToken
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func ExpiresAt ¶
func ExpiresAt(v time.Time) predicate.GroupInvitationToken
ExpiresAt applies equality check predicate on the "expires_at" field. It's identical to ExpiresAtEQ.
func ExpiresAtEQ ¶
func ExpiresAtEQ(v time.Time) predicate.GroupInvitationToken
ExpiresAtEQ applies the EQ predicate on the "expires_at" field.
func ExpiresAtGT ¶
func ExpiresAtGT(v time.Time) predicate.GroupInvitationToken
ExpiresAtGT applies the GT predicate on the "expires_at" field.
func ExpiresAtGTE ¶
func ExpiresAtGTE(v time.Time) predicate.GroupInvitationToken
ExpiresAtGTE applies the GTE predicate on the "expires_at" field.
func ExpiresAtIn ¶
func ExpiresAtIn(vs ...time.Time) predicate.GroupInvitationToken
ExpiresAtIn applies the In predicate on the "expires_at" field.
func ExpiresAtLT ¶
func ExpiresAtLT(v time.Time) predicate.GroupInvitationToken
ExpiresAtLT applies the LT predicate on the "expires_at" field.
func ExpiresAtLTE ¶
func ExpiresAtLTE(v time.Time) predicate.GroupInvitationToken
ExpiresAtLTE applies the LTE predicate on the "expires_at" field.
func ExpiresAtNEQ ¶
func ExpiresAtNEQ(v time.Time) predicate.GroupInvitationToken
ExpiresAtNEQ applies the NEQ predicate on the "expires_at" field.
func ExpiresAtNotIn ¶
func ExpiresAtNotIn(vs ...time.Time) predicate.GroupInvitationToken
ExpiresAtNotIn applies the NotIn predicate on the "expires_at" field.
func HasGroup ¶
func HasGroup() predicate.GroupInvitationToken
HasGroup applies the HasEdge predicate on the "group" edge.
func HasGroupWith ¶
func HasGroupWith(preds ...predicate.Group) predicate.GroupInvitationToken
HasGroupWith applies the HasEdge predicate on the "group" edge with a given conditions (other predicates).
func ID ¶
func ID(id uuid.UUID) predicate.GroupInvitationToken
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.GroupInvitationToken
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.GroupInvitationToken
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.GroupInvitationToken
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.GroupInvitationToken
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.GroupInvitationToken
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.GroupInvitationToken
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.GroupInvitationToken
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.GroupInvitationToken
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.GroupInvitationToken) predicate.GroupInvitationToken
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.GroupInvitationToken) predicate.GroupInvitationToken
Or groups predicates with the OR operator between them.
func Token ¶
func Token(v []byte) predicate.GroupInvitationToken
Token applies equality check predicate on the "token" field. It's identical to TokenEQ.
func TokenEQ ¶
func TokenEQ(v []byte) predicate.GroupInvitationToken
TokenEQ applies the EQ predicate on the "token" field.
func TokenGT ¶
func TokenGT(v []byte) predicate.GroupInvitationToken
TokenGT applies the GT predicate on the "token" field.
func TokenGTE ¶
func TokenGTE(v []byte) predicate.GroupInvitationToken
TokenGTE applies the GTE predicate on the "token" field.
func TokenIn ¶
func TokenIn(vs ...[]byte) predicate.GroupInvitationToken
TokenIn applies the In predicate on the "token" field.
func TokenLT ¶
func TokenLT(v []byte) predicate.GroupInvitationToken
TokenLT applies the LT predicate on the "token" field.
func TokenLTE ¶
func TokenLTE(v []byte) predicate.GroupInvitationToken
TokenLTE applies the LTE predicate on the "token" field.
func TokenNEQ ¶
func TokenNEQ(v []byte) predicate.GroupInvitationToken
TokenNEQ applies the NEQ predicate on the "token" field.
func TokenNotIn ¶
func TokenNotIn(vs ...[]byte) predicate.GroupInvitationToken
TokenNotIn applies the NotIn predicate on the "token" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.GroupInvitationToken
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.GroupInvitationToken
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.GroupInvitationToken
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.GroupInvitationToken
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.GroupInvitationToken
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.GroupInvitationToken
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.GroupInvitationToken
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.GroupInvitationToken
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.GroupInvitationToken
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func Uses ¶
func Uses(v int) predicate.GroupInvitationToken
Uses applies equality check predicate on the "uses" field. It's identical to UsesEQ.
func UsesEQ ¶
func UsesEQ(v int) predicate.GroupInvitationToken
UsesEQ applies the EQ predicate on the "uses" field.
func UsesGT ¶
func UsesGT(v int) predicate.GroupInvitationToken
UsesGT applies the GT predicate on the "uses" field.
func UsesGTE ¶
func UsesGTE(v int) predicate.GroupInvitationToken
UsesGTE applies the GTE predicate on the "uses" field.
func UsesIn ¶
func UsesIn(vs ...int) predicate.GroupInvitationToken
UsesIn applies the In predicate on the "uses" field.
func UsesLT ¶
func UsesLT(v int) predicate.GroupInvitationToken
UsesLT applies the LT predicate on the "uses" field.
func UsesLTE ¶
func UsesLTE(v int) predicate.GroupInvitationToken
UsesLTE applies the LTE predicate on the "uses" field.
func UsesNEQ ¶
func UsesNEQ(v int) predicate.GroupInvitationToken
UsesNEQ applies the NEQ predicate on the "uses" field.
func UsesNotIn ¶
func UsesNotIn(vs ...int) predicate.GroupInvitationToken
UsesNotIn applies the NotIn predicate on the "uses" 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 GroupInvitationToken queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByExpiresAt ¶
func ByExpiresAt(opts ...sql.OrderTermOption) OrderOption
ByExpiresAt orders the results by the expires_at field.
func ByGroupField ¶
func ByGroupField(field string, opts ...sql.OrderTermOption) OrderOption
ByGroupField orders the results by group field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUses ¶
func ByUses(opts ...sql.OrderTermOption) OrderOption
ByUses orders the results by the uses field.