Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.CodeSnippet) predicate.CodeSnippet
- func ContainerName(v string) predicate.CodeSnippet
- func ContainerNameContains(v string) predicate.CodeSnippet
- func ContainerNameContainsFold(v string) predicate.CodeSnippet
- func ContainerNameEQ(v string) predicate.CodeSnippet
- func ContainerNameEqualFold(v string) predicate.CodeSnippet
- func ContainerNameGT(v string) predicate.CodeSnippet
- func ContainerNameGTE(v string) predicate.CodeSnippet
- func ContainerNameHasPrefix(v string) predicate.CodeSnippet
- func ContainerNameHasSuffix(v string) predicate.CodeSnippet
- func ContainerNameIn(vs ...string) predicate.CodeSnippet
- func ContainerNameIsNil() predicate.CodeSnippet
- func ContainerNameLT(v string) predicate.CodeSnippet
- func ContainerNameLTE(v string) predicate.CodeSnippet
- func ContainerNameNEQ(v string) predicate.CodeSnippet
- func ContainerNameNotIn(vs ...string) predicate.CodeSnippet
- func ContainerNameNotNil() predicate.CodeSnippet
- func Content(v string) predicate.CodeSnippet
- func ContentContains(v string) predicate.CodeSnippet
- func ContentContainsFold(v string) predicate.CodeSnippet
- func ContentEQ(v string) predicate.CodeSnippet
- func ContentEqualFold(v string) predicate.CodeSnippet
- func ContentGT(v string) predicate.CodeSnippet
- func ContentGTE(v string) predicate.CodeSnippet
- func ContentHasPrefix(v string) predicate.CodeSnippet
- func ContentHasSuffix(v string) predicate.CodeSnippet
- func ContentIn(vs ...string) predicate.CodeSnippet
- func ContentLT(v string) predicate.CodeSnippet
- func ContentLTE(v string) predicate.CodeSnippet
- func ContentNEQ(v string) predicate.CodeSnippet
- func ContentNotIn(vs ...string) predicate.CodeSnippet
- func DefinitionText(v string) predicate.CodeSnippet
- func DefinitionTextContains(v string) predicate.CodeSnippet
- func DefinitionTextContainsFold(v string) predicate.CodeSnippet
- func DefinitionTextEQ(v string) predicate.CodeSnippet
- func DefinitionTextEqualFold(v string) predicate.CodeSnippet
- func DefinitionTextGT(v string) predicate.CodeSnippet
- func DefinitionTextGTE(v string) predicate.CodeSnippet
- func DefinitionTextHasPrefix(v string) predicate.CodeSnippet
- func DefinitionTextHasSuffix(v string) predicate.CodeSnippet
- func DefinitionTextIn(vs ...string) predicate.CodeSnippet
- func DefinitionTextIsNil() predicate.CodeSnippet
- func DefinitionTextLT(v string) predicate.CodeSnippet
- func DefinitionTextLTE(v string) predicate.CodeSnippet
- func DefinitionTextNEQ(v string) predicate.CodeSnippet
- func DefinitionTextNotIn(vs ...string) predicate.CodeSnippet
- func DefinitionTextNotNil() predicate.CodeSnippet
- func DependenciesIsNil() predicate.CodeSnippet
- func DependenciesNotNil() predicate.CodeSnippet
- func Embedding(v pgvector.Vector) predicate.CodeSnippet
- func EmbeddingEQ(v pgvector.Vector) predicate.CodeSnippet
- func EmbeddingGT(v pgvector.Vector) predicate.CodeSnippet
- func EmbeddingGTE(v pgvector.Vector) predicate.CodeSnippet
- func EmbeddingIn(vs ...pgvector.Vector) predicate.CodeSnippet
- func EmbeddingIsNil() predicate.CodeSnippet
- func EmbeddingLT(v pgvector.Vector) predicate.CodeSnippet
- func EmbeddingLTE(v pgvector.Vector) predicate.CodeSnippet
- func EmbeddingNEQ(v pgvector.Vector) predicate.CodeSnippet
- func EmbeddingNotIn(vs ...pgvector.Vector) predicate.CodeSnippet
- func EmbeddingNotNil() predicate.CodeSnippet
- func EndColumn(v int) predicate.CodeSnippet
- func EndColumnEQ(v int) predicate.CodeSnippet
- func EndColumnGT(v int) predicate.CodeSnippet
- func EndColumnGTE(v int) predicate.CodeSnippet
- func EndColumnIn(vs ...int) predicate.CodeSnippet
- func EndColumnLT(v int) predicate.CodeSnippet
- func EndColumnLTE(v int) predicate.CodeSnippet
- func EndColumnNEQ(v int) predicate.CodeSnippet
- func EndColumnNotIn(vs ...int) predicate.CodeSnippet
- func EndLine(v int) predicate.CodeSnippet
- func EndLineEQ(v int) predicate.CodeSnippet
- func EndLineGT(v int) predicate.CodeSnippet
- func EndLineGTE(v int) predicate.CodeSnippet
- func EndLineIn(vs ...int) predicate.CodeSnippet
- func EndLineLT(v int) predicate.CodeSnippet
- func EndLineLTE(v int) predicate.CodeSnippet
- func EndLineNEQ(v int) predicate.CodeSnippet
- func EndLineNotIn(vs ...int) predicate.CodeSnippet
- func HasSourceFile() predicate.CodeSnippet
- func HasSourceFileWith(preds ...predicate.WorkspaceFile) predicate.CodeSnippet
- func Hash(v string) predicate.CodeSnippet
- func HashContains(v string) predicate.CodeSnippet
- func HashContainsFold(v string) predicate.CodeSnippet
- func HashEQ(v string) predicate.CodeSnippet
- func HashEqualFold(v string) predicate.CodeSnippet
- func HashGT(v string) predicate.CodeSnippet
- func HashGTE(v string) predicate.CodeSnippet
- func HashHasPrefix(v string) predicate.CodeSnippet
- func HashHasSuffix(v string) predicate.CodeSnippet
- func HashIn(vs ...string) predicate.CodeSnippet
- func HashLT(v string) predicate.CodeSnippet
- func HashLTE(v string) predicate.CodeSnippet
- func HashNEQ(v string) predicate.CodeSnippet
- func HashNotIn(vs ...string) predicate.CodeSnippet
- func ID(id uuid.UUID) predicate.CodeSnippet
- func IDEQ(id uuid.UUID) predicate.CodeSnippet
- func IDGT(id uuid.UUID) predicate.CodeSnippet
- func IDGTE(id uuid.UUID) predicate.CodeSnippet
- func IDIn(ids ...uuid.UUID) predicate.CodeSnippet
- func IDLT(id uuid.UUID) predicate.CodeSnippet
- func IDLTE(id uuid.UUID) predicate.CodeSnippet
- func IDNEQ(id uuid.UUID) predicate.CodeSnippet
- func IDNotIn(ids ...uuid.UUID) predicate.CodeSnippet
- func Language(v string) predicate.CodeSnippet
- func LanguageContains(v string) predicate.CodeSnippet
- func LanguageContainsFold(v string) predicate.CodeSnippet
- func LanguageEQ(v string) predicate.CodeSnippet
- func LanguageEqualFold(v string) predicate.CodeSnippet
- func LanguageGT(v string) predicate.CodeSnippet
- func LanguageGTE(v string) predicate.CodeSnippet
- func LanguageHasPrefix(v string) predicate.CodeSnippet
- func LanguageHasSuffix(v string) predicate.CodeSnippet
- func LanguageIn(vs ...string) predicate.CodeSnippet
- func LanguageLT(v string) predicate.CodeSnippet
- func LanguageLTE(v string) predicate.CodeSnippet
- func LanguageNEQ(v string) predicate.CodeSnippet
- func LanguageNotIn(vs ...string) predicate.CodeSnippet
- func Name(v string) predicate.CodeSnippet
- func NameContains(v string) predicate.CodeSnippet
- func NameContainsFold(v string) predicate.CodeSnippet
- func NameEQ(v string) predicate.CodeSnippet
- func NameEqualFold(v string) predicate.CodeSnippet
- func NameGT(v string) predicate.CodeSnippet
- func NameGTE(v string) predicate.CodeSnippet
- func NameHasPrefix(v string) predicate.CodeSnippet
- func NameHasSuffix(v string) predicate.CodeSnippet
- func NameIn(vs ...string) predicate.CodeSnippet
- func NameLT(v string) predicate.CodeSnippet
- func NameLTE(v string) predicate.CodeSnippet
- func NameNEQ(v string) predicate.CodeSnippet
- func NameNotIn(vs ...string) predicate.CodeSnippet
- func Namespace(v string) predicate.CodeSnippet
- func NamespaceContains(v string) predicate.CodeSnippet
- func NamespaceContainsFold(v string) predicate.CodeSnippet
- func NamespaceEQ(v string) predicate.CodeSnippet
- func NamespaceEqualFold(v string) predicate.CodeSnippet
- func NamespaceGT(v string) predicate.CodeSnippet
- func NamespaceGTE(v string) predicate.CodeSnippet
- func NamespaceHasPrefix(v string) predicate.CodeSnippet
- func NamespaceHasSuffix(v string) predicate.CodeSnippet
- func NamespaceIn(vs ...string) predicate.CodeSnippet
- func NamespaceIsNil() predicate.CodeSnippet
- func NamespaceLT(v string) predicate.CodeSnippet
- func NamespaceLTE(v string) predicate.CodeSnippet
- func NamespaceNEQ(v string) predicate.CodeSnippet
- func NamespaceNotIn(vs ...string) predicate.CodeSnippet
- func NamespaceNotNil() predicate.CodeSnippet
- func Not(p predicate.CodeSnippet) predicate.CodeSnippet
- func Or(predicates ...predicate.CodeSnippet) predicate.CodeSnippet
- func ParametersIsNil() predicate.CodeSnippet
- func ParametersNotNil() predicate.CodeSnippet
- func ScopeIsNil() predicate.CodeSnippet
- func ScopeNotNil() predicate.CodeSnippet
- func Signature(v string) predicate.CodeSnippet
- func SignatureContains(v string) predicate.CodeSnippet
- func SignatureContainsFold(v string) predicate.CodeSnippet
- func SignatureEQ(v string) predicate.CodeSnippet
- func SignatureEqualFold(v string) predicate.CodeSnippet
- func SignatureGT(v string) predicate.CodeSnippet
- func SignatureGTE(v string) predicate.CodeSnippet
- func SignatureHasPrefix(v string) predicate.CodeSnippet
- func SignatureHasSuffix(v string) predicate.CodeSnippet
- func SignatureIn(vs ...string) predicate.CodeSnippet
- func SignatureIsNil() predicate.CodeSnippet
- func SignatureLT(v string) predicate.CodeSnippet
- func SignatureLTE(v string) predicate.CodeSnippet
- func SignatureNEQ(v string) predicate.CodeSnippet
- func SignatureNotIn(vs ...string) predicate.CodeSnippet
- func SignatureNotNil() predicate.CodeSnippet
- func SnippetType(v string) predicate.CodeSnippet
- func SnippetTypeContains(v string) predicate.CodeSnippet
- func SnippetTypeContainsFold(v string) predicate.CodeSnippet
- func SnippetTypeEQ(v string) predicate.CodeSnippet
- func SnippetTypeEqualFold(v string) predicate.CodeSnippet
- func SnippetTypeGT(v string) predicate.CodeSnippet
- func SnippetTypeGTE(v string) predicate.CodeSnippet
- func SnippetTypeHasPrefix(v string) predicate.CodeSnippet
- func SnippetTypeHasSuffix(v string) predicate.CodeSnippet
- func SnippetTypeIn(vs ...string) predicate.CodeSnippet
- func SnippetTypeLT(v string) predicate.CodeSnippet
- func SnippetTypeLTE(v string) predicate.CodeSnippet
- func SnippetTypeNEQ(v string) predicate.CodeSnippet
- func SnippetTypeNotIn(vs ...string) predicate.CodeSnippet
- func StartColumn(v int) predicate.CodeSnippet
- func StartColumnEQ(v int) predicate.CodeSnippet
- func StartColumnGT(v int) predicate.CodeSnippet
- func StartColumnGTE(v int) predicate.CodeSnippet
- func StartColumnIn(vs ...int) predicate.CodeSnippet
- func StartColumnLT(v int) predicate.CodeSnippet
- func StartColumnLTE(v int) predicate.CodeSnippet
- func StartColumnNEQ(v int) predicate.CodeSnippet
- func StartColumnNotIn(vs ...int) predicate.CodeSnippet
- func StartLine(v int) predicate.CodeSnippet
- func StartLineEQ(v int) predicate.CodeSnippet
- func StartLineGT(v int) predicate.CodeSnippet
- func StartLineGTE(v int) predicate.CodeSnippet
- func StartLineIn(vs ...int) predicate.CodeSnippet
- func StartLineLT(v int) predicate.CodeSnippet
- func StartLineLTE(v int) predicate.CodeSnippet
- func StartLineNEQ(v int) predicate.CodeSnippet
- func StartLineNotIn(vs ...int) predicate.CodeSnippet
- func StructuredInfoIsNil() predicate.CodeSnippet
- func StructuredInfoNotNil() predicate.CodeSnippet
- func ValidColumn(column string) bool
- func WorkspaceFileID(v uuid.UUID) predicate.CodeSnippet
- func WorkspaceFileIDEQ(v uuid.UUID) predicate.CodeSnippet
- func WorkspaceFileIDIn(vs ...uuid.UUID) predicate.CodeSnippet
- func WorkspaceFileIDNEQ(v uuid.UUID) predicate.CodeSnippet
- func WorkspaceFileIDNotIn(vs ...uuid.UUID) predicate.CodeSnippet
- func WorkspacePath(v string) predicate.CodeSnippet
- func WorkspacePathContains(v string) predicate.CodeSnippet
- func WorkspacePathContainsFold(v string) predicate.CodeSnippet
- func WorkspacePathEQ(v string) predicate.CodeSnippet
- func WorkspacePathEqualFold(v string) predicate.CodeSnippet
- func WorkspacePathGT(v string) predicate.CodeSnippet
- func WorkspacePathGTE(v string) predicate.CodeSnippet
- func WorkspacePathHasPrefix(v string) predicate.CodeSnippet
- func WorkspacePathHasSuffix(v string) predicate.CodeSnippet
- func WorkspacePathIn(vs ...string) predicate.CodeSnippet
- func WorkspacePathIsNil() predicate.CodeSnippet
- func WorkspacePathLT(v string) predicate.CodeSnippet
- func WorkspacePathLTE(v string) predicate.CodeSnippet
- func WorkspacePathNEQ(v string) predicate.CodeSnippet
- func WorkspacePathNotIn(vs ...string) predicate.CodeSnippet
- func WorkspacePathNotNil() predicate.CodeSnippet
- type OrderOption
- func ByContainerName(opts ...sql.OrderTermOption) OrderOption
- func ByContent(opts ...sql.OrderTermOption) OrderOption
- func ByDefinitionText(opts ...sql.OrderTermOption) OrderOption
- func ByEmbedding(opts ...sql.OrderTermOption) OrderOption
- func ByEndColumn(opts ...sql.OrderTermOption) OrderOption
- func ByEndLine(opts ...sql.OrderTermOption) OrderOption
- func ByHash(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByLanguage(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByNamespace(opts ...sql.OrderTermOption) OrderOption
- func BySignature(opts ...sql.OrderTermOption) OrderOption
- func BySnippetType(opts ...sql.OrderTermOption) OrderOption
- func BySourceFileField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByStartColumn(opts ...sql.OrderTermOption) OrderOption
- func ByStartLine(opts ...sql.OrderTermOption) OrderOption
- func ByWorkspaceFileID(opts ...sql.OrderTermOption) OrderOption
- func ByWorkspacePath(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the codesnippet type in the database. Label = "code_snippet" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldWorkspaceFileID holds the string denoting the workspace_file_id field in the database. FieldWorkspaceFileID = "workspace_file_id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldSnippetType holds the string denoting the snippet_type field in the database. FieldSnippetType = "snippet_type" // FieldLanguage holds the string denoting the language field in the database. FieldLanguage = "language" // FieldContent holds the string denoting the content field in the database. FieldContent = "content" // FieldHash holds the string denoting the hash field in the database. FieldHash = "hash" // FieldStartLine holds the string denoting the start_line field in the database. FieldStartLine = "start_line" // FieldEndLine holds the string denoting the end_line field in the database. FieldEndLine = "end_line" // FieldStartColumn holds the string denoting the start_column field in the database. FieldStartColumn = "start_column" // FieldEndColumn holds the string denoting the end_column field in the database. FieldEndColumn = "end_column" // FieldNamespace holds the string denoting the namespace field in the database. FieldNamespace = "namespace" // FieldContainerName holds the string denoting the container_name field in the database. FieldContainerName = "container_name" // FieldScope holds the string denoting the scope field in the database. FieldScope = "scope" // FieldDependencies holds the string denoting the dependencies field in the database. FieldDependencies = "dependencies" // FieldParameters holds the string denoting the parameters field in the database. FieldParameters = "parameters" // FieldSignature holds the string denoting the signature field in the database. FieldSignature = "signature" // FieldDefinitionText holds the string denoting the definition_text field in the database. FieldDefinitionText = "definition_text" // FieldStructuredInfo holds the string denoting the structured_info field in the database. FieldStructuredInfo = "structured_info" // FieldEmbedding holds the string denoting the embedding field in the database. FieldEmbedding = "embedding" // FieldWorkspacePath holds the string denoting the workspacepath field in the database. FieldWorkspacePath = "workspace_path" // EdgeSourceFile holds the string denoting the source_file edge name in mutations. EdgeSourceFile = "source_file" // Table holds the table name of the codesnippet in the database. Table = "code_snippets" // SourceFileTable is the table that holds the source_file relation/edge. SourceFileTable = "code_snippets" // SourceFileInverseTable is the table name for the WorkspaceFile entity. // It exists in this package in order to avoid circular dependency with the "workspacefile" package. SourceFileInverseTable = "workspace_files" // SourceFileColumn is the table column denoting the source_file relation/edge. SourceFileColumn = "workspace_file_id" )
Variables ¶
var Columns = []string{ FieldID, FieldWorkspaceFileID, FieldName, FieldSnippetType, FieldLanguage, FieldContent, FieldHash, FieldStartLine, FieldEndLine, FieldStartColumn, FieldEndColumn, FieldNamespace, FieldContainerName, FieldScope, FieldDependencies, FieldParameters, FieldSignature, FieldDefinitionText, FieldStructuredInfo, FieldEmbedding, FieldWorkspacePath, }
Columns holds all SQL columns for codesnippet fields.
Functions ¶
func And ¶
func And(predicates ...predicate.CodeSnippet) predicate.CodeSnippet
And groups predicates with the AND operator between them.
func ContainerName ¶
func ContainerName(v string) predicate.CodeSnippet
ContainerName applies equality check predicate on the "container_name" field. It's identical to ContainerNameEQ.
func ContainerNameContains ¶
func ContainerNameContains(v string) predicate.CodeSnippet
ContainerNameContains applies the Contains predicate on the "container_name" field.
func ContainerNameContainsFold ¶
func ContainerNameContainsFold(v string) predicate.CodeSnippet
ContainerNameContainsFold applies the ContainsFold predicate on the "container_name" field.
func ContainerNameEQ ¶
func ContainerNameEQ(v string) predicate.CodeSnippet
ContainerNameEQ applies the EQ predicate on the "container_name" field.
func ContainerNameEqualFold ¶
func ContainerNameEqualFold(v string) predicate.CodeSnippet
ContainerNameEqualFold applies the EqualFold predicate on the "container_name" field.
func ContainerNameGT ¶
func ContainerNameGT(v string) predicate.CodeSnippet
ContainerNameGT applies the GT predicate on the "container_name" field.
func ContainerNameGTE ¶
func ContainerNameGTE(v string) predicate.CodeSnippet
ContainerNameGTE applies the GTE predicate on the "container_name" field.
func ContainerNameHasPrefix ¶
func ContainerNameHasPrefix(v string) predicate.CodeSnippet
ContainerNameHasPrefix applies the HasPrefix predicate on the "container_name" field.
func ContainerNameHasSuffix ¶
func ContainerNameHasSuffix(v string) predicate.CodeSnippet
ContainerNameHasSuffix applies the HasSuffix predicate on the "container_name" field.
func ContainerNameIn ¶
func ContainerNameIn(vs ...string) predicate.CodeSnippet
ContainerNameIn applies the In predicate on the "container_name" field.
func ContainerNameIsNil ¶
func ContainerNameIsNil() predicate.CodeSnippet
ContainerNameIsNil applies the IsNil predicate on the "container_name" field.
func ContainerNameLT ¶
func ContainerNameLT(v string) predicate.CodeSnippet
ContainerNameLT applies the LT predicate on the "container_name" field.
func ContainerNameLTE ¶
func ContainerNameLTE(v string) predicate.CodeSnippet
ContainerNameLTE applies the LTE predicate on the "container_name" field.
func ContainerNameNEQ ¶
func ContainerNameNEQ(v string) predicate.CodeSnippet
ContainerNameNEQ applies the NEQ predicate on the "container_name" field.
func ContainerNameNotIn ¶
func ContainerNameNotIn(vs ...string) predicate.CodeSnippet
ContainerNameNotIn applies the NotIn predicate on the "container_name" field.
func ContainerNameNotNil ¶
func ContainerNameNotNil() predicate.CodeSnippet
ContainerNameNotNil applies the NotNil predicate on the "container_name" field.
func Content ¶
func Content(v string) predicate.CodeSnippet
Content applies equality check predicate on the "content" field. It's identical to ContentEQ.
func ContentContains ¶
func ContentContains(v string) predicate.CodeSnippet
ContentContains applies the Contains predicate on the "content" field.
func ContentContainsFold ¶
func ContentContainsFold(v string) predicate.CodeSnippet
ContentContainsFold applies the ContainsFold predicate on the "content" field.
func ContentEQ ¶
func ContentEQ(v string) predicate.CodeSnippet
ContentEQ applies the EQ predicate on the "content" field.
func ContentEqualFold ¶
func ContentEqualFold(v string) predicate.CodeSnippet
ContentEqualFold applies the EqualFold predicate on the "content" field.
func ContentGT ¶
func ContentGT(v string) predicate.CodeSnippet
ContentGT applies the GT predicate on the "content" field.
func ContentGTE ¶
func ContentGTE(v string) predicate.CodeSnippet
ContentGTE applies the GTE predicate on the "content" field.
func ContentHasPrefix ¶
func ContentHasPrefix(v string) predicate.CodeSnippet
ContentHasPrefix applies the HasPrefix predicate on the "content" field.
func ContentHasSuffix ¶
func ContentHasSuffix(v string) predicate.CodeSnippet
ContentHasSuffix applies the HasSuffix predicate on the "content" field.
func ContentIn ¶
func ContentIn(vs ...string) predicate.CodeSnippet
ContentIn applies the In predicate on the "content" field.
func ContentLT ¶
func ContentLT(v string) predicate.CodeSnippet
ContentLT applies the LT predicate on the "content" field.
func ContentLTE ¶
func ContentLTE(v string) predicate.CodeSnippet
ContentLTE applies the LTE predicate on the "content" field.
func ContentNEQ ¶
func ContentNEQ(v string) predicate.CodeSnippet
ContentNEQ applies the NEQ predicate on the "content" field.
func ContentNotIn ¶
func ContentNotIn(vs ...string) predicate.CodeSnippet
ContentNotIn applies the NotIn predicate on the "content" field.
func DefinitionText ¶
func DefinitionText(v string) predicate.CodeSnippet
DefinitionText applies equality check predicate on the "definition_text" field. It's identical to DefinitionTextEQ.
func DefinitionTextContains ¶
func DefinitionTextContains(v string) predicate.CodeSnippet
DefinitionTextContains applies the Contains predicate on the "definition_text" field.
func DefinitionTextContainsFold ¶
func DefinitionTextContainsFold(v string) predicate.CodeSnippet
DefinitionTextContainsFold applies the ContainsFold predicate on the "definition_text" field.
func DefinitionTextEQ ¶
func DefinitionTextEQ(v string) predicate.CodeSnippet
DefinitionTextEQ applies the EQ predicate on the "definition_text" field.
func DefinitionTextEqualFold ¶
func DefinitionTextEqualFold(v string) predicate.CodeSnippet
DefinitionTextEqualFold applies the EqualFold predicate on the "definition_text" field.
func DefinitionTextGT ¶
func DefinitionTextGT(v string) predicate.CodeSnippet
DefinitionTextGT applies the GT predicate on the "definition_text" field.
func DefinitionTextGTE ¶
func DefinitionTextGTE(v string) predicate.CodeSnippet
DefinitionTextGTE applies the GTE predicate on the "definition_text" field.
func DefinitionTextHasPrefix ¶
func DefinitionTextHasPrefix(v string) predicate.CodeSnippet
DefinitionTextHasPrefix applies the HasPrefix predicate on the "definition_text" field.
func DefinitionTextHasSuffix ¶
func DefinitionTextHasSuffix(v string) predicate.CodeSnippet
DefinitionTextHasSuffix applies the HasSuffix predicate on the "definition_text" field.
func DefinitionTextIn ¶
func DefinitionTextIn(vs ...string) predicate.CodeSnippet
DefinitionTextIn applies the In predicate on the "definition_text" field.
func DefinitionTextIsNil ¶
func DefinitionTextIsNil() predicate.CodeSnippet
DefinitionTextIsNil applies the IsNil predicate on the "definition_text" field.
func DefinitionTextLT ¶
func DefinitionTextLT(v string) predicate.CodeSnippet
DefinitionTextLT applies the LT predicate on the "definition_text" field.
func DefinitionTextLTE ¶
func DefinitionTextLTE(v string) predicate.CodeSnippet
DefinitionTextLTE applies the LTE predicate on the "definition_text" field.
func DefinitionTextNEQ ¶
func DefinitionTextNEQ(v string) predicate.CodeSnippet
DefinitionTextNEQ applies the NEQ predicate on the "definition_text" field.
func DefinitionTextNotIn ¶
func DefinitionTextNotIn(vs ...string) predicate.CodeSnippet
DefinitionTextNotIn applies the NotIn predicate on the "definition_text" field.
func DefinitionTextNotNil ¶
func DefinitionTextNotNil() predicate.CodeSnippet
DefinitionTextNotNil applies the NotNil predicate on the "definition_text" field.
func DependenciesIsNil ¶
func DependenciesIsNil() predicate.CodeSnippet
DependenciesIsNil applies the IsNil predicate on the "dependencies" field.
func DependenciesNotNil ¶
func DependenciesNotNil() predicate.CodeSnippet
DependenciesNotNil applies the NotNil predicate on the "dependencies" field.
func Embedding ¶
func Embedding(v pgvector.Vector) predicate.CodeSnippet
Embedding applies equality check predicate on the "embedding" field. It's identical to EmbeddingEQ.
func EmbeddingEQ ¶
func EmbeddingEQ(v pgvector.Vector) predicate.CodeSnippet
EmbeddingEQ applies the EQ predicate on the "embedding" field.
func EmbeddingGT ¶
func EmbeddingGT(v pgvector.Vector) predicate.CodeSnippet
EmbeddingGT applies the GT predicate on the "embedding" field.
func EmbeddingGTE ¶
func EmbeddingGTE(v pgvector.Vector) predicate.CodeSnippet
EmbeddingGTE applies the GTE predicate on the "embedding" field.
func EmbeddingIn ¶
func EmbeddingIn(vs ...pgvector.Vector) predicate.CodeSnippet
EmbeddingIn applies the In predicate on the "embedding" field.
func EmbeddingIsNil ¶
func EmbeddingIsNil() predicate.CodeSnippet
EmbeddingIsNil applies the IsNil predicate on the "embedding" field.
func EmbeddingLT ¶
func EmbeddingLT(v pgvector.Vector) predicate.CodeSnippet
EmbeddingLT applies the LT predicate on the "embedding" field.
func EmbeddingLTE ¶
func EmbeddingLTE(v pgvector.Vector) predicate.CodeSnippet
EmbeddingLTE applies the LTE predicate on the "embedding" field.
func EmbeddingNEQ ¶
func EmbeddingNEQ(v pgvector.Vector) predicate.CodeSnippet
EmbeddingNEQ applies the NEQ predicate on the "embedding" field.
func EmbeddingNotIn ¶
func EmbeddingNotIn(vs ...pgvector.Vector) predicate.CodeSnippet
EmbeddingNotIn applies the NotIn predicate on the "embedding" field.
func EmbeddingNotNil ¶
func EmbeddingNotNil() predicate.CodeSnippet
EmbeddingNotNil applies the NotNil predicate on the "embedding" field.
func EndColumn ¶
func EndColumn(v int) predicate.CodeSnippet
EndColumn applies equality check predicate on the "end_column" field. It's identical to EndColumnEQ.
func EndColumnEQ ¶
func EndColumnEQ(v int) predicate.CodeSnippet
EndColumnEQ applies the EQ predicate on the "end_column" field.
func EndColumnGT ¶
func EndColumnGT(v int) predicate.CodeSnippet
EndColumnGT applies the GT predicate on the "end_column" field.
func EndColumnGTE ¶
func EndColumnGTE(v int) predicate.CodeSnippet
EndColumnGTE applies the GTE predicate on the "end_column" field.
func EndColumnIn ¶
func EndColumnIn(vs ...int) predicate.CodeSnippet
EndColumnIn applies the In predicate on the "end_column" field.
func EndColumnLT ¶
func EndColumnLT(v int) predicate.CodeSnippet
EndColumnLT applies the LT predicate on the "end_column" field.
func EndColumnLTE ¶
func EndColumnLTE(v int) predicate.CodeSnippet
EndColumnLTE applies the LTE predicate on the "end_column" field.
func EndColumnNEQ ¶
func EndColumnNEQ(v int) predicate.CodeSnippet
EndColumnNEQ applies the NEQ predicate on the "end_column" field.
func EndColumnNotIn ¶
func EndColumnNotIn(vs ...int) predicate.CodeSnippet
EndColumnNotIn applies the NotIn predicate on the "end_column" field.
func EndLine ¶
func EndLine(v int) predicate.CodeSnippet
EndLine applies equality check predicate on the "end_line" field. It's identical to EndLineEQ.
func EndLineEQ ¶
func EndLineEQ(v int) predicate.CodeSnippet
EndLineEQ applies the EQ predicate on the "end_line" field.
func EndLineGT ¶
func EndLineGT(v int) predicate.CodeSnippet
EndLineGT applies the GT predicate on the "end_line" field.
func EndLineGTE ¶
func EndLineGTE(v int) predicate.CodeSnippet
EndLineGTE applies the GTE predicate on the "end_line" field.
func EndLineIn ¶
func EndLineIn(vs ...int) predicate.CodeSnippet
EndLineIn applies the In predicate on the "end_line" field.
func EndLineLT ¶
func EndLineLT(v int) predicate.CodeSnippet
EndLineLT applies the LT predicate on the "end_line" field.
func EndLineLTE ¶
func EndLineLTE(v int) predicate.CodeSnippet
EndLineLTE applies the LTE predicate on the "end_line" field.
func EndLineNEQ ¶
func EndLineNEQ(v int) predicate.CodeSnippet
EndLineNEQ applies the NEQ predicate on the "end_line" field.
func EndLineNotIn ¶
func EndLineNotIn(vs ...int) predicate.CodeSnippet
EndLineNotIn applies the NotIn predicate on the "end_line" field.
func HasSourceFile ¶
func HasSourceFile() predicate.CodeSnippet
HasSourceFile applies the HasEdge predicate on the "source_file" edge.
func HasSourceFileWith ¶
func HasSourceFileWith(preds ...predicate.WorkspaceFile) predicate.CodeSnippet
HasSourceFileWith applies the HasEdge predicate on the "source_file" edge with a given conditions (other predicates).
func Hash ¶
func Hash(v string) predicate.CodeSnippet
Hash applies equality check predicate on the "hash" field. It's identical to HashEQ.
func HashContains ¶
func HashContains(v string) predicate.CodeSnippet
HashContains applies the Contains predicate on the "hash" field.
func HashContainsFold ¶
func HashContainsFold(v string) predicate.CodeSnippet
HashContainsFold applies the ContainsFold predicate on the "hash" field.
func HashEQ ¶
func HashEQ(v string) predicate.CodeSnippet
HashEQ applies the EQ predicate on the "hash" field.
func HashEqualFold ¶
func HashEqualFold(v string) predicate.CodeSnippet
HashEqualFold applies the EqualFold predicate on the "hash" field.
func HashGT ¶
func HashGT(v string) predicate.CodeSnippet
HashGT applies the GT predicate on the "hash" field.
func HashGTE ¶
func HashGTE(v string) predicate.CodeSnippet
HashGTE applies the GTE predicate on the "hash" field.
func HashHasPrefix ¶
func HashHasPrefix(v string) predicate.CodeSnippet
HashHasPrefix applies the HasPrefix predicate on the "hash" field.
func HashHasSuffix ¶
func HashHasSuffix(v string) predicate.CodeSnippet
HashHasSuffix applies the HasSuffix predicate on the "hash" field.
func HashIn ¶
func HashIn(vs ...string) predicate.CodeSnippet
HashIn applies the In predicate on the "hash" field.
func HashLT ¶
func HashLT(v string) predicate.CodeSnippet
HashLT applies the LT predicate on the "hash" field.
func HashLTE ¶
func HashLTE(v string) predicate.CodeSnippet
HashLTE applies the LTE predicate on the "hash" field.
func HashNEQ ¶
func HashNEQ(v string) predicate.CodeSnippet
HashNEQ applies the NEQ predicate on the "hash" field.
func HashNotIn ¶
func HashNotIn(vs ...string) predicate.CodeSnippet
HashNotIn applies the NotIn predicate on the "hash" field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.CodeSnippet
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.CodeSnippet
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.CodeSnippet
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.CodeSnippet
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.CodeSnippet
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.CodeSnippet
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.CodeSnippet
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.CodeSnippet
IDNotIn applies the NotIn predicate on the ID field.
func Language ¶
func Language(v string) predicate.CodeSnippet
Language applies equality check predicate on the "language" field. It's identical to LanguageEQ.
func LanguageContains ¶
func LanguageContains(v string) predicate.CodeSnippet
LanguageContains applies the Contains predicate on the "language" field.
func LanguageContainsFold ¶
func LanguageContainsFold(v string) predicate.CodeSnippet
LanguageContainsFold applies the ContainsFold predicate on the "language" field.
func LanguageEQ ¶
func LanguageEQ(v string) predicate.CodeSnippet
LanguageEQ applies the EQ predicate on the "language" field.
func LanguageEqualFold ¶
func LanguageEqualFold(v string) predicate.CodeSnippet
LanguageEqualFold applies the EqualFold predicate on the "language" field.
func LanguageGT ¶
func LanguageGT(v string) predicate.CodeSnippet
LanguageGT applies the GT predicate on the "language" field.
func LanguageGTE ¶
func LanguageGTE(v string) predicate.CodeSnippet
LanguageGTE applies the GTE predicate on the "language" field.
func LanguageHasPrefix ¶
func LanguageHasPrefix(v string) predicate.CodeSnippet
LanguageHasPrefix applies the HasPrefix predicate on the "language" field.
func LanguageHasSuffix ¶
func LanguageHasSuffix(v string) predicate.CodeSnippet
LanguageHasSuffix applies the HasSuffix predicate on the "language" field.
func LanguageIn ¶
func LanguageIn(vs ...string) predicate.CodeSnippet
LanguageIn applies the In predicate on the "language" field.
func LanguageLT ¶
func LanguageLT(v string) predicate.CodeSnippet
LanguageLT applies the LT predicate on the "language" field.
func LanguageLTE ¶
func LanguageLTE(v string) predicate.CodeSnippet
LanguageLTE applies the LTE predicate on the "language" field.
func LanguageNEQ ¶
func LanguageNEQ(v string) predicate.CodeSnippet
LanguageNEQ applies the NEQ predicate on the "language" field.
func LanguageNotIn ¶
func LanguageNotIn(vs ...string) predicate.CodeSnippet
LanguageNotIn applies the NotIn predicate on the "language" field.
func Name ¶
func Name(v string) predicate.CodeSnippet
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.CodeSnippet
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.CodeSnippet
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.CodeSnippet
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.CodeSnippet
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.CodeSnippet
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.CodeSnippet
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.CodeSnippet
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.CodeSnippet
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.CodeSnippet
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.CodeSnippet
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.CodeSnippet
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.CodeSnippet
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.CodeSnippet
NameNotIn applies the NotIn predicate on the "name" field.
func Namespace ¶
func Namespace(v string) predicate.CodeSnippet
Namespace applies equality check predicate on the "namespace" field. It's identical to NamespaceEQ.
func NamespaceContains ¶
func NamespaceContains(v string) predicate.CodeSnippet
NamespaceContains applies the Contains predicate on the "namespace" field.
func NamespaceContainsFold ¶
func NamespaceContainsFold(v string) predicate.CodeSnippet
NamespaceContainsFold applies the ContainsFold predicate on the "namespace" field.
func NamespaceEQ ¶
func NamespaceEQ(v string) predicate.CodeSnippet
NamespaceEQ applies the EQ predicate on the "namespace" field.
func NamespaceEqualFold ¶
func NamespaceEqualFold(v string) predicate.CodeSnippet
NamespaceEqualFold applies the EqualFold predicate on the "namespace" field.
func NamespaceGT ¶
func NamespaceGT(v string) predicate.CodeSnippet
NamespaceGT applies the GT predicate on the "namespace" field.
func NamespaceGTE ¶
func NamespaceGTE(v string) predicate.CodeSnippet
NamespaceGTE applies the GTE predicate on the "namespace" field.
func NamespaceHasPrefix ¶
func NamespaceHasPrefix(v string) predicate.CodeSnippet
NamespaceHasPrefix applies the HasPrefix predicate on the "namespace" field.
func NamespaceHasSuffix ¶
func NamespaceHasSuffix(v string) predicate.CodeSnippet
NamespaceHasSuffix applies the HasSuffix predicate on the "namespace" field.
func NamespaceIn ¶
func NamespaceIn(vs ...string) predicate.CodeSnippet
NamespaceIn applies the In predicate on the "namespace" field.
func NamespaceIsNil ¶
func NamespaceIsNil() predicate.CodeSnippet
NamespaceIsNil applies the IsNil predicate on the "namespace" field.
func NamespaceLT ¶
func NamespaceLT(v string) predicate.CodeSnippet
NamespaceLT applies the LT predicate on the "namespace" field.
func NamespaceLTE ¶
func NamespaceLTE(v string) predicate.CodeSnippet
NamespaceLTE applies the LTE predicate on the "namespace" field.
func NamespaceNEQ ¶
func NamespaceNEQ(v string) predicate.CodeSnippet
NamespaceNEQ applies the NEQ predicate on the "namespace" field.
func NamespaceNotIn ¶
func NamespaceNotIn(vs ...string) predicate.CodeSnippet
NamespaceNotIn applies the NotIn predicate on the "namespace" field.
func NamespaceNotNil ¶
func NamespaceNotNil() predicate.CodeSnippet
NamespaceNotNil applies the NotNil predicate on the "namespace" field.
func Not ¶
func Not(p predicate.CodeSnippet) predicate.CodeSnippet
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.CodeSnippet) predicate.CodeSnippet
Or groups predicates with the OR operator between them.
func ParametersIsNil ¶
func ParametersIsNil() predicate.CodeSnippet
ParametersIsNil applies the IsNil predicate on the "parameters" field.
func ParametersNotNil ¶
func ParametersNotNil() predicate.CodeSnippet
ParametersNotNil applies the NotNil predicate on the "parameters" field.
func ScopeIsNil ¶
func ScopeIsNil() predicate.CodeSnippet
ScopeIsNil applies the IsNil predicate on the "scope" field.
func ScopeNotNil ¶
func ScopeNotNil() predicate.CodeSnippet
ScopeNotNil applies the NotNil predicate on the "scope" field.
func Signature ¶
func Signature(v string) predicate.CodeSnippet
Signature applies equality check predicate on the "signature" field. It's identical to SignatureEQ.
func SignatureContains ¶
func SignatureContains(v string) predicate.CodeSnippet
SignatureContains applies the Contains predicate on the "signature" field.
func SignatureContainsFold ¶
func SignatureContainsFold(v string) predicate.CodeSnippet
SignatureContainsFold applies the ContainsFold predicate on the "signature" field.
func SignatureEQ ¶
func SignatureEQ(v string) predicate.CodeSnippet
SignatureEQ applies the EQ predicate on the "signature" field.
func SignatureEqualFold ¶
func SignatureEqualFold(v string) predicate.CodeSnippet
SignatureEqualFold applies the EqualFold predicate on the "signature" field.
func SignatureGT ¶
func SignatureGT(v string) predicate.CodeSnippet
SignatureGT applies the GT predicate on the "signature" field.
func SignatureGTE ¶
func SignatureGTE(v string) predicate.CodeSnippet
SignatureGTE applies the GTE predicate on the "signature" field.
func SignatureHasPrefix ¶
func SignatureHasPrefix(v string) predicate.CodeSnippet
SignatureHasPrefix applies the HasPrefix predicate on the "signature" field.
func SignatureHasSuffix ¶
func SignatureHasSuffix(v string) predicate.CodeSnippet
SignatureHasSuffix applies the HasSuffix predicate on the "signature" field.
func SignatureIn ¶
func SignatureIn(vs ...string) predicate.CodeSnippet
SignatureIn applies the In predicate on the "signature" field.
func SignatureIsNil ¶
func SignatureIsNil() predicate.CodeSnippet
SignatureIsNil applies the IsNil predicate on the "signature" field.
func SignatureLT ¶
func SignatureLT(v string) predicate.CodeSnippet
SignatureLT applies the LT predicate on the "signature" field.
func SignatureLTE ¶
func SignatureLTE(v string) predicate.CodeSnippet
SignatureLTE applies the LTE predicate on the "signature" field.
func SignatureNEQ ¶
func SignatureNEQ(v string) predicate.CodeSnippet
SignatureNEQ applies the NEQ predicate on the "signature" field.
func SignatureNotIn ¶
func SignatureNotIn(vs ...string) predicate.CodeSnippet
SignatureNotIn applies the NotIn predicate on the "signature" field.
func SignatureNotNil ¶
func SignatureNotNil() predicate.CodeSnippet
SignatureNotNil applies the NotNil predicate on the "signature" field.
func SnippetType ¶
func SnippetType(v string) predicate.CodeSnippet
SnippetType applies equality check predicate on the "snippet_type" field. It's identical to SnippetTypeEQ.
func SnippetTypeContains ¶
func SnippetTypeContains(v string) predicate.CodeSnippet
SnippetTypeContains applies the Contains predicate on the "snippet_type" field.
func SnippetTypeContainsFold ¶
func SnippetTypeContainsFold(v string) predicate.CodeSnippet
SnippetTypeContainsFold applies the ContainsFold predicate on the "snippet_type" field.
func SnippetTypeEQ ¶
func SnippetTypeEQ(v string) predicate.CodeSnippet
SnippetTypeEQ applies the EQ predicate on the "snippet_type" field.
func SnippetTypeEqualFold ¶
func SnippetTypeEqualFold(v string) predicate.CodeSnippet
SnippetTypeEqualFold applies the EqualFold predicate on the "snippet_type" field.
func SnippetTypeGT ¶
func SnippetTypeGT(v string) predicate.CodeSnippet
SnippetTypeGT applies the GT predicate on the "snippet_type" field.
func SnippetTypeGTE ¶
func SnippetTypeGTE(v string) predicate.CodeSnippet
SnippetTypeGTE applies the GTE predicate on the "snippet_type" field.
func SnippetTypeHasPrefix ¶
func SnippetTypeHasPrefix(v string) predicate.CodeSnippet
SnippetTypeHasPrefix applies the HasPrefix predicate on the "snippet_type" field.
func SnippetTypeHasSuffix ¶
func SnippetTypeHasSuffix(v string) predicate.CodeSnippet
SnippetTypeHasSuffix applies the HasSuffix predicate on the "snippet_type" field.
func SnippetTypeIn ¶
func SnippetTypeIn(vs ...string) predicate.CodeSnippet
SnippetTypeIn applies the In predicate on the "snippet_type" field.
func SnippetTypeLT ¶
func SnippetTypeLT(v string) predicate.CodeSnippet
SnippetTypeLT applies the LT predicate on the "snippet_type" field.
func SnippetTypeLTE ¶
func SnippetTypeLTE(v string) predicate.CodeSnippet
SnippetTypeLTE applies the LTE predicate on the "snippet_type" field.
func SnippetTypeNEQ ¶
func SnippetTypeNEQ(v string) predicate.CodeSnippet
SnippetTypeNEQ applies the NEQ predicate on the "snippet_type" field.
func SnippetTypeNotIn ¶
func SnippetTypeNotIn(vs ...string) predicate.CodeSnippet
SnippetTypeNotIn applies the NotIn predicate on the "snippet_type" field.
func StartColumn ¶
func StartColumn(v int) predicate.CodeSnippet
StartColumn applies equality check predicate on the "start_column" field. It's identical to StartColumnEQ.
func StartColumnEQ ¶
func StartColumnEQ(v int) predicate.CodeSnippet
StartColumnEQ applies the EQ predicate on the "start_column" field.
func StartColumnGT ¶
func StartColumnGT(v int) predicate.CodeSnippet
StartColumnGT applies the GT predicate on the "start_column" field.
func StartColumnGTE ¶
func StartColumnGTE(v int) predicate.CodeSnippet
StartColumnGTE applies the GTE predicate on the "start_column" field.
func StartColumnIn ¶
func StartColumnIn(vs ...int) predicate.CodeSnippet
StartColumnIn applies the In predicate on the "start_column" field.
func StartColumnLT ¶
func StartColumnLT(v int) predicate.CodeSnippet
StartColumnLT applies the LT predicate on the "start_column" field.
func StartColumnLTE ¶
func StartColumnLTE(v int) predicate.CodeSnippet
StartColumnLTE applies the LTE predicate on the "start_column" field.
func StartColumnNEQ ¶
func StartColumnNEQ(v int) predicate.CodeSnippet
StartColumnNEQ applies the NEQ predicate on the "start_column" field.
func StartColumnNotIn ¶
func StartColumnNotIn(vs ...int) predicate.CodeSnippet
StartColumnNotIn applies the NotIn predicate on the "start_column" field.
func StartLine ¶
func StartLine(v int) predicate.CodeSnippet
StartLine applies equality check predicate on the "start_line" field. It's identical to StartLineEQ.
func StartLineEQ ¶
func StartLineEQ(v int) predicate.CodeSnippet
StartLineEQ applies the EQ predicate on the "start_line" field.
func StartLineGT ¶
func StartLineGT(v int) predicate.CodeSnippet
StartLineGT applies the GT predicate on the "start_line" field.
func StartLineGTE ¶
func StartLineGTE(v int) predicate.CodeSnippet
StartLineGTE applies the GTE predicate on the "start_line" field.
func StartLineIn ¶
func StartLineIn(vs ...int) predicate.CodeSnippet
StartLineIn applies the In predicate on the "start_line" field.
func StartLineLT ¶
func StartLineLT(v int) predicate.CodeSnippet
StartLineLT applies the LT predicate on the "start_line" field.
func StartLineLTE ¶
func StartLineLTE(v int) predicate.CodeSnippet
StartLineLTE applies the LTE predicate on the "start_line" field.
func StartLineNEQ ¶
func StartLineNEQ(v int) predicate.CodeSnippet
StartLineNEQ applies the NEQ predicate on the "start_line" field.
func StartLineNotIn ¶
func StartLineNotIn(vs ...int) predicate.CodeSnippet
StartLineNotIn applies the NotIn predicate on the "start_line" field.
func StructuredInfoIsNil ¶
func StructuredInfoIsNil() predicate.CodeSnippet
StructuredInfoIsNil applies the IsNil predicate on the "structured_info" field.
func StructuredInfoNotNil ¶
func StructuredInfoNotNil() predicate.CodeSnippet
StructuredInfoNotNil applies the NotNil predicate on the "structured_info" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func WorkspaceFileID ¶
func WorkspaceFileID(v uuid.UUID) predicate.CodeSnippet
WorkspaceFileID applies equality check predicate on the "workspace_file_id" field. It's identical to WorkspaceFileIDEQ.
func WorkspaceFileIDEQ ¶
func WorkspaceFileIDEQ(v uuid.UUID) predicate.CodeSnippet
WorkspaceFileIDEQ applies the EQ predicate on the "workspace_file_id" field.
func WorkspaceFileIDIn ¶
func WorkspaceFileIDIn(vs ...uuid.UUID) predicate.CodeSnippet
WorkspaceFileIDIn applies the In predicate on the "workspace_file_id" field.
func WorkspaceFileIDNEQ ¶
func WorkspaceFileIDNEQ(v uuid.UUID) predicate.CodeSnippet
WorkspaceFileIDNEQ applies the NEQ predicate on the "workspace_file_id" field.
func WorkspaceFileIDNotIn ¶
func WorkspaceFileIDNotIn(vs ...uuid.UUID) predicate.CodeSnippet
WorkspaceFileIDNotIn applies the NotIn predicate on the "workspace_file_id" field.
func WorkspacePath ¶
func WorkspacePath(v string) predicate.CodeSnippet
WorkspacePath applies equality check predicate on the "workspacePath" field. It's identical to WorkspacePathEQ.
func WorkspacePathContains ¶
func WorkspacePathContains(v string) predicate.CodeSnippet
WorkspacePathContains applies the Contains predicate on the "workspacePath" field.
func WorkspacePathContainsFold ¶
func WorkspacePathContainsFold(v string) predicate.CodeSnippet
WorkspacePathContainsFold applies the ContainsFold predicate on the "workspacePath" field.
func WorkspacePathEQ ¶
func WorkspacePathEQ(v string) predicate.CodeSnippet
WorkspacePathEQ applies the EQ predicate on the "workspacePath" field.
func WorkspacePathEqualFold ¶
func WorkspacePathEqualFold(v string) predicate.CodeSnippet
WorkspacePathEqualFold applies the EqualFold predicate on the "workspacePath" field.
func WorkspacePathGT ¶
func WorkspacePathGT(v string) predicate.CodeSnippet
WorkspacePathGT applies the GT predicate on the "workspacePath" field.
func WorkspacePathGTE ¶
func WorkspacePathGTE(v string) predicate.CodeSnippet
WorkspacePathGTE applies the GTE predicate on the "workspacePath" field.
func WorkspacePathHasPrefix ¶
func WorkspacePathHasPrefix(v string) predicate.CodeSnippet
WorkspacePathHasPrefix applies the HasPrefix predicate on the "workspacePath" field.
func WorkspacePathHasSuffix ¶
func WorkspacePathHasSuffix(v string) predicate.CodeSnippet
WorkspacePathHasSuffix applies the HasSuffix predicate on the "workspacePath" field.
func WorkspacePathIn ¶
func WorkspacePathIn(vs ...string) predicate.CodeSnippet
WorkspacePathIn applies the In predicate on the "workspacePath" field.
func WorkspacePathIsNil ¶
func WorkspacePathIsNil() predicate.CodeSnippet
WorkspacePathIsNil applies the IsNil predicate on the "workspacePath" field.
func WorkspacePathLT ¶
func WorkspacePathLT(v string) predicate.CodeSnippet
WorkspacePathLT applies the LT predicate on the "workspacePath" field.
func WorkspacePathLTE ¶
func WorkspacePathLTE(v string) predicate.CodeSnippet
WorkspacePathLTE applies the LTE predicate on the "workspacePath" field.
func WorkspacePathNEQ ¶
func WorkspacePathNEQ(v string) predicate.CodeSnippet
WorkspacePathNEQ applies the NEQ predicate on the "workspacePath" field.
func WorkspacePathNotIn ¶
func WorkspacePathNotIn(vs ...string) predicate.CodeSnippet
WorkspacePathNotIn applies the NotIn predicate on the "workspacePath" field.
func WorkspacePathNotNil ¶
func WorkspacePathNotNil() predicate.CodeSnippet
WorkspacePathNotNil applies the NotNil predicate on the "workspacePath" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the CodeSnippet queries.
func ByContainerName ¶
func ByContainerName(opts ...sql.OrderTermOption) OrderOption
ByContainerName orders the results by the container_name field.
func ByContent ¶
func ByContent(opts ...sql.OrderTermOption) OrderOption
ByContent orders the results by the content field.
func ByDefinitionText ¶
func ByDefinitionText(opts ...sql.OrderTermOption) OrderOption
ByDefinitionText orders the results by the definition_text field.
func ByEmbedding ¶
func ByEmbedding(opts ...sql.OrderTermOption) OrderOption
ByEmbedding orders the results by the embedding field.
func ByEndColumn ¶
func ByEndColumn(opts ...sql.OrderTermOption) OrderOption
ByEndColumn orders the results by the end_column field.
func ByEndLine ¶
func ByEndLine(opts ...sql.OrderTermOption) OrderOption
ByEndLine orders the results by the end_line field.
func ByHash ¶
func ByHash(opts ...sql.OrderTermOption) OrderOption
ByHash orders the results by the hash field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByLanguage ¶
func ByLanguage(opts ...sql.OrderTermOption) OrderOption
ByLanguage orders the results by the language field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByNamespace ¶
func ByNamespace(opts ...sql.OrderTermOption) OrderOption
ByNamespace orders the results by the namespace field.
func BySignature ¶
func BySignature(opts ...sql.OrderTermOption) OrderOption
BySignature orders the results by the signature field.
func BySnippetType ¶
func BySnippetType(opts ...sql.OrderTermOption) OrderOption
BySnippetType orders the results by the snippet_type field.
func BySourceFileField ¶
func BySourceFileField(field string, opts ...sql.OrderTermOption) OrderOption
BySourceFileField orders the results by source_file field.
func ByStartColumn ¶
func ByStartColumn(opts ...sql.OrderTermOption) OrderOption
ByStartColumn orders the results by the start_column field.
func ByStartLine ¶
func ByStartLine(opts ...sql.OrderTermOption) OrderOption
ByStartLine orders the results by the start_line field.
func ByWorkspaceFileID ¶
func ByWorkspaceFileID(opts ...sql.OrderTermOption) OrderOption
ByWorkspaceFileID orders the results by the workspace_file_id field.
func ByWorkspacePath ¶
func ByWorkspacePath(opts ...sql.OrderTermOption) OrderOption
ByWorkspacePath orders the results by the workspacePath field.