Documentation
¶
Index ¶
- Constants
- Variables
- func Active(v bool) predicate.Principal
- func ActiveEQ(v bool) predicate.Principal
- func ActiveNEQ(v bool) predicate.Principal
- func And(predicates ...predicate.Principal) predicate.Principal
- func CreatedAt(v time.Time) predicate.Principal
- func CreatedAtEQ(v time.Time) predicate.Principal
- func CreatedAtGT(v time.Time) predicate.Principal
- func CreatedAtGTE(v time.Time) predicate.Principal
- func CreatedAtIn(vs ...time.Time) predicate.Principal
- func CreatedAtLT(v time.Time) predicate.Principal
- func CreatedAtLTE(v time.Time) predicate.Principal
- func CreatedAtNEQ(v time.Time) predicate.Principal
- func CreatedAtNotIn(vs ...time.Time) predicate.Principal
- func DisplayName(v string) predicate.Principal
- func DisplayNameContains(v string) predicate.Principal
- func DisplayNameContainsFold(v string) predicate.Principal
- func DisplayNameEQ(v string) predicate.Principal
- func DisplayNameEqualFold(v string) predicate.Principal
- func DisplayNameGT(v string) predicate.Principal
- func DisplayNameGTE(v string) predicate.Principal
- func DisplayNameHasPrefix(v string) predicate.Principal
- func DisplayNameHasSuffix(v string) predicate.Principal
- func DisplayNameIn(vs ...string) predicate.Principal
- func DisplayNameLT(v string) predicate.Principal
- func DisplayNameLTE(v string) predicate.Principal
- func DisplayNameNEQ(v string) predicate.Principal
- func DisplayNameNotIn(vs ...string) predicate.Principal
- func HasAgent() predicate.Principal
- func HasAgentWith(preds ...predicate.Agent) predicate.Principal
- func HasApplication() predicate.Principal
- func HasApplicationWith(preds ...predicate.Application) predicate.Principal
- func HasCredentials() predicate.Principal
- func HasCredentialsWith(preds ...predicate.Credential) predicate.Principal
- func HasHuman() predicate.Principal
- func HasHumanWith(preds ...predicate.Human) predicate.Principal
- func HasOrganization() predicate.Principal
- func HasOrganizationWith(preds ...predicate.Organization) predicate.Principal
- func HasOwnedOrganizations() predicate.Principal
- func HasOwnedOrganizationsWith(preds ...predicate.Organization) predicate.Principal
- func HasPrincipalMemberships() predicate.Principal
- func HasPrincipalMembershipsWith(preds ...predicate.PrincipalMembership) predicate.Principal
- func HasPrincipalTokens() predicate.Principal
- func HasPrincipalTokensWith(preds ...predicate.PrincipalToken) predicate.Principal
- func HasSentInvites() predicate.Principal
- func HasSentInvitesWith(preds ...predicate.Invite) predicate.Principal
- func HasServicePrincipal() predicate.Principal
- func HasServicePrincipalWith(preds ...predicate.ServicePrincipal) predicate.Principal
- func ID(id uuid.UUID) predicate.Principal
- func IDEQ(id uuid.UUID) predicate.Principal
- func IDGT(id uuid.UUID) predicate.Principal
- func IDGTE(id uuid.UUID) predicate.Principal
- func IDIn(ids ...uuid.UUID) predicate.Principal
- func IDLT(id uuid.UUID) predicate.Principal
- func IDLTE(id uuid.UUID) predicate.Principal
- func IDNEQ(id uuid.UUID) predicate.Principal
- func IDNotIn(ids ...uuid.UUID) predicate.Principal
- func Identifier(v string) predicate.Principal
- func IdentifierContains(v string) predicate.Principal
- func IdentifierContainsFold(v string) predicate.Principal
- func IdentifierEQ(v string) predicate.Principal
- func IdentifierEqualFold(v string) predicate.Principal
- func IdentifierGT(v string) predicate.Principal
- func IdentifierGTE(v string) predicate.Principal
- func IdentifierHasPrefix(v string) predicate.Principal
- func IdentifierHasSuffix(v string) predicate.Principal
- func IdentifierIn(vs ...string) predicate.Principal
- func IdentifierLT(v string) predicate.Principal
- func IdentifierLTE(v string) predicate.Principal
- func IdentifierNEQ(v string) predicate.Principal
- func IdentifierNotIn(vs ...string) predicate.Principal
- func MetadataIsNil() predicate.Principal
- func MetadataNotNil() predicate.Principal
- func Not(p predicate.Principal) predicate.Principal
- func Or(predicates ...predicate.Principal) predicate.Principal
- func OrganizationID(v uuid.UUID) predicate.Principal
- func OrganizationIDEQ(v uuid.UUID) predicate.Principal
- func OrganizationIDIn(vs ...uuid.UUID) predicate.Principal
- func OrganizationIDIsNil() predicate.Principal
- func OrganizationIDNEQ(v uuid.UUID) predicate.Principal
- func OrganizationIDNotIn(vs ...uuid.UUID) predicate.Principal
- func OrganizationIDNotNil() predicate.Principal
- func TypeEQ(v Type) predicate.Principal
- func TypeIn(vs ...Type) predicate.Principal
- func TypeNEQ(v Type) predicate.Principal
- func TypeNotIn(vs ...Type) predicate.Principal
- func TypeValidator(_type Type) error
- func UpdatedAt(v time.Time) predicate.Principal
- func UpdatedAtEQ(v time.Time) predicate.Principal
- func UpdatedAtGT(v time.Time) predicate.Principal
- func UpdatedAtGTE(v time.Time) predicate.Principal
- func UpdatedAtIn(vs ...time.Time) predicate.Principal
- func UpdatedAtLT(v time.Time) predicate.Principal
- func UpdatedAtLTE(v time.Time) predicate.Principal
- func UpdatedAtNEQ(v time.Time) predicate.Principal
- func UpdatedAtNotIn(vs ...time.Time) predicate.Principal
- func ValidColumn(column string) bool
- type OrderOption
- func ByActive(opts ...sql.OrderTermOption) OrderOption
- func ByAgentField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByApplicationField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCredentials(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByCredentialsCount(opts ...sql.OrderTermOption) OrderOption
- func ByDisplayName(opts ...sql.OrderTermOption) OrderOption
- func ByHumanField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIdentifier(opts ...sql.OrderTermOption) OrderOption
- func ByOrganizationField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByOrganizationID(opts ...sql.OrderTermOption) OrderOption
- func ByOwnedOrganizations(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByOwnedOrganizationsCount(opts ...sql.OrderTermOption) OrderOption
- func ByPrincipalMemberships(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByPrincipalMembershipsCount(opts ...sql.OrderTermOption) OrderOption
- func ByPrincipalTokens(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByPrincipalTokensCount(opts ...sql.OrderTermOption) OrderOption
- func BySentInvites(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func BySentInvitesCount(opts ...sql.OrderTermOption) OrderOption
- func ByServicePrincipalField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByType(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- type Type
Constants ¶
const ( // Label holds the string label denoting the principal type in the database. Label = "principal" // 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" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldIdentifier holds the string denoting the identifier field in the database. FieldIdentifier = "identifier" // FieldDisplayName holds the string denoting the display_name field in the database. FieldDisplayName = "display_name" // FieldOrganizationID holds the string denoting the organization_id field in the database. FieldOrganizationID = "organization_id" // FieldActive holds the string denoting the active field in the database. FieldActive = "active" // FieldCapabilities holds the string denoting the capabilities field in the database. FieldCapabilities = "capabilities" // FieldAllowedScopes holds the string denoting the allowed_scopes field in the database. FieldAllowedScopes = "allowed_scopes" // FieldMetadata holds the string denoting the metadata field in the database. FieldMetadata = "metadata" // EdgeOrganization holds the string denoting the organization edge name in mutations. EdgeOrganization = "organization" // EdgeHuman holds the string denoting the human edge name in mutations. EdgeHuman = "human" // EdgeApplication holds the string denoting the application edge name in mutations. EdgeApplication = "application" // EdgeAgent holds the string denoting the agent edge name in mutations. EdgeAgent = "agent" // EdgeServicePrincipal holds the string denoting the service_principal edge name in mutations. EdgeServicePrincipal = "service_principal" // EdgeCredentials holds the string denoting the credentials edge name in mutations. EdgeCredentials = "credentials" // EdgePrincipalTokens holds the string denoting the principal_tokens edge name in mutations. EdgePrincipalTokens = "principal_tokens" // EdgePrincipalMemberships holds the string denoting the principal_memberships edge name in mutations. EdgePrincipalMemberships = "principal_memberships" // EdgeOwnedOrganizations holds the string denoting the owned_organizations edge name in mutations. EdgeOwnedOrganizations = "owned_organizations" // EdgeSentInvites holds the string denoting the sent_invites edge name in mutations. EdgeSentInvites = "sent_invites" // Table holds the table name of the principal in the database. Table = "cf_principals" // OrganizationTable is the table that holds the organization relation/edge. OrganizationTable = "cf_principals" // 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 = "cf_organizations" // OrganizationColumn is the table column denoting the organization relation/edge. OrganizationColumn = "organization_id" // HumanTable is the table that holds the human relation/edge. HumanTable = "cf_humans" // HumanInverseTable is the table name for the Human entity. // It exists in this package in order to avoid circular dependency with the "human" package. HumanInverseTable = "cf_humans" // HumanColumn is the table column denoting the human relation/edge. HumanColumn = "principal_id" // ApplicationTable is the table that holds the application relation/edge. ApplicationTable = "cf_applications" // ApplicationInverseTable is the table name for the Application entity. // It exists in this package in order to avoid circular dependency with the "application" package. ApplicationInverseTable = "cf_applications" // ApplicationColumn is the table column denoting the application relation/edge. ApplicationColumn = "principal_id" // AgentTable is the table that holds the agent relation/edge. AgentTable = "cf_agents" // AgentInverseTable is the table name for the Agent entity. // It exists in this package in order to avoid circular dependency with the "agent" package. AgentInverseTable = "cf_agents" // AgentColumn is the table column denoting the agent relation/edge. AgentColumn = "principal_id" // ServicePrincipalTable is the table that holds the service_principal relation/edge. ServicePrincipalTable = "cf_service_principals" // ServicePrincipalInverseTable is the table name for the ServicePrincipal entity. // It exists in this package in order to avoid circular dependency with the "serviceprincipal" package. ServicePrincipalInverseTable = "cf_service_principals" // ServicePrincipalColumn is the table column denoting the service_principal relation/edge. ServicePrincipalColumn = "principal_id" // CredentialsTable is the table that holds the credentials relation/edge. CredentialsTable = "cf_credentials" // CredentialsInverseTable is the table name for the Credential entity. // It exists in this package in order to avoid circular dependency with the "credential" package. CredentialsInverseTable = "cf_credentials" // CredentialsColumn is the table column denoting the credentials relation/edge. CredentialsColumn = "principal_id" // PrincipalTokensTable is the table that holds the principal_tokens relation/edge. PrincipalTokensTable = "cf_principal_tokens" // PrincipalTokensInverseTable is the table name for the PrincipalToken entity. // It exists in this package in order to avoid circular dependency with the "principaltoken" package. PrincipalTokensInverseTable = "cf_principal_tokens" // PrincipalTokensColumn is the table column denoting the principal_tokens relation/edge. PrincipalTokensColumn = "principal_id" // PrincipalMembershipsTable is the table that holds the principal_memberships relation/edge. PrincipalMembershipsTable = "cf_principal_memberships" // PrincipalMembershipsInverseTable is the table name for the PrincipalMembership entity. // It exists in this package in order to avoid circular dependency with the "principalmembership" package. PrincipalMembershipsInverseTable = "cf_principal_memberships" // PrincipalMembershipsColumn is the table column denoting the principal_memberships relation/edge. PrincipalMembershipsColumn = "principal_id" // OwnedOrganizationsTable is the table that holds the owned_organizations relation/edge. OwnedOrganizationsTable = "cf_organizations" // OwnedOrganizationsInverseTable is the table name for the Organization entity. // It exists in this package in order to avoid circular dependency with the "organization" package. OwnedOrganizationsInverseTable = "cf_organizations" // OwnedOrganizationsColumn is the table column denoting the owned_organizations relation/edge. OwnedOrganizationsColumn = "owner_principal_id" // SentInvitesTable is the table that holds the sent_invites relation/edge. SentInvitesTable = "cf_invites" // SentInvitesInverseTable is the table name for the Invite entity. // It exists in this package in order to avoid circular dependency with the "invite" package. SentInvitesInverseTable = "cf_invites" // SentInvitesColumn is the table column denoting the sent_invites relation/edge. SentInvitesColumn = "inviter_principal_id" )
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 // IdentifierValidator is a validator for the "identifier" field. It is called by the builders before save. IdentifierValidator func(string) error // DisplayNameValidator is a validator for the "display_name" field. It is called by the builders before save. DisplayNameValidator func(string) error // DefaultActive holds the default value on creation for the "active" field. DefaultActive bool // DefaultCapabilities holds the default value on creation for the "capabilities" field. DefaultCapabilities map[string]bool // DefaultAllowedScopes holds the default value on creation for the "allowed_scopes" field. DefaultAllowedScopes []string // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldType, FieldIdentifier, FieldDisplayName, FieldOrganizationID, FieldActive, FieldCapabilities, FieldAllowedScopes, FieldMetadata, }
Columns holds all SQL columns for principal fields.
Functions ¶
func Active ¶
Active applies equality check predicate on the "active" field. It's identical to ActiveEQ.
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 DisplayName ¶
DisplayName applies equality check predicate on the "display_name" field. It's identical to DisplayNameEQ.
func DisplayNameContains ¶
DisplayNameContains applies the Contains predicate on the "display_name" field.
func DisplayNameContainsFold ¶
DisplayNameContainsFold applies the ContainsFold predicate on the "display_name" field.
func DisplayNameEQ ¶
DisplayNameEQ applies the EQ predicate on the "display_name" field.
func DisplayNameEqualFold ¶
DisplayNameEqualFold applies the EqualFold predicate on the "display_name" field.
func DisplayNameGT ¶
DisplayNameGT applies the GT predicate on the "display_name" field.
func DisplayNameGTE ¶
DisplayNameGTE applies the GTE predicate on the "display_name" field.
func DisplayNameHasPrefix ¶
DisplayNameHasPrefix applies the HasPrefix predicate on the "display_name" field.
func DisplayNameHasSuffix ¶
DisplayNameHasSuffix applies the HasSuffix predicate on the "display_name" field.
func DisplayNameIn ¶
DisplayNameIn applies the In predicate on the "display_name" field.
func DisplayNameLT ¶
DisplayNameLT applies the LT predicate on the "display_name" field.
func DisplayNameLTE ¶
DisplayNameLTE applies the LTE predicate on the "display_name" field.
func DisplayNameNEQ ¶
DisplayNameNEQ applies the NEQ predicate on the "display_name" field.
func DisplayNameNotIn ¶
DisplayNameNotIn applies the NotIn predicate on the "display_name" field.
func HasAgentWith ¶
HasAgentWith applies the HasEdge predicate on the "agent" edge with a given conditions (other predicates).
func HasApplication ¶
HasApplication applies the HasEdge predicate on the "application" edge.
func HasApplicationWith ¶
func HasApplicationWith(preds ...predicate.Application) predicate.Principal
HasApplicationWith applies the HasEdge predicate on the "application" edge with a given conditions (other predicates).
func HasCredentials ¶
HasCredentials applies the HasEdge predicate on the "credentials" edge.
func HasCredentialsWith ¶
func HasCredentialsWith(preds ...predicate.Credential) predicate.Principal
HasCredentialsWith applies the HasEdge predicate on the "credentials" edge with a given conditions (other predicates).
func HasHumanWith ¶
HasHumanWith applies the HasEdge predicate on the "human" 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.Principal
HasOrganizationWith applies the HasEdge predicate on the "organization" edge with a given conditions (other predicates).
func HasOwnedOrganizations ¶
HasOwnedOrganizations applies the HasEdge predicate on the "owned_organizations" edge.
func HasOwnedOrganizationsWith ¶
func HasOwnedOrganizationsWith(preds ...predicate.Organization) predicate.Principal
HasOwnedOrganizationsWith applies the HasEdge predicate on the "owned_organizations" edge with a given conditions (other predicates).
func HasPrincipalMemberships ¶
HasPrincipalMemberships applies the HasEdge predicate on the "principal_memberships" edge.
func HasPrincipalMembershipsWith ¶
func HasPrincipalMembershipsWith(preds ...predicate.PrincipalMembership) predicate.Principal
HasPrincipalMembershipsWith applies the HasEdge predicate on the "principal_memberships" edge with a given conditions (other predicates).
func HasPrincipalTokens ¶
HasPrincipalTokens applies the HasEdge predicate on the "principal_tokens" edge.
func HasPrincipalTokensWith ¶
func HasPrincipalTokensWith(preds ...predicate.PrincipalToken) predicate.Principal
HasPrincipalTokensWith applies the HasEdge predicate on the "principal_tokens" edge with a given conditions (other predicates).
func HasSentInvites ¶
HasSentInvites applies the HasEdge predicate on the "sent_invites" edge.
func HasSentInvitesWith ¶
HasSentInvitesWith applies the HasEdge predicate on the "sent_invites" edge with a given conditions (other predicates).
func HasServicePrincipal ¶
HasServicePrincipal applies the HasEdge predicate on the "service_principal" edge.
func HasServicePrincipalWith ¶
func HasServicePrincipalWith(preds ...predicate.ServicePrincipal) predicate.Principal
HasServicePrincipalWith applies the HasEdge predicate on the "service_principal" edge with a given conditions (other predicates).
func Identifier ¶
Identifier applies equality check predicate on the "identifier" field. It's identical to IdentifierEQ.
func IdentifierContains ¶
IdentifierContains applies the Contains predicate on the "identifier" field.
func IdentifierContainsFold ¶
IdentifierContainsFold applies the ContainsFold predicate on the "identifier" field.
func IdentifierEQ ¶
IdentifierEQ applies the EQ predicate on the "identifier" field.
func IdentifierEqualFold ¶
IdentifierEqualFold applies the EqualFold predicate on the "identifier" field.
func IdentifierGT ¶
IdentifierGT applies the GT predicate on the "identifier" field.
func IdentifierGTE ¶
IdentifierGTE applies the GTE predicate on the "identifier" field.
func IdentifierHasPrefix ¶
IdentifierHasPrefix applies the HasPrefix predicate on the "identifier" field.
func IdentifierHasSuffix ¶
IdentifierHasSuffix applies the HasSuffix predicate on the "identifier" field.
func IdentifierIn ¶
IdentifierIn applies the In predicate on the "identifier" field.
func IdentifierLT ¶
IdentifierLT applies the LT predicate on the "identifier" field.
func IdentifierLTE ¶
IdentifierLTE applies the LTE predicate on the "identifier" field.
func IdentifierNEQ ¶
IdentifierNEQ applies the NEQ predicate on the "identifier" field.
func IdentifierNotIn ¶
IdentifierNotIn applies the NotIn predicate on the "identifier" field.
func MetadataIsNil ¶
MetadataIsNil applies the IsNil predicate on the "metadata" field.
func MetadataNotNil ¶
MetadataNotNil applies the NotNil predicate on the "metadata" 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 OrganizationIDIsNil ¶
OrganizationIDIsNil applies the IsNil 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 OrganizationIDNotNil ¶
OrganizationIDNotNil applies the NotNil predicate on the "organization_id" field.
func TypeValidator ¶
TypeValidator is a validator for the "type" field enum values. It is called by the builders before save.
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 Principal queries.
func ByActive ¶
func ByActive(opts ...sql.OrderTermOption) OrderOption
ByActive orders the results by the active field.
func ByAgentField ¶
func ByAgentField(field string, opts ...sql.OrderTermOption) OrderOption
ByAgentField orders the results by agent field.
func ByApplicationField ¶
func ByApplicationField(field string, opts ...sql.OrderTermOption) OrderOption
ByApplicationField orders the results by application field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCredentials ¶
func ByCredentials(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByCredentials orders the results by credentials terms.
func ByCredentialsCount ¶
func ByCredentialsCount(opts ...sql.OrderTermOption) OrderOption
ByCredentialsCount orders the results by credentials count.
func ByDisplayName ¶
func ByDisplayName(opts ...sql.OrderTermOption) OrderOption
ByDisplayName orders the results by the display_name field.
func ByHumanField ¶
func ByHumanField(field string, opts ...sql.OrderTermOption) OrderOption
ByHumanField orders the results by human field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIdentifier ¶
func ByIdentifier(opts ...sql.OrderTermOption) OrderOption
ByIdentifier orders the results by the identifier 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 ByOwnedOrganizations ¶
func ByOwnedOrganizations(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByOwnedOrganizations orders the results by owned_organizations terms.
func ByOwnedOrganizationsCount ¶
func ByOwnedOrganizationsCount(opts ...sql.OrderTermOption) OrderOption
ByOwnedOrganizationsCount orders the results by owned_organizations count.
func ByPrincipalMemberships ¶
func ByPrincipalMemberships(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByPrincipalMemberships orders the results by principal_memberships terms.
func ByPrincipalMembershipsCount ¶
func ByPrincipalMembershipsCount(opts ...sql.OrderTermOption) OrderOption
ByPrincipalMembershipsCount orders the results by principal_memberships count.
func ByPrincipalTokens ¶
func ByPrincipalTokens(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByPrincipalTokens orders the results by principal_tokens terms.
func ByPrincipalTokensCount ¶
func ByPrincipalTokensCount(opts ...sql.OrderTermOption) OrderOption
ByPrincipalTokensCount orders the results by principal_tokens count.
func BySentInvites ¶
func BySentInvites(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
BySentInvites orders the results by sent_invites terms.
func BySentInvitesCount ¶
func BySentInvitesCount(opts ...sql.OrderTermOption) OrderOption
BySentInvitesCount orders the results by sent_invites count.
func ByServicePrincipalField ¶
func ByServicePrincipalField(field string, opts ...sql.OrderTermOption) OrderOption
ByServicePrincipalField orders the results by service_principal field.
func ByType ¶
func ByType(opts ...sql.OrderTermOption) OrderOption
ByType orders the results by the type field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.