Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Agent) predicate.Agent
- func CreatedAt(v time.Time) predicate.Agent
- func CreatedAtEQ(v time.Time) predicate.Agent
- func CreatedAtGT(v time.Time) predicate.Agent
- func CreatedAtGTE(v time.Time) predicate.Agent
- func CreatedAtIn(vs ...time.Time) predicate.Agent
- func CreatedAtLT(v time.Time) predicate.Agent
- func CreatedAtLTE(v time.Time) predicate.Agent
- func CreatedAtNEQ(v time.Time) predicate.Agent
- func CreatedAtNotIn(vs ...time.Time) predicate.Agent
- func CreatedBy(v uuid.UUID) predicate.Agent
- func CreatedByEQ(v uuid.UUID) predicate.Agent
- func CreatedByIn(vs ...uuid.UUID) predicate.Agent
- func CreatedByNEQ(v uuid.UUID) predicate.Agent
- func CreatedByNotIn(vs ...uuid.UUID) predicate.Agent
- func Description(v string) predicate.Agent
- func DescriptionContains(v string) predicate.Agent
- func DescriptionContainsFold(v string) predicate.Agent
- func DescriptionEQ(v string) predicate.Agent
- func DescriptionEqualFold(v string) predicate.Agent
- func DescriptionGT(v string) predicate.Agent
- func DescriptionGTE(v string) predicate.Agent
- func DescriptionHasPrefix(v string) predicate.Agent
- func DescriptionHasSuffix(v string) predicate.Agent
- func DescriptionIn(vs ...string) predicate.Agent
- func DescriptionIsNil() predicate.Agent
- func DescriptionLT(v string) predicate.Agent
- func DescriptionLTE(v string) predicate.Agent
- func DescriptionNEQ(v string) predicate.Agent
- func DescriptionNotIn(vs ...string) predicate.Agent
- func DescriptionNotNil() predicate.Agent
- func Featured(v bool) predicate.Agent
- func FeaturedEQ(v bool) predicate.Agent
- func FeaturedNEQ(v bool) predicate.Agent
- func HasCreator() predicate.Agent
- func HasCreatorWith(preds ...predicate.User) predicate.Agent
- func HasRoles() predicate.Agent
- func HasRolesWith(preds ...predicate.AgentRole) predicate.Agent
- func HasSkills() predicate.Agent
- func HasSkillsWith(preds ...predicate.AgentSkill) predicate.Agent
- func ID(id uuid.UUID) predicate.Agent
- func IDEQ(id uuid.UUID) predicate.Agent
- func IDGT(id uuid.UUID) predicate.Agent
- func IDGTE(id uuid.UUID) predicate.Agent
- func IDIn(ids ...uuid.UUID) predicate.Agent
- func IDLT(id uuid.UUID) predicate.Agent
- func IDLTE(id uuid.UUID) predicate.Agent
- func IDNEQ(id uuid.UUID) predicate.Agent
- func IDNotIn(ids ...uuid.UUID) predicate.Agent
- func Model(v string) predicate.Agent
- func ModelContains(v string) predicate.Agent
- func ModelContainsFold(v string) predicate.Agent
- func ModelEQ(v string) predicate.Agent
- func ModelEqualFold(v string) predicate.Agent
- func ModelGT(v string) predicate.Agent
- func ModelGTE(v string) predicate.Agent
- func ModelHasPrefix(v string) predicate.Agent
- func ModelHasSuffix(v string) predicate.Agent
- func ModelIn(vs ...string) predicate.Agent
- func ModelIsNil() predicate.Agent
- func ModelLT(v string) predicate.Agent
- func ModelLTE(v string) predicate.Agent
- func ModelNEQ(v string) predicate.Agent
- func ModelNotIn(vs ...string) predicate.Agent
- func ModelNotNil() predicate.Agent
- func Name(v string) predicate.Agent
- func NameContains(v string) predicate.Agent
- func NameContainsFold(v string) predicate.Agent
- func NameEQ(v string) predicate.Agent
- func NameEqualFold(v string) predicate.Agent
- func NameGT(v string) predicate.Agent
- func NameGTE(v string) predicate.Agent
- func NameHasPrefix(v string) predicate.Agent
- func NameHasSuffix(v string) predicate.Agent
- func NameIn(vs ...string) predicate.Agent
- func NameLT(v string) predicate.Agent
- func NameLTE(v string) predicate.Agent
- func NameNEQ(v string) predicate.Agent
- func NameNotIn(vs ...string) predicate.Agent
- func Not(p predicate.Agent) predicate.Agent
- func Or(predicates ...predicate.Agent) predicate.Agent
- func Persona(v string) predicate.Agent
- func PersonaContains(v string) predicate.Agent
- func PersonaContainsFold(v string) predicate.Agent
- func PersonaEQ(v string) predicate.Agent
- func PersonaEqualFold(v string) predicate.Agent
- func PersonaGT(v string) predicate.Agent
- func PersonaGTE(v string) predicate.Agent
- func PersonaHasPrefix(v string) predicate.Agent
- func PersonaHasSuffix(v string) predicate.Agent
- func PersonaIn(vs ...string) predicate.Agent
- func PersonaIsNil() predicate.Agent
- func PersonaLT(v string) predicate.Agent
- func PersonaLTE(v string) predicate.Agent
- func PersonaNEQ(v string) predicate.Agent
- func PersonaNotIn(vs ...string) predicate.Agent
- func PersonaNotNil() predicate.Agent
- func Provider(v string) predicate.Agent
- func ProviderContains(v string) predicate.Agent
- func ProviderContainsFold(v string) predicate.Agent
- func ProviderEQ(v string) predicate.Agent
- func ProviderEqualFold(v string) predicate.Agent
- func ProviderGT(v string) predicate.Agent
- func ProviderGTE(v string) predicate.Agent
- func ProviderHasPrefix(v string) predicate.Agent
- func ProviderHasSuffix(v string) predicate.Agent
- func ProviderIn(vs ...string) predicate.Agent
- func ProviderIsNil() predicate.Agent
- func ProviderLT(v string) predicate.Agent
- func ProviderLTE(v string) predicate.Agent
- func ProviderNEQ(v string) predicate.Agent
- func ProviderNotIn(vs ...string) predicate.Agent
- func ProviderNotNil() predicate.Agent
- func Slug(v string) predicate.Agent
- func SlugContains(v string) predicate.Agent
- func SlugContainsFold(v string) predicate.Agent
- func SlugEQ(v string) predicate.Agent
- func SlugEqualFold(v string) predicate.Agent
- func SlugGT(v string) predicate.Agent
- func SlugGTE(v string) predicate.Agent
- func SlugHasPrefix(v string) predicate.Agent
- func SlugHasSuffix(v string) predicate.Agent
- func SlugIn(vs ...string) predicate.Agent
- func SlugLT(v string) predicate.Agent
- func SlugLTE(v string) predicate.Agent
- func SlugNEQ(v string) predicate.Agent
- func SlugNotIn(vs ...string) predicate.Agent
- func UpdatedAt(v time.Time) predicate.Agent
- func UpdatedAtEQ(v time.Time) predicate.Agent
- func UpdatedAtGT(v time.Time) predicate.Agent
- func UpdatedAtGTE(v time.Time) predicate.Agent
- func UpdatedAtIn(vs ...time.Time) predicate.Agent
- func UpdatedAtLT(v time.Time) predicate.Agent
- func UpdatedAtLTE(v time.Time) predicate.Agent
- func UpdatedAtNEQ(v time.Time) predicate.Agent
- func UpdatedAtNotIn(vs ...time.Time) predicate.Agent
- func ValidColumn(column string) bool
- func VisibilityEQ(v Visibility) predicate.Agent
- func VisibilityIn(vs ...Visibility) predicate.Agent
- func VisibilityNEQ(v Visibility) predicate.Agent
- func VisibilityNotIn(vs ...Visibility) predicate.Agent
- func VisibilityValidator(v Visibility) error
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByCreatorField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByFeatured(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByModel(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByPersona(opts ...sql.OrderTermOption) OrderOption
- func ByProvider(opts ...sql.OrderTermOption) OrderOption
- func ByRoles(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByRolesCount(opts ...sql.OrderTermOption) OrderOption
- func BySkills(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func BySkillsCount(opts ...sql.OrderTermOption) OrderOption
- func BySlug(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByVisibility(opts ...sql.OrderTermOption) OrderOption
- type Visibility
Constants ¶
const ( // Label holds the string label denoting the agent type in the database. Label = "agent" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldSlug holds the string denoting the slug field in the database. FieldSlug = "slug" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldPersona holds the string denoting the persona field in the database. FieldPersona = "persona" // FieldModel holds the string denoting the model field in the database. FieldModel = "model" // FieldProvider holds the string denoting the provider field in the database. FieldProvider = "provider" // FieldVisibility holds the string denoting the visibility field in the database. FieldVisibility = "visibility" // FieldFeatured holds the string denoting the featured field in the database. FieldFeatured = "featured" // FieldCreatedBy holds the string denoting the created_by field in the database. FieldCreatedBy = "created_by" // 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" // EdgeCreator holds the string denoting the creator edge name in mutations. EdgeCreator = "creator" // EdgeSkills holds the string denoting the skills edge name in mutations. EdgeSkills = "skills" // EdgeRoles holds the string denoting the roles edge name in mutations. EdgeRoles = "roles" // Table holds the table name of the agent in the database. Table = "agents" // CreatorTable is the table that holds the creator relation/edge. CreatorTable = "agents" // CreatorInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. CreatorInverseTable = "users" // CreatorColumn is the table column denoting the creator relation/edge. CreatorColumn = "created_by" // SkillsTable is the table that holds the skills relation/edge. SkillsTable = "agent_skills" // SkillsInverseTable is the table name for the AgentSkill entity. // It exists in this package in order to avoid circular dependency with the "agentskill" package. SkillsInverseTable = "agent_skills" // SkillsColumn is the table column denoting the skills relation/edge. SkillsColumn = "agent_id" // RolesTable is the table that holds the roles relation/edge. RolesTable = "agent_roles" // RolesInverseTable is the table name for the AgentRole entity. // It exists in this package in order to avoid circular dependency with the "agentrole" package. RolesInverseTable = "agent_roles" // RolesColumn is the table column denoting the roles relation/edge. RolesColumn = "agent_id" )
const DefaultVisibility = VisibilityPrivate
VisibilityPrivate is the default value of the Visibility enum.
Variables ¶
var ( // SlugValidator is a validator for the "slug" field. It is called by the builders before save. SlugValidator func(string) error // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DefaultFeatured holds the default value on creation for the "featured" field. DefaultFeatured bool // 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 // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldSlug, FieldName, FieldDescription, FieldPersona, FieldModel, FieldProvider, FieldVisibility, FieldFeatured, FieldCreatedBy, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for agent fields.
Functions ¶
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 CreatedBy ¶
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByEQ ¶
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByIn ¶
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByNEQ ¶
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func Description ¶
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
DescriptionNotNil applies the NotNil predicate on the "description" field.
func Featured ¶
Featured applies equality check predicate on the "featured" field. It's identical to FeaturedEQ.
func FeaturedEQ ¶
FeaturedEQ applies the EQ predicate on the "featured" field.
func FeaturedNEQ ¶
FeaturedNEQ applies the NEQ predicate on the "featured" field.
func HasCreator ¶
HasCreator applies the HasEdge predicate on the "creator" edge.
func HasCreatorWith ¶
HasCreatorWith applies the HasEdge predicate on the "creator" edge with a given conditions (other predicates).
func HasRolesWith ¶
HasRolesWith applies the HasEdge predicate on the "roles" edge with a given conditions (other predicates).
func HasSkillsWith ¶
func HasSkillsWith(preds ...predicate.AgentSkill) predicate.Agent
HasSkillsWith applies the HasEdge predicate on the "skills" edge with a given conditions (other predicates).
func Model ¶
Model applies equality check predicate on the "model" field. It's identical to ModelEQ.
func ModelContains ¶
ModelContains applies the Contains predicate on the "model" field.
func ModelContainsFold ¶
ModelContainsFold applies the ContainsFold predicate on the "model" field.
func ModelEqualFold ¶
ModelEqualFold applies the EqualFold predicate on the "model" field.
func ModelHasPrefix ¶
ModelHasPrefix applies the HasPrefix predicate on the "model" field.
func ModelHasSuffix ¶
ModelHasSuffix applies the HasSuffix predicate on the "model" field.
func ModelIsNil ¶
ModelIsNil applies the IsNil predicate on the "model" field.
func ModelNotIn ¶
ModelNotIn applies the NotIn predicate on the "model" field.
func ModelNotNil ¶
ModelNotNil applies the NotNil predicate on the "model" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func Persona ¶
Persona applies equality check predicate on the "persona" field. It's identical to PersonaEQ.
func PersonaContains ¶
PersonaContains applies the Contains predicate on the "persona" field.
func PersonaContainsFold ¶
PersonaContainsFold applies the ContainsFold predicate on the "persona" field.
func PersonaEqualFold ¶
PersonaEqualFold applies the EqualFold predicate on the "persona" field.
func PersonaGTE ¶
PersonaGTE applies the GTE predicate on the "persona" field.
func PersonaHasPrefix ¶
PersonaHasPrefix applies the HasPrefix predicate on the "persona" field.
func PersonaHasSuffix ¶
PersonaHasSuffix applies the HasSuffix predicate on the "persona" field.
func PersonaIsNil ¶
PersonaIsNil applies the IsNil predicate on the "persona" field.
func PersonaLTE ¶
PersonaLTE applies the LTE predicate on the "persona" field.
func PersonaNEQ ¶
PersonaNEQ applies the NEQ predicate on the "persona" field.
func PersonaNotIn ¶
PersonaNotIn applies the NotIn predicate on the "persona" field.
func PersonaNotNil ¶
PersonaNotNil applies the NotNil predicate on the "persona" field.
func Provider ¶
Provider applies equality check predicate on the "provider" field. It's identical to ProviderEQ.
func ProviderContains ¶
ProviderContains applies the Contains predicate on the "provider" field.
func ProviderContainsFold ¶
ProviderContainsFold applies the ContainsFold predicate on the "provider" field.
func ProviderEQ ¶
ProviderEQ applies the EQ predicate on the "provider" field.
func ProviderEqualFold ¶
ProviderEqualFold applies the EqualFold predicate on the "provider" field.
func ProviderGT ¶
ProviderGT applies the GT predicate on the "provider" field.
func ProviderGTE ¶
ProviderGTE applies the GTE predicate on the "provider" field.
func ProviderHasPrefix ¶
ProviderHasPrefix applies the HasPrefix predicate on the "provider" field.
func ProviderHasSuffix ¶
ProviderHasSuffix applies the HasSuffix predicate on the "provider" field.
func ProviderIn ¶
ProviderIn applies the In predicate on the "provider" field.
func ProviderIsNil ¶
ProviderIsNil applies the IsNil predicate on the "provider" field.
func ProviderLT ¶
ProviderLT applies the LT predicate on the "provider" field.
func ProviderLTE ¶
ProviderLTE applies the LTE predicate on the "provider" field.
func ProviderNEQ ¶
ProviderNEQ applies the NEQ predicate on the "provider" field.
func ProviderNotIn ¶
ProviderNotIn applies the NotIn predicate on the "provider" field.
func ProviderNotNil ¶
ProviderNotNil applies the NotNil predicate on the "provider" field.
func SlugContains ¶
SlugContains applies the Contains predicate on the "slug" field.
func SlugContainsFold ¶
SlugContainsFold applies the ContainsFold predicate on the "slug" field.
func SlugEqualFold ¶
SlugEqualFold applies the EqualFold predicate on the "slug" field.
func SlugHasPrefix ¶
SlugHasPrefix applies the HasPrefix predicate on the "slug" field.
func SlugHasSuffix ¶
SlugHasSuffix applies the HasSuffix predicate on the "slug" 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).
func VisibilityEQ ¶
func VisibilityEQ(v Visibility) predicate.Agent
VisibilityEQ applies the EQ predicate on the "visibility" field.
func VisibilityIn ¶
func VisibilityIn(vs ...Visibility) predicate.Agent
VisibilityIn applies the In predicate on the "visibility" field.
func VisibilityNEQ ¶
func VisibilityNEQ(v Visibility) predicate.Agent
VisibilityNEQ applies the NEQ predicate on the "visibility" field.
func VisibilityNotIn ¶
func VisibilityNotIn(vs ...Visibility) predicate.Agent
VisibilityNotIn applies the NotIn predicate on the "visibility" field.
func VisibilityValidator ¶
func VisibilityValidator(v Visibility) error
VisibilityValidator is a validator for the "visibility" field enum values. It is called by the builders before save.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Agent queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCreatedBy ¶
func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
ByCreatedBy orders the results by the created_by field.
func ByCreatorField ¶
func ByCreatorField(field string, opts ...sql.OrderTermOption) OrderOption
ByCreatorField orders the results by creator field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByFeatured ¶
func ByFeatured(opts ...sql.OrderTermOption) OrderOption
ByFeatured orders the results by the featured field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByModel ¶
func ByModel(opts ...sql.OrderTermOption) OrderOption
ByModel orders the results by the model field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByPersona ¶
func ByPersona(opts ...sql.OrderTermOption) OrderOption
ByPersona orders the results by the persona field.
func ByProvider ¶
func ByProvider(opts ...sql.OrderTermOption) OrderOption
ByProvider orders the results by the provider field.
func ByRoles ¶
func ByRoles(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByRoles orders the results by roles terms.
func ByRolesCount ¶
func ByRolesCount(opts ...sql.OrderTermOption) OrderOption
ByRolesCount orders the results by roles count.
func BySkills ¶
func BySkills(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
BySkills orders the results by skills terms.
func BySkillsCount ¶
func BySkillsCount(opts ...sql.OrderTermOption) OrderOption
BySkillsCount orders the results by skills 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.
func ByVisibility ¶
func ByVisibility(opts ...sql.OrderTermOption) OrderOption
ByVisibility orders the results by the visibility field.
type Visibility ¶
type Visibility string
Visibility defines the type for the "visibility" enum field.
const ( VisibilityPrivate Visibility = "private" VisibilityListed Visibility = "listed" )
Visibility values.
func (Visibility) String ¶
func (v Visibility) String() string