Documentation
¶
Index ¶
- Constants
- Variables
- func Active(v bool) predicate.Organization
- func ActiveEQ(v bool) predicate.Organization
- func ActiveNEQ(v bool) predicate.Organization
- func And(predicates ...predicate.Organization) predicate.Organization
- func CreatedAt(v time.Time) predicate.Organization
- func CreatedAtEQ(v time.Time) predicate.Organization
- func CreatedAtGT(v time.Time) predicate.Organization
- func CreatedAtGTE(v time.Time) predicate.Organization
- func CreatedAtIn(vs ...time.Time) predicate.Organization
- func CreatedAtLT(v time.Time) predicate.Organization
- func CreatedAtLTE(v time.Time) predicate.Organization
- func CreatedAtNEQ(v time.Time) predicate.Organization
- func CreatedAtNotIn(vs ...time.Time) predicate.Organization
- func HasAPIKeys() predicate.Organization
- func HasAPIKeysWith(preds ...predicate.APIKey) predicate.Organization
- func HasMemberships() predicate.Organization
- func HasMembershipsWith(preds ...predicate.Membership) predicate.Organization
- func HasOauthApps() predicate.Organization
- func HasOauthAppsWith(preds ...predicate.OAuthApp) predicate.Organization
- func HasServiceAccounts() predicate.Organization
- func HasServiceAccountsWith(preds ...predicate.ServiceAccount) predicate.Organization
- func ID(id uuid.UUID) predicate.Organization
- func IDEQ(id uuid.UUID) predicate.Organization
- func IDGT(id uuid.UUID) predicate.Organization
- func IDGTE(id uuid.UUID) predicate.Organization
- func IDIn(ids ...uuid.UUID) predicate.Organization
- func IDLT(id uuid.UUID) predicate.Organization
- func IDLTE(id uuid.UUID) predicate.Organization
- func IDNEQ(id uuid.UUID) predicate.Organization
- func IDNotIn(ids ...uuid.UUID) predicate.Organization
- func LogoURL(v string) predicate.Organization
- func LogoURLContains(v string) predicate.Organization
- func LogoURLContainsFold(v string) predicate.Organization
- func LogoURLEQ(v string) predicate.Organization
- func LogoURLEqualFold(v string) predicate.Organization
- func LogoURLGT(v string) predicate.Organization
- func LogoURLGTE(v string) predicate.Organization
- func LogoURLHasPrefix(v string) predicate.Organization
- func LogoURLHasSuffix(v string) predicate.Organization
- func LogoURLIn(vs ...string) predicate.Organization
- func LogoURLIsNil() predicate.Organization
- func LogoURLLT(v string) predicate.Organization
- func LogoURLLTE(v string) predicate.Organization
- func LogoURLNEQ(v string) predicate.Organization
- func LogoURLNotIn(vs ...string) predicate.Organization
- func LogoURLNotNil() predicate.Organization
- func Name(v string) predicate.Organization
- func NameContains(v string) predicate.Organization
- func NameContainsFold(v string) predicate.Organization
- func NameEQ(v string) predicate.Organization
- func NameEqualFold(v string) predicate.Organization
- func NameGT(v string) predicate.Organization
- func NameGTE(v string) predicate.Organization
- func NameHasPrefix(v string) predicate.Organization
- func NameHasSuffix(v string) predicate.Organization
- func NameIn(vs ...string) predicate.Organization
- func NameLT(v string) predicate.Organization
- func NameLTE(v string) predicate.Organization
- func NameNEQ(v string) predicate.Organization
- func NameNotIn(vs ...string) predicate.Organization
- func Not(p predicate.Organization) predicate.Organization
- func Or(predicates ...predicate.Organization) predicate.Organization
- func PlanEQ(v Plan) predicate.Organization
- func PlanIn(vs ...Plan) predicate.Organization
- func PlanNEQ(v Plan) predicate.Organization
- func PlanNotIn(vs ...Plan) predicate.Organization
- func PlanValidator(pl Plan) error
- func SettingsIsNil() predicate.Organization
- func SettingsNotNil() predicate.Organization
- func Slug(v string) predicate.Organization
- func SlugContains(v string) predicate.Organization
- func SlugContainsFold(v string) predicate.Organization
- func SlugEQ(v string) predicate.Organization
- func SlugEqualFold(v string) predicate.Organization
- func SlugGT(v string) predicate.Organization
- func SlugGTE(v string) predicate.Organization
- func SlugHasPrefix(v string) predicate.Organization
- func SlugHasSuffix(v string) predicate.Organization
- func SlugIn(vs ...string) predicate.Organization
- func SlugLT(v string) predicate.Organization
- func SlugLTE(v string) predicate.Organization
- func SlugNEQ(v string) predicate.Organization
- func SlugNotIn(vs ...string) predicate.Organization
- func UpdatedAt(v time.Time) predicate.Organization
- func UpdatedAtEQ(v time.Time) predicate.Organization
- func UpdatedAtGT(v time.Time) predicate.Organization
- func UpdatedAtGTE(v time.Time) predicate.Organization
- func UpdatedAtIn(vs ...time.Time) predicate.Organization
- func UpdatedAtLT(v time.Time) predicate.Organization
- func UpdatedAtLTE(v time.Time) predicate.Organization
- func UpdatedAtNEQ(v time.Time) predicate.Organization
- func UpdatedAtNotIn(vs ...time.Time) predicate.Organization
- func ValidColumn(column string) bool
- type OrderOption
- func ByAPIKeys(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByAPIKeysCount(opts ...sql.OrderTermOption) OrderOption
- func ByActive(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByLogoURL(opts ...sql.OrderTermOption) OrderOption
- func ByMemberships(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByMembershipsCount(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByOauthApps(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByOauthAppsCount(opts ...sql.OrderTermOption) OrderOption
- func ByPlan(opts ...sql.OrderTermOption) OrderOption
- func ByServiceAccounts(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByServiceAccountsCount(opts ...sql.OrderTermOption) OrderOption
- func BySlug(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- type Plan
Constants ¶
const ( // Label holds the string label denoting the organization type in the database. Label = "organization" // 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" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldSlug holds the string denoting the slug field in the database. FieldSlug = "slug" // FieldLogoURL holds the string denoting the logo_url field in the database. FieldLogoURL = "logo_url" // FieldSettings holds the string denoting the settings field in the database. FieldSettings = "settings" // FieldPlan holds the string denoting the plan field in the database. FieldPlan = "plan" // FieldActive holds the string denoting the active field in the database. FieldActive = "active" // EdgeMemberships holds the string denoting the memberships edge name in mutations. EdgeMemberships = "memberships" // EdgeAPIKeys holds the string denoting the api_keys edge name in mutations. EdgeAPIKeys = "api_keys" // EdgeOauthApps holds the string denoting the oauth_apps edge name in mutations. EdgeOauthApps = "oauth_apps" // EdgeServiceAccounts holds the string denoting the service_accounts edge name in mutations. EdgeServiceAccounts = "service_accounts" // Table holds the table name of the organization in the database. Table = "cf_organizations" // MembershipsTable is the table that holds the memberships relation/edge. MembershipsTable = "cf_memberships" // MembershipsInverseTable is the table name for the Membership entity. // It exists in this package in order to avoid circular dependency with the "membership" package. MembershipsInverseTable = "cf_memberships" // MembershipsColumn is the table column denoting the memberships relation/edge. MembershipsColumn = "organization_id" // APIKeysTable is the table that holds the api_keys relation/edge. APIKeysTable = "cf_api_keys" // APIKeysInverseTable is the table name for the APIKey entity. // It exists in this package in order to avoid circular dependency with the "apikey" package. APIKeysInverseTable = "cf_api_keys" // APIKeysColumn is the table column denoting the api_keys relation/edge. APIKeysColumn = "organization_api_keys" // OauthAppsTable is the table that holds the oauth_apps relation/edge. OauthAppsTable = "cf_oauth_apps" // OauthAppsInverseTable is the table name for the OAuthApp entity. // It exists in this package in order to avoid circular dependency with the "oauthapp" package. OauthAppsInverseTable = "cf_oauth_apps" // OauthAppsColumn is the table column denoting the oauth_apps relation/edge. OauthAppsColumn = "organization_id" // ServiceAccountsTable is the table that holds the service_accounts relation/edge. ServiceAccountsTable = "cf_service_accounts" // ServiceAccountsInverseTable is the table name for the ServiceAccount entity. // It exists in this package in order to avoid circular dependency with the "serviceaccount" package. ServiceAccountsInverseTable = "cf_service_accounts" // ServiceAccountsColumn is the table column denoting the service_accounts relation/edge. ServiceAccountsColumn = "organization_id" )
const DefaultPlan = PlanFree
PlanFree is the default value of the Plan 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 // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // SlugValidator is a validator for the "slug" field. It is called by the builders before save. SlugValidator func(string) error // DefaultActive holds the default value on creation for the "active" field. DefaultActive bool // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldName, FieldSlug, FieldLogoURL, FieldSettings, FieldPlan, FieldActive, }
Columns holds all SQL columns for organization fields.
Functions ¶
func Active ¶
func Active(v bool) predicate.Organization
Active applies equality check predicate on the "active" field. It's identical to ActiveEQ.
func ActiveEQ ¶
func ActiveEQ(v bool) predicate.Organization
ActiveEQ applies the EQ predicate on the "active" field.
func ActiveNEQ ¶
func ActiveNEQ(v bool) predicate.Organization
ActiveNEQ applies the NEQ predicate on the "active" field.
func And ¶
func And(predicates ...predicate.Organization) predicate.Organization
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.Organization
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.Organization
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.Organization
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.Organization
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.Organization
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.Organization
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.Organization
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.Organization
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.Organization
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func HasAPIKeys ¶
func HasAPIKeys() predicate.Organization
HasAPIKeys applies the HasEdge predicate on the "api_keys" edge.
func HasAPIKeysWith ¶
func HasAPIKeysWith(preds ...predicate.APIKey) predicate.Organization
HasAPIKeysWith applies the HasEdge predicate on the "api_keys" edge with a given conditions (other predicates).
func HasMemberships ¶
func HasMemberships() predicate.Organization
HasMemberships applies the HasEdge predicate on the "memberships" edge.
func HasMembershipsWith ¶
func HasMembershipsWith(preds ...predicate.Membership) predicate.Organization
HasMembershipsWith applies the HasEdge predicate on the "memberships" edge with a given conditions (other predicates).
func HasOauthApps ¶
func HasOauthApps() predicate.Organization
HasOauthApps applies the HasEdge predicate on the "oauth_apps" edge.
func HasOauthAppsWith ¶
func HasOauthAppsWith(preds ...predicate.OAuthApp) predicate.Organization
HasOauthAppsWith applies the HasEdge predicate on the "oauth_apps" edge with a given conditions (other predicates).
func HasServiceAccounts ¶
func HasServiceAccounts() predicate.Organization
HasServiceAccounts applies the HasEdge predicate on the "service_accounts" edge.
func HasServiceAccountsWith ¶
func HasServiceAccountsWith(preds ...predicate.ServiceAccount) predicate.Organization
HasServiceAccountsWith applies the HasEdge predicate on the "service_accounts" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.Organization
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.Organization
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.Organization
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.Organization
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.Organization
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.Organization
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.Organization
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.Organization
IDNotIn applies the NotIn predicate on the ID field.
func LogoURL ¶
func LogoURL(v string) predicate.Organization
LogoURL applies equality check predicate on the "logo_url" field. It's identical to LogoURLEQ.
func LogoURLContains ¶
func LogoURLContains(v string) predicate.Organization
LogoURLContains applies the Contains predicate on the "logo_url" field.
func LogoURLContainsFold ¶
func LogoURLContainsFold(v string) predicate.Organization
LogoURLContainsFold applies the ContainsFold predicate on the "logo_url" field.
func LogoURLEQ ¶
func LogoURLEQ(v string) predicate.Organization
LogoURLEQ applies the EQ predicate on the "logo_url" field.
func LogoURLEqualFold ¶
func LogoURLEqualFold(v string) predicate.Organization
LogoURLEqualFold applies the EqualFold predicate on the "logo_url" field.
func LogoURLGT ¶
func LogoURLGT(v string) predicate.Organization
LogoURLGT applies the GT predicate on the "logo_url" field.
func LogoURLGTE ¶
func LogoURLGTE(v string) predicate.Organization
LogoURLGTE applies the GTE predicate on the "logo_url" field.
func LogoURLHasPrefix ¶
func LogoURLHasPrefix(v string) predicate.Organization
LogoURLHasPrefix applies the HasPrefix predicate on the "logo_url" field.
func LogoURLHasSuffix ¶
func LogoURLHasSuffix(v string) predicate.Organization
LogoURLHasSuffix applies the HasSuffix predicate on the "logo_url" field.
func LogoURLIn ¶
func LogoURLIn(vs ...string) predicate.Organization
LogoURLIn applies the In predicate on the "logo_url" field.
func LogoURLIsNil ¶
func LogoURLIsNil() predicate.Organization
LogoURLIsNil applies the IsNil predicate on the "logo_url" field.
func LogoURLLT ¶
func LogoURLLT(v string) predicate.Organization
LogoURLLT applies the LT predicate on the "logo_url" field.
func LogoURLLTE ¶
func LogoURLLTE(v string) predicate.Organization
LogoURLLTE applies the LTE predicate on the "logo_url" field.
func LogoURLNEQ ¶
func LogoURLNEQ(v string) predicate.Organization
LogoURLNEQ applies the NEQ predicate on the "logo_url" field.
func LogoURLNotIn ¶
func LogoURLNotIn(vs ...string) predicate.Organization
LogoURLNotIn applies the NotIn predicate on the "logo_url" field.
func LogoURLNotNil ¶
func LogoURLNotNil() predicate.Organization
LogoURLNotNil applies the NotNil predicate on the "logo_url" field.
func Name ¶
func Name(v string) predicate.Organization
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.Organization
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.Organization
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.Organization
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.Organization
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.Organization
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.Organization
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.Organization
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.Organization
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.Organization
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.Organization
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.Organization
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.Organization
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.Organization
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.Organization) predicate.Organization
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.Organization) predicate.Organization
Or groups predicates with the OR operator between them.
func PlanEQ ¶
func PlanEQ(v Plan) predicate.Organization
PlanEQ applies the EQ predicate on the "plan" field.
func PlanIn ¶
func PlanIn(vs ...Plan) predicate.Organization
PlanIn applies the In predicate on the "plan" field.
func PlanNEQ ¶
func PlanNEQ(v Plan) predicate.Organization
PlanNEQ applies the NEQ predicate on the "plan" field.
func PlanNotIn ¶
func PlanNotIn(vs ...Plan) predicate.Organization
PlanNotIn applies the NotIn predicate on the "plan" field.
func PlanValidator ¶
PlanValidator is a validator for the "plan" field enum values. It is called by the builders before save.
func SettingsIsNil ¶
func SettingsIsNil() predicate.Organization
SettingsIsNil applies the IsNil predicate on the "settings" field.
func SettingsNotNil ¶
func SettingsNotNil() predicate.Organization
SettingsNotNil applies the NotNil predicate on the "settings" field.
func Slug ¶
func Slug(v string) predicate.Organization
Slug applies equality check predicate on the "slug" field. It's identical to SlugEQ.
func SlugContains ¶
func SlugContains(v string) predicate.Organization
SlugContains applies the Contains predicate on the "slug" field.
func SlugContainsFold ¶
func SlugContainsFold(v string) predicate.Organization
SlugContainsFold applies the ContainsFold predicate on the "slug" field.
func SlugEQ ¶
func SlugEQ(v string) predicate.Organization
SlugEQ applies the EQ predicate on the "slug" field.
func SlugEqualFold ¶
func SlugEqualFold(v string) predicate.Organization
SlugEqualFold applies the EqualFold predicate on the "slug" field.
func SlugGT ¶
func SlugGT(v string) predicate.Organization
SlugGT applies the GT predicate on the "slug" field.
func SlugGTE ¶
func SlugGTE(v string) predicate.Organization
SlugGTE applies the GTE predicate on the "slug" field.
func SlugHasPrefix ¶
func SlugHasPrefix(v string) predicate.Organization
SlugHasPrefix applies the HasPrefix predicate on the "slug" field.
func SlugHasSuffix ¶
func SlugHasSuffix(v string) predicate.Organization
SlugHasSuffix applies the HasSuffix predicate on the "slug" field.
func SlugIn ¶
func SlugIn(vs ...string) predicate.Organization
SlugIn applies the In predicate on the "slug" field.
func SlugLT ¶
func SlugLT(v string) predicate.Organization
SlugLT applies the LT predicate on the "slug" field.
func SlugLTE ¶
func SlugLTE(v string) predicate.Organization
SlugLTE applies the LTE predicate on the "slug" field.
func SlugNEQ ¶
func SlugNEQ(v string) predicate.Organization
SlugNEQ applies the NEQ predicate on the "slug" field.
func SlugNotIn ¶
func SlugNotIn(vs ...string) predicate.Organization
SlugNotIn applies the NotIn predicate on the "slug" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.Organization
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.Organization
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.Organization
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.Organization
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.Organization
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.Organization
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.Organization
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.Organization
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.Organization
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 Organization queries.
func ByAPIKeys ¶
func ByAPIKeys(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByAPIKeys orders the results by api_keys terms.
func ByAPIKeysCount ¶
func ByAPIKeysCount(opts ...sql.OrderTermOption) OrderOption
ByAPIKeysCount orders the results by api_keys count.
func ByActive ¶
func ByActive(opts ...sql.OrderTermOption) OrderOption
ByActive orders the results by the active field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByLogoURL ¶
func ByLogoURL(opts ...sql.OrderTermOption) OrderOption
ByLogoURL orders the results by the logo_url field.
func ByMemberships ¶
func ByMemberships(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByMemberships orders the results by memberships terms.
func ByMembershipsCount ¶
func ByMembershipsCount(opts ...sql.OrderTermOption) OrderOption
ByMembershipsCount orders the results by memberships count.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByOauthApps ¶
func ByOauthApps(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByOauthApps orders the results by oauth_apps terms.
func ByOauthAppsCount ¶
func ByOauthAppsCount(opts ...sql.OrderTermOption) OrderOption
ByOauthAppsCount orders the results by oauth_apps count.
func ByPlan ¶
func ByPlan(opts ...sql.OrderTermOption) OrderOption
ByPlan orders the results by the plan field.
func ByServiceAccounts ¶
func ByServiceAccounts(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByServiceAccounts orders the results by service_accounts terms.
func ByServiceAccountsCount ¶
func ByServiceAccountsCount(opts ...sql.OrderTermOption) OrderOption
ByServiceAccountsCount orders the results by service_accounts count.
func BySlug ¶
func BySlug(opts ...sql.OrderTermOption) OrderOption
BySlug orders the results by the slug field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.