Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.AgentSkillRepo) predicate.AgentSkillRepo
- func CreatedAt(v time.Time) predicate.AgentSkillRepo
- func CreatedAtEQ(v time.Time) predicate.AgentSkillRepo
- func CreatedAtGT(v time.Time) predicate.AgentSkillRepo
- func CreatedAtGTE(v time.Time) predicate.AgentSkillRepo
- func CreatedAtIn(vs ...time.Time) predicate.AgentSkillRepo
- func CreatedAtLT(v time.Time) predicate.AgentSkillRepo
- func CreatedAtLTE(v time.Time) predicate.AgentSkillRepo
- func CreatedAtNEQ(v time.Time) predicate.AgentSkillRepo
- func CreatedAtNotIn(vs ...time.Time) predicate.AgentSkillRepo
- func CreatedBy(v uuid.UUID) predicate.AgentSkillRepo
- func CreatedByEQ(v uuid.UUID) predicate.AgentSkillRepo
- func CreatedByGT(v uuid.UUID) predicate.AgentSkillRepo
- func CreatedByGTE(v uuid.UUID) predicate.AgentSkillRepo
- func CreatedByIn(vs ...uuid.UUID) predicate.AgentSkillRepo
- func CreatedByLT(v uuid.UUID) predicate.AgentSkillRepo
- func CreatedByLTE(v uuid.UUID) predicate.AgentSkillRepo
- func CreatedByNEQ(v uuid.UUID) predicate.AgentSkillRepo
- func CreatedByNotIn(vs ...uuid.UUID) predicate.AgentSkillRepo
- func GithubURL(v string) predicate.AgentSkillRepo
- func GithubURLContains(v string) predicate.AgentSkillRepo
- func GithubURLContainsFold(v string) predicate.AgentSkillRepo
- func GithubURLEQ(v string) predicate.AgentSkillRepo
- func GithubURLEqualFold(v string) predicate.AgentSkillRepo
- func GithubURLGT(v string) predicate.AgentSkillRepo
- func GithubURLGTE(v string) predicate.AgentSkillRepo
- func GithubURLHasPrefix(v string) predicate.AgentSkillRepo
- func GithubURLHasSuffix(v string) predicate.AgentSkillRepo
- func GithubURLIn(vs ...string) predicate.AgentSkillRepo
- func GithubURLIsNil() predicate.AgentSkillRepo
- func GithubURLLT(v string) predicate.AgentSkillRepo
- func GithubURLLTE(v string) predicate.AgentSkillRepo
- func GithubURLNEQ(v string) predicate.AgentSkillRepo
- func GithubURLNotIn(vs ...string) predicate.AgentSkillRepo
- func GithubURLNotNil() predicate.AgentSkillRepo
- func HasSkills() predicate.AgentSkillRepo
- func HasSkillsWith(preds ...predicate.AgentSkill) predicate.AgentSkillRepo
- func ID(id uuid.UUID) predicate.AgentSkillRepo
- func IDEQ(id uuid.UUID) predicate.AgentSkillRepo
- func IDGT(id uuid.UUID) predicate.AgentSkillRepo
- func IDGTE(id uuid.UUID) predicate.AgentSkillRepo
- func IDIn(ids ...uuid.UUID) predicate.AgentSkillRepo
- func IDLT(id uuid.UUID) predicate.AgentSkillRepo
- func IDLTE(id uuid.UUID) predicate.AgentSkillRepo
- func IDNEQ(id uuid.UUID) predicate.AgentSkillRepo
- func IDNotIn(ids ...uuid.UUID) predicate.AgentSkillRepo
- func IsDeleted(v bool) predicate.AgentSkillRepo
- func IsDeletedEQ(v bool) predicate.AgentSkillRepo
- func IsDeletedNEQ(v bool) predicate.AgentSkillRepo
- func LastUploadAt(v time.Time) predicate.AgentSkillRepo
- func LastUploadAtEQ(v time.Time) predicate.AgentSkillRepo
- func LastUploadAtGT(v time.Time) predicate.AgentSkillRepo
- func LastUploadAtGTE(v time.Time) predicate.AgentSkillRepo
- func LastUploadAtIn(vs ...time.Time) predicate.AgentSkillRepo
- func LastUploadAtIsNil() predicate.AgentSkillRepo
- func LastUploadAtLT(v time.Time) predicate.AgentSkillRepo
- func LastUploadAtLTE(v time.Time) predicate.AgentSkillRepo
- func LastUploadAtNEQ(v time.Time) predicate.AgentSkillRepo
- func LastUploadAtNotIn(vs ...time.Time) predicate.AgentSkillRepo
- func LastUploadAtNotNil() predicate.AgentSkillRepo
- func LastUploadFilename(v string) predicate.AgentSkillRepo
- func LastUploadFilenameContains(v string) predicate.AgentSkillRepo
- func LastUploadFilenameContainsFold(v string) predicate.AgentSkillRepo
- func LastUploadFilenameEQ(v string) predicate.AgentSkillRepo
- func LastUploadFilenameEqualFold(v string) predicate.AgentSkillRepo
- func LastUploadFilenameGT(v string) predicate.AgentSkillRepo
- func LastUploadFilenameGTE(v string) predicate.AgentSkillRepo
- func LastUploadFilenameHasPrefix(v string) predicate.AgentSkillRepo
- func LastUploadFilenameHasSuffix(v string) predicate.AgentSkillRepo
- func LastUploadFilenameIn(vs ...string) predicate.AgentSkillRepo
- func LastUploadFilenameIsNil() predicate.AgentSkillRepo
- func LastUploadFilenameLT(v string) predicate.AgentSkillRepo
- func LastUploadFilenameLTE(v string) predicate.AgentSkillRepo
- func LastUploadFilenameNEQ(v string) predicate.AgentSkillRepo
- func LastUploadFilenameNotIn(vs ...string) predicate.AgentSkillRepo
- func LastUploadFilenameNotNil() predicate.AgentSkillRepo
- func Name(v string) predicate.AgentSkillRepo
- func NameContains(v string) predicate.AgentSkillRepo
- func NameContainsFold(v string) predicate.AgentSkillRepo
- func NameEQ(v string) predicate.AgentSkillRepo
- func NameEqualFold(v string) predicate.AgentSkillRepo
- func NameGT(v string) predicate.AgentSkillRepo
- func NameGTE(v string) predicate.AgentSkillRepo
- func NameHasPrefix(v string) predicate.AgentSkillRepo
- func NameHasSuffix(v string) predicate.AgentSkillRepo
- func NameIn(vs ...string) predicate.AgentSkillRepo
- func NameLT(v string) predicate.AgentSkillRepo
- func NameLTE(v string) predicate.AgentSkillRepo
- func NameNEQ(v string) predicate.AgentSkillRepo
- func NameNotIn(vs ...string) predicate.AgentSkillRepo
- func Not(p predicate.AgentSkillRepo) predicate.AgentSkillRepo
- func Or(predicates ...predicate.AgentSkillRepo) predicate.AgentSkillRepo
- func RefTypeEQ(v RefType) predicate.AgentSkillRepo
- func RefTypeIn(vs ...RefType) predicate.AgentSkillRepo
- func RefTypeIsNil() predicate.AgentSkillRepo
- func RefTypeNEQ(v RefType) predicate.AgentSkillRepo
- func RefTypeNotIn(vs ...RefType) predicate.AgentSkillRepo
- func RefTypeNotNil() predicate.AgentSkillRepo
- func RefTypeValidator(rt RefType) error
- func RefValue(v string) predicate.AgentSkillRepo
- func RefValueContains(v string) predicate.AgentSkillRepo
- func RefValueContainsFold(v string) predicate.AgentSkillRepo
- func RefValueEQ(v string) predicate.AgentSkillRepo
- func RefValueEqualFold(v string) predicate.AgentSkillRepo
- func RefValueGT(v string) predicate.AgentSkillRepo
- func RefValueGTE(v string) predicate.AgentSkillRepo
- func RefValueHasPrefix(v string) predicate.AgentSkillRepo
- func RefValueHasSuffix(v string) predicate.AgentSkillRepo
- func RefValueIn(vs ...string) predicate.AgentSkillRepo
- func RefValueIsNil() predicate.AgentSkillRepo
- func RefValueLT(v string) predicate.AgentSkillRepo
- func RefValueLTE(v string) predicate.AgentSkillRepo
- func RefValueNEQ(v string) predicate.AgentSkillRepo
- func RefValueNotIn(vs ...string) predicate.AgentSkillRepo
- func RefValueNotNil() predicate.AgentSkillRepo
- func ScopeID(v string) predicate.AgentSkillRepo
- func ScopeIDContains(v string) predicate.AgentSkillRepo
- func ScopeIDContainsFold(v string) predicate.AgentSkillRepo
- func ScopeIDEQ(v string) predicate.AgentSkillRepo
- func ScopeIDEqualFold(v string) predicate.AgentSkillRepo
- func ScopeIDGT(v string) predicate.AgentSkillRepo
- func ScopeIDGTE(v string) predicate.AgentSkillRepo
- func ScopeIDHasPrefix(v string) predicate.AgentSkillRepo
- func ScopeIDHasSuffix(v string) predicate.AgentSkillRepo
- func ScopeIDIn(vs ...string) predicate.AgentSkillRepo
- func ScopeIDLT(v string) predicate.AgentSkillRepo
- func ScopeIDLTE(v string) predicate.AgentSkillRepo
- func ScopeIDNEQ(v string) predicate.AgentSkillRepo
- func ScopeIDNotIn(vs ...string) predicate.AgentSkillRepo
- func ScopeTypeEQ(v ScopeType) predicate.AgentSkillRepo
- func ScopeTypeIn(vs ...ScopeType) predicate.AgentSkillRepo
- func ScopeTypeNEQ(v ScopeType) predicate.AgentSkillRepo
- func ScopeTypeNotIn(vs ...ScopeType) predicate.AgentSkillRepo
- func ScopeTypeValidator(st ScopeType) error
- func SourceTypeEQ(v SourceType) predicate.AgentSkillRepo
- func SourceTypeIn(vs ...SourceType) predicate.AgentSkillRepo
- func SourceTypeNEQ(v SourceType) predicate.AgentSkillRepo
- func SourceTypeNotIn(vs ...SourceType) predicate.AgentSkillRepo
- func SourceTypeValidator(st SourceType) error
- func UpdatedAt(v time.Time) predicate.AgentSkillRepo
- func UpdatedAtEQ(v time.Time) predicate.AgentSkillRepo
- func UpdatedAtGT(v time.Time) predicate.AgentSkillRepo
- func UpdatedAtGTE(v time.Time) predicate.AgentSkillRepo
- func UpdatedAtIn(vs ...time.Time) predicate.AgentSkillRepo
- func UpdatedAtLT(v time.Time) predicate.AgentSkillRepo
- func UpdatedAtLTE(v time.Time) predicate.AgentSkillRepo
- func UpdatedAtNEQ(v time.Time) predicate.AgentSkillRepo
- func UpdatedAtNotIn(vs ...time.Time) predicate.AgentSkillRepo
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByGithubURL(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIsDeleted(opts ...sql.OrderTermOption) OrderOption
- func ByLastUploadAt(opts ...sql.OrderTermOption) OrderOption
- func ByLastUploadFilename(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByRefType(opts ...sql.OrderTermOption) OrderOption
- func ByRefValue(opts ...sql.OrderTermOption) OrderOption
- func ByScopeID(opts ...sql.OrderTermOption) OrderOption
- func ByScopeType(opts ...sql.OrderTermOption) OrderOption
- func BySkills(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func BySkillsCount(opts ...sql.OrderTermOption) OrderOption
- func BySourceType(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- type RefType
- type ScopeType
- type SourceType
Constants ¶
const ( // Label holds the string label denoting the agentskillrepo type in the database. Label = "agent_skill_repo" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldScopeType holds the string denoting the scope_type field in the database. FieldScopeType = "scope_type" // FieldScopeID holds the string denoting the scope_id field in the database. FieldScopeID = "scope_id" // FieldCreatedBy holds the string denoting the created_by field in the database. FieldCreatedBy = "created_by" // FieldSourceType holds the string denoting the source_type field in the database. FieldSourceType = "source_type" // FieldGithubURL holds the string denoting the github_url field in the database. FieldGithubURL = "github_url" // FieldRefType holds the string denoting the ref_type field in the database. FieldRefType = "ref_type" // FieldRefValue holds the string denoting the ref_value field in the database. FieldRefValue = "ref_value" // FieldLastUploadFilename holds the string denoting the last_upload_filename field in the database. FieldLastUploadFilename = "last_upload_filename" // FieldLastUploadAt holds the string denoting the last_upload_at field in the database. FieldLastUploadAt = "last_upload_at" // FieldIsDeleted holds the string denoting the is_deleted field in the database. FieldIsDeleted = "is_deleted" // 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" // EdgeSkills holds the string denoting the skills edge name in mutations. EdgeSkills = "skills" // Table holds the table name of the agentskillrepo in the database. Table = "agent_skill_repos" // 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 = "repo_id" )
const DefaultScopeType = ScopeTypeGlobal
ScopeTypeGlobal is the default value of the ScopeType enum.
Variables ¶
var ( // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DefaultScopeID holds the default value on creation for the "scope_id" field. DefaultScopeID string // DefaultIsDeleted holds the default value on creation for the "is_deleted" field. DefaultIsDeleted 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, FieldName, FieldScopeType, FieldScopeID, FieldCreatedBy, FieldSourceType, FieldGithubURL, FieldRefType, FieldRefValue, FieldLastUploadFilename, FieldLastUploadAt, FieldIsDeleted, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for agentskillrepo fields.
Functions ¶
func And ¶
func And(predicates ...predicate.AgentSkillRepo) predicate.AgentSkillRepo
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.AgentSkillRepo
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.AgentSkillRepo
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.AgentSkillRepo
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.AgentSkillRepo
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.AgentSkillRepo
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.AgentSkillRepo
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.AgentSkillRepo
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.AgentSkillRepo
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.AgentSkillRepo
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedBy ¶
func CreatedBy(v uuid.UUID) predicate.AgentSkillRepo
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByEQ ¶
func CreatedByEQ(v uuid.UUID) predicate.AgentSkillRepo
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByGT ¶
func CreatedByGT(v uuid.UUID) predicate.AgentSkillRepo
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
func CreatedByGTE(v uuid.UUID) predicate.AgentSkillRepo
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByIn ¶
func CreatedByIn(vs ...uuid.UUID) predicate.AgentSkillRepo
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByLT ¶
func CreatedByLT(v uuid.UUID) predicate.AgentSkillRepo
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
func CreatedByLTE(v uuid.UUID) predicate.AgentSkillRepo
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
func CreatedByNEQ(v uuid.UUID) predicate.AgentSkillRepo
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
func CreatedByNotIn(vs ...uuid.UUID) predicate.AgentSkillRepo
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func GithubURL ¶
func GithubURL(v string) predicate.AgentSkillRepo
GithubURL applies equality check predicate on the "github_url" field. It's identical to GithubURLEQ.
func GithubURLContains ¶
func GithubURLContains(v string) predicate.AgentSkillRepo
GithubURLContains applies the Contains predicate on the "github_url" field.
func GithubURLContainsFold ¶
func GithubURLContainsFold(v string) predicate.AgentSkillRepo
GithubURLContainsFold applies the ContainsFold predicate on the "github_url" field.
func GithubURLEQ ¶
func GithubURLEQ(v string) predicate.AgentSkillRepo
GithubURLEQ applies the EQ predicate on the "github_url" field.
func GithubURLEqualFold ¶
func GithubURLEqualFold(v string) predicate.AgentSkillRepo
GithubURLEqualFold applies the EqualFold predicate on the "github_url" field.
func GithubURLGT ¶
func GithubURLGT(v string) predicate.AgentSkillRepo
GithubURLGT applies the GT predicate on the "github_url" field.
func GithubURLGTE ¶
func GithubURLGTE(v string) predicate.AgentSkillRepo
GithubURLGTE applies the GTE predicate on the "github_url" field.
func GithubURLHasPrefix ¶
func GithubURLHasPrefix(v string) predicate.AgentSkillRepo
GithubURLHasPrefix applies the HasPrefix predicate on the "github_url" field.
func GithubURLHasSuffix ¶
func GithubURLHasSuffix(v string) predicate.AgentSkillRepo
GithubURLHasSuffix applies the HasSuffix predicate on the "github_url" field.
func GithubURLIn ¶
func GithubURLIn(vs ...string) predicate.AgentSkillRepo
GithubURLIn applies the In predicate on the "github_url" field.
func GithubURLIsNil ¶
func GithubURLIsNil() predicate.AgentSkillRepo
GithubURLIsNil applies the IsNil predicate on the "github_url" field.
func GithubURLLT ¶
func GithubURLLT(v string) predicate.AgentSkillRepo
GithubURLLT applies the LT predicate on the "github_url" field.
func GithubURLLTE ¶
func GithubURLLTE(v string) predicate.AgentSkillRepo
GithubURLLTE applies the LTE predicate on the "github_url" field.
func GithubURLNEQ ¶
func GithubURLNEQ(v string) predicate.AgentSkillRepo
GithubURLNEQ applies the NEQ predicate on the "github_url" field.
func GithubURLNotIn ¶
func GithubURLNotIn(vs ...string) predicate.AgentSkillRepo
GithubURLNotIn applies the NotIn predicate on the "github_url" field.
func GithubURLNotNil ¶
func GithubURLNotNil() predicate.AgentSkillRepo
GithubURLNotNil applies the NotNil predicate on the "github_url" field.
func HasSkills ¶
func HasSkills() predicate.AgentSkillRepo
HasSkills applies the HasEdge predicate on the "skills" edge.
func HasSkillsWith ¶
func HasSkillsWith(preds ...predicate.AgentSkill) predicate.AgentSkillRepo
HasSkillsWith applies the HasEdge predicate on the "skills" edge with a given conditions (other predicates).
func ID ¶
func ID(id uuid.UUID) predicate.AgentSkillRepo
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.AgentSkillRepo
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.AgentSkillRepo
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.AgentSkillRepo
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.AgentSkillRepo
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.AgentSkillRepo
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.AgentSkillRepo
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.AgentSkillRepo
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.AgentSkillRepo
IDNotIn applies the NotIn predicate on the ID field.
func IsDeleted ¶
func IsDeleted(v bool) predicate.AgentSkillRepo
IsDeleted applies equality check predicate on the "is_deleted" field. It's identical to IsDeletedEQ.
func IsDeletedEQ ¶
func IsDeletedEQ(v bool) predicate.AgentSkillRepo
IsDeletedEQ applies the EQ predicate on the "is_deleted" field.
func IsDeletedNEQ ¶
func IsDeletedNEQ(v bool) predicate.AgentSkillRepo
IsDeletedNEQ applies the NEQ predicate on the "is_deleted" field.
func LastUploadAt ¶
func LastUploadAt(v time.Time) predicate.AgentSkillRepo
LastUploadAt applies equality check predicate on the "last_upload_at" field. It's identical to LastUploadAtEQ.
func LastUploadAtEQ ¶
func LastUploadAtEQ(v time.Time) predicate.AgentSkillRepo
LastUploadAtEQ applies the EQ predicate on the "last_upload_at" field.
func LastUploadAtGT ¶
func LastUploadAtGT(v time.Time) predicate.AgentSkillRepo
LastUploadAtGT applies the GT predicate on the "last_upload_at" field.
func LastUploadAtGTE ¶
func LastUploadAtGTE(v time.Time) predicate.AgentSkillRepo
LastUploadAtGTE applies the GTE predicate on the "last_upload_at" field.
func LastUploadAtIn ¶
func LastUploadAtIn(vs ...time.Time) predicate.AgentSkillRepo
LastUploadAtIn applies the In predicate on the "last_upload_at" field.
func LastUploadAtIsNil ¶
func LastUploadAtIsNil() predicate.AgentSkillRepo
LastUploadAtIsNil applies the IsNil predicate on the "last_upload_at" field.
func LastUploadAtLT ¶
func LastUploadAtLT(v time.Time) predicate.AgentSkillRepo
LastUploadAtLT applies the LT predicate on the "last_upload_at" field.
func LastUploadAtLTE ¶
func LastUploadAtLTE(v time.Time) predicate.AgentSkillRepo
LastUploadAtLTE applies the LTE predicate on the "last_upload_at" field.
func LastUploadAtNEQ ¶
func LastUploadAtNEQ(v time.Time) predicate.AgentSkillRepo
LastUploadAtNEQ applies the NEQ predicate on the "last_upload_at" field.
func LastUploadAtNotIn ¶
func LastUploadAtNotIn(vs ...time.Time) predicate.AgentSkillRepo
LastUploadAtNotIn applies the NotIn predicate on the "last_upload_at" field.
func LastUploadAtNotNil ¶
func LastUploadAtNotNil() predicate.AgentSkillRepo
LastUploadAtNotNil applies the NotNil predicate on the "last_upload_at" field.
func LastUploadFilename ¶
func LastUploadFilename(v string) predicate.AgentSkillRepo
LastUploadFilename applies equality check predicate on the "last_upload_filename" field. It's identical to LastUploadFilenameEQ.
func LastUploadFilenameContains ¶
func LastUploadFilenameContains(v string) predicate.AgentSkillRepo
LastUploadFilenameContains applies the Contains predicate on the "last_upload_filename" field.
func LastUploadFilenameContainsFold ¶
func LastUploadFilenameContainsFold(v string) predicate.AgentSkillRepo
LastUploadFilenameContainsFold applies the ContainsFold predicate on the "last_upload_filename" field.
func LastUploadFilenameEQ ¶
func LastUploadFilenameEQ(v string) predicate.AgentSkillRepo
LastUploadFilenameEQ applies the EQ predicate on the "last_upload_filename" field.
func LastUploadFilenameEqualFold ¶
func LastUploadFilenameEqualFold(v string) predicate.AgentSkillRepo
LastUploadFilenameEqualFold applies the EqualFold predicate on the "last_upload_filename" field.
func LastUploadFilenameGT ¶
func LastUploadFilenameGT(v string) predicate.AgentSkillRepo
LastUploadFilenameGT applies the GT predicate on the "last_upload_filename" field.
func LastUploadFilenameGTE ¶
func LastUploadFilenameGTE(v string) predicate.AgentSkillRepo
LastUploadFilenameGTE applies the GTE predicate on the "last_upload_filename" field.
func LastUploadFilenameHasPrefix ¶
func LastUploadFilenameHasPrefix(v string) predicate.AgentSkillRepo
LastUploadFilenameHasPrefix applies the HasPrefix predicate on the "last_upload_filename" field.
func LastUploadFilenameHasSuffix ¶
func LastUploadFilenameHasSuffix(v string) predicate.AgentSkillRepo
LastUploadFilenameHasSuffix applies the HasSuffix predicate on the "last_upload_filename" field.
func LastUploadFilenameIn ¶
func LastUploadFilenameIn(vs ...string) predicate.AgentSkillRepo
LastUploadFilenameIn applies the In predicate on the "last_upload_filename" field.
func LastUploadFilenameIsNil ¶
func LastUploadFilenameIsNil() predicate.AgentSkillRepo
LastUploadFilenameIsNil applies the IsNil predicate on the "last_upload_filename" field.
func LastUploadFilenameLT ¶
func LastUploadFilenameLT(v string) predicate.AgentSkillRepo
LastUploadFilenameLT applies the LT predicate on the "last_upload_filename" field.
func LastUploadFilenameLTE ¶
func LastUploadFilenameLTE(v string) predicate.AgentSkillRepo
LastUploadFilenameLTE applies the LTE predicate on the "last_upload_filename" field.
func LastUploadFilenameNEQ ¶
func LastUploadFilenameNEQ(v string) predicate.AgentSkillRepo
LastUploadFilenameNEQ applies the NEQ predicate on the "last_upload_filename" field.
func LastUploadFilenameNotIn ¶
func LastUploadFilenameNotIn(vs ...string) predicate.AgentSkillRepo
LastUploadFilenameNotIn applies the NotIn predicate on the "last_upload_filename" field.
func LastUploadFilenameNotNil ¶
func LastUploadFilenameNotNil() predicate.AgentSkillRepo
LastUploadFilenameNotNil applies the NotNil predicate on the "last_upload_filename" field.
func Name ¶
func Name(v string) predicate.AgentSkillRepo
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.AgentSkillRepo
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.AgentSkillRepo
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.AgentSkillRepo
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.AgentSkillRepo
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.AgentSkillRepo
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.AgentSkillRepo
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.AgentSkillRepo
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.AgentSkillRepo
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.AgentSkillRepo
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.AgentSkillRepo
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.AgentSkillRepo
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.AgentSkillRepo
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.AgentSkillRepo
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.AgentSkillRepo) predicate.AgentSkillRepo
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.AgentSkillRepo) predicate.AgentSkillRepo
Or groups predicates with the OR operator between them.
func RefTypeEQ ¶
func RefTypeEQ(v RefType) predicate.AgentSkillRepo
RefTypeEQ applies the EQ predicate on the "ref_type" field.
func RefTypeIn ¶
func RefTypeIn(vs ...RefType) predicate.AgentSkillRepo
RefTypeIn applies the In predicate on the "ref_type" field.
func RefTypeIsNil ¶
func RefTypeIsNil() predicate.AgentSkillRepo
RefTypeIsNil applies the IsNil predicate on the "ref_type" field.
func RefTypeNEQ ¶
func RefTypeNEQ(v RefType) predicate.AgentSkillRepo
RefTypeNEQ applies the NEQ predicate on the "ref_type" field.
func RefTypeNotIn ¶
func RefTypeNotIn(vs ...RefType) predicate.AgentSkillRepo
RefTypeNotIn applies the NotIn predicate on the "ref_type" field.
func RefTypeNotNil ¶
func RefTypeNotNil() predicate.AgentSkillRepo
RefTypeNotNil applies the NotNil predicate on the "ref_type" field.
func RefTypeValidator ¶
RefTypeValidator is a validator for the "ref_type" field enum values. It is called by the builders before save.
func RefValue ¶
func RefValue(v string) predicate.AgentSkillRepo
RefValue applies equality check predicate on the "ref_value" field. It's identical to RefValueEQ.
func RefValueContains ¶
func RefValueContains(v string) predicate.AgentSkillRepo
RefValueContains applies the Contains predicate on the "ref_value" field.
func RefValueContainsFold ¶
func RefValueContainsFold(v string) predicate.AgentSkillRepo
RefValueContainsFold applies the ContainsFold predicate on the "ref_value" field.
func RefValueEQ ¶
func RefValueEQ(v string) predicate.AgentSkillRepo
RefValueEQ applies the EQ predicate on the "ref_value" field.
func RefValueEqualFold ¶
func RefValueEqualFold(v string) predicate.AgentSkillRepo
RefValueEqualFold applies the EqualFold predicate on the "ref_value" field.
func RefValueGT ¶
func RefValueGT(v string) predicate.AgentSkillRepo
RefValueGT applies the GT predicate on the "ref_value" field.
func RefValueGTE ¶
func RefValueGTE(v string) predicate.AgentSkillRepo
RefValueGTE applies the GTE predicate on the "ref_value" field.
func RefValueHasPrefix ¶
func RefValueHasPrefix(v string) predicate.AgentSkillRepo
RefValueHasPrefix applies the HasPrefix predicate on the "ref_value" field.
func RefValueHasSuffix ¶
func RefValueHasSuffix(v string) predicate.AgentSkillRepo
RefValueHasSuffix applies the HasSuffix predicate on the "ref_value" field.
func RefValueIn ¶
func RefValueIn(vs ...string) predicate.AgentSkillRepo
RefValueIn applies the In predicate on the "ref_value" field.
func RefValueIsNil ¶
func RefValueIsNil() predicate.AgentSkillRepo
RefValueIsNil applies the IsNil predicate on the "ref_value" field.
func RefValueLT ¶
func RefValueLT(v string) predicate.AgentSkillRepo
RefValueLT applies the LT predicate on the "ref_value" field.
func RefValueLTE ¶
func RefValueLTE(v string) predicate.AgentSkillRepo
RefValueLTE applies the LTE predicate on the "ref_value" field.
func RefValueNEQ ¶
func RefValueNEQ(v string) predicate.AgentSkillRepo
RefValueNEQ applies the NEQ predicate on the "ref_value" field.
func RefValueNotIn ¶
func RefValueNotIn(vs ...string) predicate.AgentSkillRepo
RefValueNotIn applies the NotIn predicate on the "ref_value" field.
func RefValueNotNil ¶
func RefValueNotNil() predicate.AgentSkillRepo
RefValueNotNil applies the NotNil predicate on the "ref_value" field.
func ScopeID ¶
func ScopeID(v string) predicate.AgentSkillRepo
ScopeID applies equality check predicate on the "scope_id" field. It's identical to ScopeIDEQ.
func ScopeIDContains ¶
func ScopeIDContains(v string) predicate.AgentSkillRepo
ScopeIDContains applies the Contains predicate on the "scope_id" field.
func ScopeIDContainsFold ¶
func ScopeIDContainsFold(v string) predicate.AgentSkillRepo
ScopeIDContainsFold applies the ContainsFold predicate on the "scope_id" field.
func ScopeIDEQ ¶
func ScopeIDEQ(v string) predicate.AgentSkillRepo
ScopeIDEQ applies the EQ predicate on the "scope_id" field.
func ScopeIDEqualFold ¶
func ScopeIDEqualFold(v string) predicate.AgentSkillRepo
ScopeIDEqualFold applies the EqualFold predicate on the "scope_id" field.
func ScopeIDGT ¶
func ScopeIDGT(v string) predicate.AgentSkillRepo
ScopeIDGT applies the GT predicate on the "scope_id" field.
func ScopeIDGTE ¶
func ScopeIDGTE(v string) predicate.AgentSkillRepo
ScopeIDGTE applies the GTE predicate on the "scope_id" field.
func ScopeIDHasPrefix ¶
func ScopeIDHasPrefix(v string) predicate.AgentSkillRepo
ScopeIDHasPrefix applies the HasPrefix predicate on the "scope_id" field.
func ScopeIDHasSuffix ¶
func ScopeIDHasSuffix(v string) predicate.AgentSkillRepo
ScopeIDHasSuffix applies the HasSuffix predicate on the "scope_id" field.
func ScopeIDIn ¶
func ScopeIDIn(vs ...string) predicate.AgentSkillRepo
ScopeIDIn applies the In predicate on the "scope_id" field.
func ScopeIDLT ¶
func ScopeIDLT(v string) predicate.AgentSkillRepo
ScopeIDLT applies the LT predicate on the "scope_id" field.
func ScopeIDLTE ¶
func ScopeIDLTE(v string) predicate.AgentSkillRepo
ScopeIDLTE applies the LTE predicate on the "scope_id" field.
func ScopeIDNEQ ¶
func ScopeIDNEQ(v string) predicate.AgentSkillRepo
ScopeIDNEQ applies the NEQ predicate on the "scope_id" field.
func ScopeIDNotIn ¶
func ScopeIDNotIn(vs ...string) predicate.AgentSkillRepo
ScopeIDNotIn applies the NotIn predicate on the "scope_id" field.
func ScopeTypeEQ ¶
func ScopeTypeEQ(v ScopeType) predicate.AgentSkillRepo
ScopeTypeEQ applies the EQ predicate on the "scope_type" field.
func ScopeTypeIn ¶
func ScopeTypeIn(vs ...ScopeType) predicate.AgentSkillRepo
ScopeTypeIn applies the In predicate on the "scope_type" field.
func ScopeTypeNEQ ¶
func ScopeTypeNEQ(v ScopeType) predicate.AgentSkillRepo
ScopeTypeNEQ applies the NEQ predicate on the "scope_type" field.
func ScopeTypeNotIn ¶
func ScopeTypeNotIn(vs ...ScopeType) predicate.AgentSkillRepo
ScopeTypeNotIn applies the NotIn predicate on the "scope_type" field.
func ScopeTypeValidator ¶
ScopeTypeValidator is a validator for the "scope_type" field enum values. It is called by the builders before save.
func SourceTypeEQ ¶
func SourceTypeEQ(v SourceType) predicate.AgentSkillRepo
SourceTypeEQ applies the EQ predicate on the "source_type" field.
func SourceTypeIn ¶
func SourceTypeIn(vs ...SourceType) predicate.AgentSkillRepo
SourceTypeIn applies the In predicate on the "source_type" field.
func SourceTypeNEQ ¶
func SourceTypeNEQ(v SourceType) predicate.AgentSkillRepo
SourceTypeNEQ applies the NEQ predicate on the "source_type" field.
func SourceTypeNotIn ¶
func SourceTypeNotIn(vs ...SourceType) predicate.AgentSkillRepo
SourceTypeNotIn applies the NotIn predicate on the "source_type" field.
func SourceTypeValidator ¶
func SourceTypeValidator(st SourceType) error
SourceTypeValidator is a validator for the "source_type" field enum values. It is called by the builders before save.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.AgentSkillRepo
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.AgentSkillRepo
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.AgentSkillRepo
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.AgentSkillRepo
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.AgentSkillRepo
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.AgentSkillRepo
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.AgentSkillRepo
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.AgentSkillRepo
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.AgentSkillRepo
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 AgentSkillRepo 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 ByGithubURL ¶
func ByGithubURL(opts ...sql.OrderTermOption) OrderOption
ByGithubURL orders the results by the github_url field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIsDeleted ¶
func ByIsDeleted(opts ...sql.OrderTermOption) OrderOption
ByIsDeleted orders the results by the is_deleted field.
func ByLastUploadAt ¶
func ByLastUploadAt(opts ...sql.OrderTermOption) OrderOption
ByLastUploadAt orders the results by the last_upload_at field.
func ByLastUploadFilename ¶
func ByLastUploadFilename(opts ...sql.OrderTermOption) OrderOption
ByLastUploadFilename orders the results by the last_upload_filename field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByRefType ¶
func ByRefType(opts ...sql.OrderTermOption) OrderOption
ByRefType orders the results by the ref_type field.
func ByRefValue ¶
func ByRefValue(opts ...sql.OrderTermOption) OrderOption
ByRefValue orders the results by the ref_value field.
func ByScopeID ¶
func ByScopeID(opts ...sql.OrderTermOption) OrderOption
ByScopeID orders the results by the scope_id field.
func ByScopeType ¶
func ByScopeType(opts ...sql.OrderTermOption) OrderOption
ByScopeType orders the results by the scope_type field.
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 BySourceType ¶
func BySourceType(opts ...sql.OrderTermOption) OrderOption
BySourceType orders the results by the source_type field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
type RefType ¶
type RefType string
RefType defines the type for the "ref_type" enum field.
type ScopeType ¶
type ScopeType string
ScopeType defines the type for the "scope_type" enum field.
type SourceType ¶
type SourceType string
SourceType defines the type for the "source_type" enum field.
const ( SourceTypeGithub SourceType = "github" SourceTypeUpload SourceType = "upload" SourceTypeBare SourceType = "bare" )
SourceType values.
func (SourceType) String ¶
func (st SourceType) String() string