Documentation
¶
Index ¶
- Constants
- Variables
- func AcceptedAt(v time.Time) predicate.Invite
- func AcceptedAtEQ(v time.Time) predicate.Invite
- func AcceptedAtGT(v time.Time) predicate.Invite
- func AcceptedAtGTE(v time.Time) predicate.Invite
- func AcceptedAtIn(vs ...time.Time) predicate.Invite
- func AcceptedAtIsNil() predicate.Invite
- func AcceptedAtLT(v time.Time) predicate.Invite
- func AcceptedAtLTE(v time.Time) predicate.Invite
- func AcceptedAtNEQ(v time.Time) predicate.Invite
- func AcceptedAtNotIn(vs ...time.Time) predicate.Invite
- func AcceptedAtNotNil() predicate.Invite
- func AcceptedByPrincipalID(v uuid.UUID) predicate.Invite
- func AcceptedByPrincipalIDEQ(v uuid.UUID) predicate.Invite
- func AcceptedByPrincipalIDGT(v uuid.UUID) predicate.Invite
- func AcceptedByPrincipalIDGTE(v uuid.UUID) predicate.Invite
- func AcceptedByPrincipalIDIn(vs ...uuid.UUID) predicate.Invite
- func AcceptedByPrincipalIDIsNil() predicate.Invite
- func AcceptedByPrincipalIDLT(v uuid.UUID) predicate.Invite
- func AcceptedByPrincipalIDLTE(v uuid.UUID) predicate.Invite
- func AcceptedByPrincipalIDNEQ(v uuid.UUID) predicate.Invite
- func AcceptedByPrincipalIDNotIn(vs ...uuid.UUID) predicate.Invite
- func AcceptedByPrincipalIDNotNil() predicate.Invite
- func And(predicates ...predicate.Invite) predicate.Invite
- func AppRolesIsNil() predicate.Invite
- func AppRolesNotNil() predicate.Invite
- func CreatedAt(v time.Time) predicate.Invite
- func CreatedAtEQ(v time.Time) predicate.Invite
- func CreatedAtGT(v time.Time) predicate.Invite
- func CreatedAtGTE(v time.Time) predicate.Invite
- func CreatedAtIn(vs ...time.Time) predicate.Invite
- func CreatedAtLT(v time.Time) predicate.Invite
- func CreatedAtLTE(v time.Time) predicate.Invite
- func CreatedAtNEQ(v time.Time) predicate.Invite
- func CreatedAtNotIn(vs ...time.Time) predicate.Invite
- func Email(v string) predicate.Invite
- func EmailContains(v string) predicate.Invite
- func EmailContainsFold(v string) predicate.Invite
- func EmailEQ(v string) predicate.Invite
- func EmailEqualFold(v string) predicate.Invite
- func EmailGT(v string) predicate.Invite
- func EmailGTE(v string) predicate.Invite
- func EmailHasPrefix(v string) predicate.Invite
- func EmailHasSuffix(v string) predicate.Invite
- func EmailIn(vs ...string) predicate.Invite
- func EmailLT(v string) predicate.Invite
- func EmailLTE(v string) predicate.Invite
- func EmailNEQ(v string) predicate.Invite
- func EmailNotIn(vs ...string) predicate.Invite
- func ExpiresAt(v time.Time) predicate.Invite
- func ExpiresAtEQ(v time.Time) predicate.Invite
- func ExpiresAtGT(v time.Time) predicate.Invite
- func ExpiresAtGTE(v time.Time) predicate.Invite
- func ExpiresAtIn(vs ...time.Time) predicate.Invite
- func ExpiresAtLT(v time.Time) predicate.Invite
- func ExpiresAtLTE(v time.Time) predicate.Invite
- func ExpiresAtNEQ(v time.Time) predicate.Invite
- func ExpiresAtNotIn(vs ...time.Time) predicate.Invite
- func HasInviter() predicate.Invite
- func HasInviterWith(preds ...predicate.Principal) predicate.Invite
- func HasOrganization() predicate.Invite
- func HasOrganizationWith(preds ...predicate.Organization) predicate.Invite
- func ID(id uuid.UUID) predicate.Invite
- func IDEQ(id uuid.UUID) predicate.Invite
- func IDGT(id uuid.UUID) predicate.Invite
- func IDGTE(id uuid.UUID) predicate.Invite
- func IDIn(ids ...uuid.UUID) predicate.Invite
- func IDLT(id uuid.UUID) predicate.Invite
- func IDLTE(id uuid.UUID) predicate.Invite
- func IDNEQ(id uuid.UUID) predicate.Invite
- func IDNotIn(ids ...uuid.UUID) predicate.Invite
- func InviterPrincipalID(v uuid.UUID) predicate.Invite
- func InviterPrincipalIDEQ(v uuid.UUID) predicate.Invite
- func InviterPrincipalIDIn(vs ...uuid.UUID) predicate.Invite
- func InviterPrincipalIDNEQ(v uuid.UUID) predicate.Invite
- func InviterPrincipalIDNotIn(vs ...uuid.UUID) predicate.Invite
- func LastSentAt(v time.Time) predicate.Invite
- func LastSentAtEQ(v time.Time) predicate.Invite
- func LastSentAtGT(v time.Time) predicate.Invite
- func LastSentAtGTE(v time.Time) predicate.Invite
- func LastSentAtIn(vs ...time.Time) predicate.Invite
- func LastSentAtLT(v time.Time) predicate.Invite
- func LastSentAtLTE(v time.Time) predicate.Invite
- func LastSentAtNEQ(v time.Time) predicate.Invite
- func LastSentAtNotIn(vs ...time.Time) predicate.Invite
- func Message(v string) predicate.Invite
- func MessageContains(v string) predicate.Invite
- func MessageContainsFold(v string) predicate.Invite
- func MessageEQ(v string) predicate.Invite
- func MessageEqualFold(v string) predicate.Invite
- func MessageGT(v string) predicate.Invite
- func MessageGTE(v string) predicate.Invite
- func MessageHasPrefix(v string) predicate.Invite
- func MessageHasSuffix(v string) predicate.Invite
- func MessageIn(vs ...string) predicate.Invite
- func MessageIsNil() predicate.Invite
- func MessageLT(v string) predicate.Invite
- func MessageLTE(v string) predicate.Invite
- func MessageNEQ(v string) predicate.Invite
- func MessageNotIn(vs ...string) predicate.Invite
- func MessageNotNil() predicate.Invite
- func Not(p predicate.Invite) predicate.Invite
- func Or(predicates ...predicate.Invite) predicate.Invite
- func OrganizationID(v uuid.UUID) predicate.Invite
- func OrganizationIDEQ(v uuid.UUID) predicate.Invite
- func OrganizationIDIn(vs ...uuid.UUID) predicate.Invite
- func OrganizationIDNEQ(v uuid.UUID) predicate.Invite
- func OrganizationIDNotIn(vs ...uuid.UUID) predicate.Invite
- func ResendCount(v int) predicate.Invite
- func ResendCountEQ(v int) predicate.Invite
- func ResendCountGT(v int) predicate.Invite
- func ResendCountGTE(v int) predicate.Invite
- func ResendCountIn(vs ...int) predicate.Invite
- func ResendCountLT(v int) predicate.Invite
- func ResendCountLTE(v int) predicate.Invite
- func ResendCountNEQ(v int) predicate.Invite
- func ResendCountNotIn(vs ...int) predicate.Invite
- func ResourceID(v string) predicate.Invite
- func ResourceIDContains(v string) predicate.Invite
- func ResourceIDContainsFold(v string) predicate.Invite
- func ResourceIDEQ(v string) predicate.Invite
- func ResourceIDEqualFold(v string) predicate.Invite
- func ResourceIDGT(v string) predicate.Invite
- func ResourceIDGTE(v string) predicate.Invite
- func ResourceIDHasPrefix(v string) predicate.Invite
- func ResourceIDHasSuffix(v string) predicate.Invite
- func ResourceIDIn(vs ...string) predicate.Invite
- func ResourceIDIsNil() predicate.Invite
- func ResourceIDLT(v string) predicate.Invite
- func ResourceIDLTE(v string) predicate.Invite
- func ResourceIDNEQ(v string) predicate.Invite
- func ResourceIDNotIn(vs ...string) predicate.Invite
- func ResourceIDNotNil() predicate.Invite
- func ResourceRole(v string) predicate.Invite
- func ResourceRoleContains(v string) predicate.Invite
- func ResourceRoleContainsFold(v string) predicate.Invite
- func ResourceRoleEQ(v string) predicate.Invite
- func ResourceRoleEqualFold(v string) predicate.Invite
- func ResourceRoleGT(v string) predicate.Invite
- func ResourceRoleGTE(v string) predicate.Invite
- func ResourceRoleHasPrefix(v string) predicate.Invite
- func ResourceRoleHasSuffix(v string) predicate.Invite
- func ResourceRoleIn(vs ...string) predicate.Invite
- func ResourceRoleIsNil() predicate.Invite
- func ResourceRoleLT(v string) predicate.Invite
- func ResourceRoleLTE(v string) predicate.Invite
- func ResourceRoleNEQ(v string) predicate.Invite
- func ResourceRoleNotIn(vs ...string) predicate.Invite
- func ResourceRoleNotNil() predicate.Invite
- func ResourceType(v string) predicate.Invite
- func ResourceTypeContains(v string) predicate.Invite
- func ResourceTypeContainsFold(v string) predicate.Invite
- func ResourceTypeEQ(v string) predicate.Invite
- func ResourceTypeEqualFold(v string) predicate.Invite
- func ResourceTypeGT(v string) predicate.Invite
- func ResourceTypeGTE(v string) predicate.Invite
- func ResourceTypeHasPrefix(v string) predicate.Invite
- func ResourceTypeHasSuffix(v string) predicate.Invite
- func ResourceTypeIn(vs ...string) predicate.Invite
- func ResourceTypeIsNil() predicate.Invite
- func ResourceTypeLT(v string) predicate.Invite
- func ResourceTypeLTE(v string) predicate.Invite
- func ResourceTypeNEQ(v string) predicate.Invite
- func ResourceTypeNotIn(vs ...string) predicate.Invite
- func ResourceTypeNotNil() predicate.Invite
- func Role(v string) predicate.Invite
- func RoleContains(v string) predicate.Invite
- func RoleContainsFold(v string) predicate.Invite
- func RoleEQ(v string) predicate.Invite
- func RoleEqualFold(v string) predicate.Invite
- func RoleGT(v string) predicate.Invite
- func RoleGTE(v string) predicate.Invite
- func RoleHasPrefix(v string) predicate.Invite
- func RoleHasSuffix(v string) predicate.Invite
- func RoleIn(vs ...string) predicate.Invite
- func RoleLT(v string) predicate.Invite
- func RoleLTE(v string) predicate.Invite
- func RoleNEQ(v string) predicate.Invite
- func RoleNotIn(vs ...string) predicate.Invite
- func StatusEQ(v Status) predicate.Invite
- func StatusIn(vs ...Status) predicate.Invite
- func StatusNEQ(v Status) predicate.Invite
- func StatusNotIn(vs ...Status) predicate.Invite
- func StatusValidator(s Status) error
- func Token(v string) predicate.Invite
- func TokenContains(v string) predicate.Invite
- func TokenContainsFold(v string) predicate.Invite
- func TokenEQ(v string) predicate.Invite
- func TokenEqualFold(v string) predicate.Invite
- func TokenGT(v string) predicate.Invite
- func TokenGTE(v string) predicate.Invite
- func TokenHasPrefix(v string) predicate.Invite
- func TokenHasSuffix(v string) predicate.Invite
- func TokenIn(vs ...string) predicate.Invite
- func TokenLT(v string) predicate.Invite
- func TokenLTE(v string) predicate.Invite
- func TokenNEQ(v string) predicate.Invite
- func TokenNotIn(vs ...string) predicate.Invite
- func UpdatedAt(v time.Time) predicate.Invite
- func UpdatedAtEQ(v time.Time) predicate.Invite
- func UpdatedAtGT(v time.Time) predicate.Invite
- func UpdatedAtGTE(v time.Time) predicate.Invite
- func UpdatedAtIn(vs ...time.Time) predicate.Invite
- func UpdatedAtLT(v time.Time) predicate.Invite
- func UpdatedAtLTE(v time.Time) predicate.Invite
- func UpdatedAtNEQ(v time.Time) predicate.Invite
- func UpdatedAtNotIn(vs ...time.Time) predicate.Invite
- func ValidColumn(column string) bool
- type OrderOption
- func ByAcceptedAt(opts ...sql.OrderTermOption) OrderOption
- func ByAcceptedByPrincipalID(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByEmail(opts ...sql.OrderTermOption) OrderOption
- func ByExpiresAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByInviterField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByInviterPrincipalID(opts ...sql.OrderTermOption) OrderOption
- func ByLastSentAt(opts ...sql.OrderTermOption) OrderOption
- func ByMessage(opts ...sql.OrderTermOption) OrderOption
- func ByOrganizationField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByOrganizationID(opts ...sql.OrderTermOption) OrderOption
- func ByResendCount(opts ...sql.OrderTermOption) OrderOption
- func ByResourceID(opts ...sql.OrderTermOption) OrderOption
- func ByResourceRole(opts ...sql.OrderTermOption) OrderOption
- func ByResourceType(opts ...sql.OrderTermOption) OrderOption
- func ByRole(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByToken(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- type Status
Constants ¶
const ( // Label holds the string label denoting the invite type in the database. Label = "invite" // 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" // FieldOrganizationID holds the string denoting the organization_id field in the database. FieldOrganizationID = "organization_id" // FieldInviterPrincipalID holds the string denoting the inviter_principal_id field in the database. FieldInviterPrincipalID = "inviter_principal_id" // FieldEmail holds the string denoting the email field in the database. FieldEmail = "email" // FieldRole holds the string denoting the role field in the database. FieldRole = "role" // FieldAppRoles holds the string denoting the app_roles field in the database. FieldAppRoles = "app_roles" // FieldResourceType holds the string denoting the resource_type field in the database. FieldResourceType = "resource_type" // FieldResourceID holds the string denoting the resource_id field in the database. FieldResourceID = "resource_id" // FieldResourceRole holds the string denoting the resource_role field in the database. FieldResourceRole = "resource_role" // FieldToken holds the string denoting the token field in the database. FieldToken = "token" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldMessage holds the string denoting the message field in the database. FieldMessage = "message" // FieldExpiresAt holds the string denoting the expires_at field in the database. FieldExpiresAt = "expires_at" // FieldAcceptedAt holds the string denoting the accepted_at field in the database. FieldAcceptedAt = "accepted_at" // FieldAcceptedByPrincipalID holds the string denoting the accepted_by_principal_id field in the database. FieldAcceptedByPrincipalID = "accepted_by_principal_id" // FieldResendCount holds the string denoting the resend_count field in the database. FieldResendCount = "resend_count" // FieldLastSentAt holds the string denoting the last_sent_at field in the database. FieldLastSentAt = "last_sent_at" // EdgeOrganization holds the string denoting the organization edge name in mutations. EdgeOrganization = "organization" // EdgeInviter holds the string denoting the inviter edge name in mutations. EdgeInviter = "inviter" // Table holds the table name of the invite in the database. Table = "sf_invites" // OrganizationTable is the table that holds the organization relation/edge. OrganizationTable = "sf_invites" // OrganizationInverseTable is the table name for the Organization entity. // It exists in this package in order to avoid circular dependency with the "organization" package. OrganizationInverseTable = "sf_organizations" // OrganizationColumn is the table column denoting the organization relation/edge. OrganizationColumn = "organization_id" // InviterTable is the table that holds the inviter relation/edge. InviterTable = "sf_invites" // InviterInverseTable is the table name for the Principal entity. // It exists in this package in order to avoid circular dependency with the "principal" package. InviterInverseTable = "sf_principals" // InviterColumn is the table column denoting the inviter relation/edge. InviterColumn = "inviter_principal_id" )
const DefaultStatus = StatusPending
StatusPending is the default value of the Status enum.
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 // EmailValidator is a validator for the "email" field. It is called by the builders before save. EmailValidator func(string) error // DefaultRole holds the default value on creation for the "role" field. DefaultRole string // RoleValidator is a validator for the "role" field. It is called by the builders before save. RoleValidator func(string) error // ResourceTypeValidator is a validator for the "resource_type" field. It is called by the builders before save. ResourceTypeValidator func(string) error // ResourceIDValidator is a validator for the "resource_id" field. It is called by the builders before save. ResourceIDValidator func(string) error // TokenValidator is a validator for the "token" field. It is called by the builders before save. TokenValidator func(string) error // DefaultResendCount holds the default value on creation for the "resend_count" field. DefaultResendCount int // DefaultLastSentAt holds the default value on creation for the "last_sent_at" field. DefaultLastSentAt func() time.Time // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldOrganizationID, FieldInviterPrincipalID, FieldEmail, FieldRole, FieldAppRoles, FieldResourceType, FieldResourceID, FieldResourceRole, FieldToken, FieldStatus, FieldMessage, FieldExpiresAt, FieldAcceptedAt, FieldAcceptedByPrincipalID, FieldResendCount, FieldLastSentAt, }
Columns holds all SQL columns for invite fields.
Functions ¶
func AcceptedAt ¶
AcceptedAt applies equality check predicate on the "accepted_at" field. It's identical to AcceptedAtEQ.
func AcceptedAtEQ ¶
AcceptedAtEQ applies the EQ predicate on the "accepted_at" field.
func AcceptedAtGT ¶
AcceptedAtGT applies the GT predicate on the "accepted_at" field.
func AcceptedAtGTE ¶
AcceptedAtGTE applies the GTE predicate on the "accepted_at" field.
func AcceptedAtIn ¶
AcceptedAtIn applies the In predicate on the "accepted_at" field.
func AcceptedAtIsNil ¶
AcceptedAtIsNil applies the IsNil predicate on the "accepted_at" field.
func AcceptedAtLT ¶
AcceptedAtLT applies the LT predicate on the "accepted_at" field.
func AcceptedAtLTE ¶
AcceptedAtLTE applies the LTE predicate on the "accepted_at" field.
func AcceptedAtNEQ ¶
AcceptedAtNEQ applies the NEQ predicate on the "accepted_at" field.
func AcceptedAtNotIn ¶
AcceptedAtNotIn applies the NotIn predicate on the "accepted_at" field.
func AcceptedAtNotNil ¶
AcceptedAtNotNil applies the NotNil predicate on the "accepted_at" field.
func AcceptedByPrincipalID ¶
AcceptedByPrincipalID applies equality check predicate on the "accepted_by_principal_id" field. It's identical to AcceptedByPrincipalIDEQ.
func AcceptedByPrincipalIDEQ ¶
AcceptedByPrincipalIDEQ applies the EQ predicate on the "accepted_by_principal_id" field.
func AcceptedByPrincipalIDGT ¶
AcceptedByPrincipalIDGT applies the GT predicate on the "accepted_by_principal_id" field.
func AcceptedByPrincipalIDGTE ¶
AcceptedByPrincipalIDGTE applies the GTE predicate on the "accepted_by_principal_id" field.
func AcceptedByPrincipalIDIn ¶
AcceptedByPrincipalIDIn applies the In predicate on the "accepted_by_principal_id" field.
func AcceptedByPrincipalIDIsNil ¶
AcceptedByPrincipalIDIsNil applies the IsNil predicate on the "accepted_by_principal_id" field.
func AcceptedByPrincipalIDLT ¶
AcceptedByPrincipalIDLT applies the LT predicate on the "accepted_by_principal_id" field.
func AcceptedByPrincipalIDLTE ¶
AcceptedByPrincipalIDLTE applies the LTE predicate on the "accepted_by_principal_id" field.
func AcceptedByPrincipalIDNEQ ¶
AcceptedByPrincipalIDNEQ applies the NEQ predicate on the "accepted_by_principal_id" field.
func AcceptedByPrincipalIDNotIn ¶
AcceptedByPrincipalIDNotIn applies the NotIn predicate on the "accepted_by_principal_id" field.
func AcceptedByPrincipalIDNotNil ¶
AcceptedByPrincipalIDNotNil applies the NotNil predicate on the "accepted_by_principal_id" field.
func AppRolesIsNil ¶ added in v0.14.0
AppRolesIsNil applies the IsNil predicate on the "app_roles" field.
func AppRolesNotNil ¶ added in v0.14.0
AppRolesNotNil applies the NotNil predicate on the "app_roles" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Email ¶
Email applies equality check predicate on the "email" field. It's identical to EmailEQ.
func EmailContains ¶
EmailContains applies the Contains predicate on the "email" field.
func EmailContainsFold ¶
EmailContainsFold applies the ContainsFold predicate on the "email" field.
func EmailEqualFold ¶
EmailEqualFold applies the EqualFold predicate on the "email" field.
func EmailHasPrefix ¶
EmailHasPrefix applies the HasPrefix predicate on the "email" field.
func EmailHasSuffix ¶
EmailHasSuffix applies the HasSuffix predicate on the "email" field.
func EmailNotIn ¶
EmailNotIn applies the NotIn predicate on the "email" field.
func ExpiresAt ¶
ExpiresAt applies equality check predicate on the "expires_at" field. It's identical to ExpiresAtEQ.
func ExpiresAtEQ ¶
ExpiresAtEQ applies the EQ predicate on the "expires_at" field.
func ExpiresAtGT ¶
ExpiresAtGT applies the GT predicate on the "expires_at" field.
func ExpiresAtGTE ¶
ExpiresAtGTE applies the GTE predicate on the "expires_at" field.
func ExpiresAtIn ¶
ExpiresAtIn applies the In predicate on the "expires_at" field.
func ExpiresAtLT ¶
ExpiresAtLT applies the LT predicate on the "expires_at" field.
func ExpiresAtLTE ¶
ExpiresAtLTE applies the LTE predicate on the "expires_at" field.
func ExpiresAtNEQ ¶
ExpiresAtNEQ applies the NEQ predicate on the "expires_at" field.
func ExpiresAtNotIn ¶
ExpiresAtNotIn applies the NotIn predicate on the "expires_at" field.
func HasInviter ¶
HasInviter applies the HasEdge predicate on the "inviter" edge.
func HasInviterWith ¶
HasInviterWith applies the HasEdge predicate on the "inviter" edge with a given conditions (other predicates).
func HasOrganization ¶
HasOrganization applies the HasEdge predicate on the "organization" edge.
func HasOrganizationWith ¶
func HasOrganizationWith(preds ...predicate.Organization) predicate.Invite
HasOrganizationWith applies the HasEdge predicate on the "organization" edge with a given conditions (other predicates).
func InviterPrincipalID ¶
InviterPrincipalID applies equality check predicate on the "inviter_principal_id" field. It's identical to InviterPrincipalIDEQ.
func InviterPrincipalIDEQ ¶
InviterPrincipalIDEQ applies the EQ predicate on the "inviter_principal_id" field.
func InviterPrincipalIDIn ¶
InviterPrincipalIDIn applies the In predicate on the "inviter_principal_id" field.
func InviterPrincipalIDNEQ ¶
InviterPrincipalIDNEQ applies the NEQ predicate on the "inviter_principal_id" field.
func InviterPrincipalIDNotIn ¶
InviterPrincipalIDNotIn applies the NotIn predicate on the "inviter_principal_id" field.
func LastSentAt ¶
LastSentAt applies equality check predicate on the "last_sent_at" field. It's identical to LastSentAtEQ.
func LastSentAtEQ ¶
LastSentAtEQ applies the EQ predicate on the "last_sent_at" field.
func LastSentAtGT ¶
LastSentAtGT applies the GT predicate on the "last_sent_at" field.
func LastSentAtGTE ¶
LastSentAtGTE applies the GTE predicate on the "last_sent_at" field.
func LastSentAtIn ¶
LastSentAtIn applies the In predicate on the "last_sent_at" field.
func LastSentAtLT ¶
LastSentAtLT applies the LT predicate on the "last_sent_at" field.
func LastSentAtLTE ¶
LastSentAtLTE applies the LTE predicate on the "last_sent_at" field.
func LastSentAtNEQ ¶
LastSentAtNEQ applies the NEQ predicate on the "last_sent_at" field.
func LastSentAtNotIn ¶
LastSentAtNotIn applies the NotIn predicate on the "last_sent_at" field.
func Message ¶
Message applies equality check predicate on the "message" field. It's identical to MessageEQ.
func MessageContains ¶
MessageContains applies the Contains predicate on the "message" field.
func MessageContainsFold ¶
MessageContainsFold applies the ContainsFold predicate on the "message" field.
func MessageEqualFold ¶
MessageEqualFold applies the EqualFold predicate on the "message" field.
func MessageGTE ¶
MessageGTE applies the GTE predicate on the "message" field.
func MessageHasPrefix ¶
MessageHasPrefix applies the HasPrefix predicate on the "message" field.
func MessageHasSuffix ¶
MessageHasSuffix applies the HasSuffix predicate on the "message" field.
func MessageIsNil ¶
MessageIsNil applies the IsNil predicate on the "message" field.
func MessageLTE ¶
MessageLTE applies the LTE predicate on the "message" field.
func MessageNEQ ¶
MessageNEQ applies the NEQ predicate on the "message" field.
func MessageNotIn ¶
MessageNotIn applies the NotIn predicate on the "message" field.
func MessageNotNil ¶
MessageNotNil applies the NotNil predicate on the "message" field.
func OrganizationID ¶
OrganizationID applies equality check predicate on the "organization_id" field. It's identical to OrganizationIDEQ.
func OrganizationIDEQ ¶
OrganizationIDEQ applies the EQ predicate on the "organization_id" field.
func OrganizationIDIn ¶
OrganizationIDIn applies the In predicate on the "organization_id" field.
func OrganizationIDNEQ ¶
OrganizationIDNEQ applies the NEQ predicate on the "organization_id" field.
func OrganizationIDNotIn ¶
OrganizationIDNotIn applies the NotIn predicate on the "organization_id" field.
func ResendCount ¶
ResendCount applies equality check predicate on the "resend_count" field. It's identical to ResendCountEQ.
func ResendCountEQ ¶
ResendCountEQ applies the EQ predicate on the "resend_count" field.
func ResendCountGT ¶
ResendCountGT applies the GT predicate on the "resend_count" field.
func ResendCountGTE ¶
ResendCountGTE applies the GTE predicate on the "resend_count" field.
func ResendCountIn ¶
ResendCountIn applies the In predicate on the "resend_count" field.
func ResendCountLT ¶
ResendCountLT applies the LT predicate on the "resend_count" field.
func ResendCountLTE ¶
ResendCountLTE applies the LTE predicate on the "resend_count" field.
func ResendCountNEQ ¶
ResendCountNEQ applies the NEQ predicate on the "resend_count" field.
func ResendCountNotIn ¶
ResendCountNotIn applies the NotIn predicate on the "resend_count" field.
func ResourceID ¶ added in v0.14.0
ResourceID applies equality check predicate on the "resource_id" field. It's identical to ResourceIDEQ.
func ResourceIDContains ¶ added in v0.14.0
ResourceIDContains applies the Contains predicate on the "resource_id" field.
func ResourceIDContainsFold ¶ added in v0.14.0
ResourceIDContainsFold applies the ContainsFold predicate on the "resource_id" field.
func ResourceIDEQ ¶ added in v0.14.0
ResourceIDEQ applies the EQ predicate on the "resource_id" field.
func ResourceIDEqualFold ¶ added in v0.14.0
ResourceIDEqualFold applies the EqualFold predicate on the "resource_id" field.
func ResourceIDGT ¶ added in v0.14.0
ResourceIDGT applies the GT predicate on the "resource_id" field.
func ResourceIDGTE ¶ added in v0.14.0
ResourceIDGTE applies the GTE predicate on the "resource_id" field.
func ResourceIDHasPrefix ¶ added in v0.14.0
ResourceIDHasPrefix applies the HasPrefix predicate on the "resource_id" field.
func ResourceIDHasSuffix ¶ added in v0.14.0
ResourceIDHasSuffix applies the HasSuffix predicate on the "resource_id" field.
func ResourceIDIn ¶ added in v0.14.0
ResourceIDIn applies the In predicate on the "resource_id" field.
func ResourceIDIsNil ¶ added in v0.14.0
ResourceIDIsNil applies the IsNil predicate on the "resource_id" field.
func ResourceIDLT ¶ added in v0.14.0
ResourceIDLT applies the LT predicate on the "resource_id" field.
func ResourceIDLTE ¶ added in v0.14.0
ResourceIDLTE applies the LTE predicate on the "resource_id" field.
func ResourceIDNEQ ¶ added in v0.14.0
ResourceIDNEQ applies the NEQ predicate on the "resource_id" field.
func ResourceIDNotIn ¶ added in v0.14.0
ResourceIDNotIn applies the NotIn predicate on the "resource_id" field.
func ResourceIDNotNil ¶ added in v0.14.0
ResourceIDNotNil applies the NotNil predicate on the "resource_id" field.
func ResourceRole ¶ added in v0.14.0
ResourceRole applies equality check predicate on the "resource_role" field. It's identical to ResourceRoleEQ.
func ResourceRoleContains ¶ added in v0.14.0
ResourceRoleContains applies the Contains predicate on the "resource_role" field.
func ResourceRoleContainsFold ¶ added in v0.14.0
ResourceRoleContainsFold applies the ContainsFold predicate on the "resource_role" field.
func ResourceRoleEQ ¶ added in v0.14.0
ResourceRoleEQ applies the EQ predicate on the "resource_role" field.
func ResourceRoleEqualFold ¶ added in v0.14.0
ResourceRoleEqualFold applies the EqualFold predicate on the "resource_role" field.
func ResourceRoleGT ¶ added in v0.14.0
ResourceRoleGT applies the GT predicate on the "resource_role" field.
func ResourceRoleGTE ¶ added in v0.14.0
ResourceRoleGTE applies the GTE predicate on the "resource_role" field.
func ResourceRoleHasPrefix ¶ added in v0.14.0
ResourceRoleHasPrefix applies the HasPrefix predicate on the "resource_role" field.
func ResourceRoleHasSuffix ¶ added in v0.14.0
ResourceRoleHasSuffix applies the HasSuffix predicate on the "resource_role" field.
func ResourceRoleIn ¶ added in v0.14.0
ResourceRoleIn applies the In predicate on the "resource_role" field.
func ResourceRoleIsNil ¶ added in v0.14.0
ResourceRoleIsNil applies the IsNil predicate on the "resource_role" field.
func ResourceRoleLT ¶ added in v0.14.0
ResourceRoleLT applies the LT predicate on the "resource_role" field.
func ResourceRoleLTE ¶ added in v0.14.0
ResourceRoleLTE applies the LTE predicate on the "resource_role" field.
func ResourceRoleNEQ ¶ added in v0.14.0
ResourceRoleNEQ applies the NEQ predicate on the "resource_role" field.
func ResourceRoleNotIn ¶ added in v0.14.0
ResourceRoleNotIn applies the NotIn predicate on the "resource_role" field.
func ResourceRoleNotNil ¶ added in v0.14.0
ResourceRoleNotNil applies the NotNil predicate on the "resource_role" field.
func ResourceType ¶ added in v0.14.0
ResourceType applies equality check predicate on the "resource_type" field. It's identical to ResourceTypeEQ.
func ResourceTypeContains ¶ added in v0.14.0
ResourceTypeContains applies the Contains predicate on the "resource_type" field.
func ResourceTypeContainsFold ¶ added in v0.14.0
ResourceTypeContainsFold applies the ContainsFold predicate on the "resource_type" field.
func ResourceTypeEQ ¶ added in v0.14.0
ResourceTypeEQ applies the EQ predicate on the "resource_type" field.
func ResourceTypeEqualFold ¶ added in v0.14.0
ResourceTypeEqualFold applies the EqualFold predicate on the "resource_type" field.
func ResourceTypeGT ¶ added in v0.14.0
ResourceTypeGT applies the GT predicate on the "resource_type" field.
func ResourceTypeGTE ¶ added in v0.14.0
ResourceTypeGTE applies the GTE predicate on the "resource_type" field.
func ResourceTypeHasPrefix ¶ added in v0.14.0
ResourceTypeHasPrefix applies the HasPrefix predicate on the "resource_type" field.
func ResourceTypeHasSuffix ¶ added in v0.14.0
ResourceTypeHasSuffix applies the HasSuffix predicate on the "resource_type" field.
func ResourceTypeIn ¶ added in v0.14.0
ResourceTypeIn applies the In predicate on the "resource_type" field.
func ResourceTypeIsNil ¶ added in v0.14.0
ResourceTypeIsNil applies the IsNil predicate on the "resource_type" field.
func ResourceTypeLT ¶ added in v0.14.0
ResourceTypeLT applies the LT predicate on the "resource_type" field.
func ResourceTypeLTE ¶ added in v0.14.0
ResourceTypeLTE applies the LTE predicate on the "resource_type" field.
func ResourceTypeNEQ ¶ added in v0.14.0
ResourceTypeNEQ applies the NEQ predicate on the "resource_type" field.
func ResourceTypeNotIn ¶ added in v0.14.0
ResourceTypeNotIn applies the NotIn predicate on the "resource_type" field.
func ResourceTypeNotNil ¶ added in v0.14.0
ResourceTypeNotNil applies the NotNil predicate on the "resource_type" field.
func RoleContains ¶
RoleContains applies the Contains predicate on the "role" field.
func RoleContainsFold ¶
RoleContainsFold applies the ContainsFold predicate on the "role" field.
func RoleEqualFold ¶
RoleEqualFold applies the EqualFold predicate on the "role" field.
func RoleHasPrefix ¶
RoleHasPrefix applies the HasPrefix predicate on the "role" field.
func RoleHasSuffix ¶
RoleHasSuffix applies the HasSuffix predicate on the "role" field.
func StatusNotIn ¶
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusValidator ¶
StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.
func Token ¶
Token applies equality check predicate on the "token" field. It's identical to TokenEQ.
func TokenContains ¶
TokenContains applies the Contains predicate on the "token" field.
func TokenContainsFold ¶
TokenContainsFold applies the ContainsFold predicate on the "token" field.
func TokenEqualFold ¶
TokenEqualFold applies the EqualFold predicate on the "token" field.
func TokenHasPrefix ¶
TokenHasPrefix applies the HasPrefix predicate on the "token" field.
func TokenHasSuffix ¶
TokenHasSuffix applies the HasSuffix predicate on the "token" field.
func TokenNotIn ¶
TokenNotIn applies the NotIn predicate on the "token" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
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 Invite queries.
func ByAcceptedAt ¶
func ByAcceptedAt(opts ...sql.OrderTermOption) OrderOption
ByAcceptedAt orders the results by the accepted_at field.
func ByAcceptedByPrincipalID ¶
func ByAcceptedByPrincipalID(opts ...sql.OrderTermOption) OrderOption
ByAcceptedByPrincipalID orders the results by the accepted_by_principal_id field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByEmail ¶
func ByEmail(opts ...sql.OrderTermOption) OrderOption
ByEmail orders the results by the email field.
func ByExpiresAt ¶
func ByExpiresAt(opts ...sql.OrderTermOption) OrderOption
ByExpiresAt orders the results by the expires_at field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByInviterField ¶
func ByInviterField(field string, opts ...sql.OrderTermOption) OrderOption
ByInviterField orders the results by inviter field.
func ByInviterPrincipalID ¶
func ByInviterPrincipalID(opts ...sql.OrderTermOption) OrderOption
ByInviterPrincipalID orders the results by the inviter_principal_id field.
func ByLastSentAt ¶
func ByLastSentAt(opts ...sql.OrderTermOption) OrderOption
ByLastSentAt orders the results by the last_sent_at field.
func ByMessage ¶
func ByMessage(opts ...sql.OrderTermOption) OrderOption
ByMessage orders the results by the message field.
func ByOrganizationField ¶
func ByOrganizationField(field string, opts ...sql.OrderTermOption) OrderOption
ByOrganizationField orders the results by organization field.
func ByOrganizationID ¶
func ByOrganizationID(opts ...sql.OrderTermOption) OrderOption
ByOrganizationID orders the results by the organization_id field.
func ByResendCount ¶
func ByResendCount(opts ...sql.OrderTermOption) OrderOption
ByResendCount orders the results by the resend_count field.
func ByResourceID ¶ added in v0.14.0
func ByResourceID(opts ...sql.OrderTermOption) OrderOption
ByResourceID orders the results by the resource_id field.
func ByResourceRole ¶ added in v0.14.0
func ByResourceRole(opts ...sql.OrderTermOption) OrderOption
ByResourceRole orders the results by the resource_role field.
func ByResourceType ¶ added in v0.14.0
func ByResourceType(opts ...sql.OrderTermOption) OrderOption
ByResourceType orders the results by the resource_type field.
func ByRole ¶
func ByRole(opts ...sql.OrderTermOption) OrderOption
ByRole orders the results by the role field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func ByToken ¶
func ByToken(opts ...sql.OrderTermOption) OrderOption
ByToken orders the results by the token field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.