MCPcopy Create free account

hub / github.com/ariga/atlas / functions

Functions7,770 in github.com/ariga/atlas

↓ 1 callersMethodExitWindow_function_invocation
ExitWindow_function_invocation is called when exiting the window_function_invocation production.
cmd/atlas/internal/sqlparse/sqliteparse/parser_listener.go:548
↓ 1 callersMethodExitWindow_name
ExitWindow_name is called when exiting the window_name production.
cmd/atlas/internal/sqlparse/sqliteparse/parser_listener.go:665
↓ 1 callersMethodExitWith_clause
ExitWith_clause is called when exiting the with_clause production.
cmd/atlas/internal/sqlparse/sqliteparse/parser_listener.go:422
↓ 1 callersMethodExported
Exported is a temporary method to convert the stateReaderConfig to cmdext.StateReaderConfig.
cmd/atlas/internal/cmdapi/cmdapi.go:496
↓ 1 callersFunctionExprValue
ExprValue returns a cty.Value that encapsulates the given HCL expression.
schemahcl/spec.go:628
↓ 1 callersMethodExpr_Sempred
(localctx antlr.RuleContext, predIndex int)
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:32486
↓ 1 callersMethodExpr_asc_desc
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:27954
↓ 1 callersFunctionFileStmts
FileStmts is like FileStmtDecls but returns only the statement text without the extra info.
sql/migrate/lex.go:71
↓ 1 callersMethodFilename
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:31785
↓ 1 callersMethodFiles
Files implements Scanner.Files. It looks for all files with up.sql suffix and orders them by filename.
sql/sqltool/tool.go:101
↓ 1 callersMethodFiles
Files implements Scanner.Files. It looks for all files with .sql suffix. The given directory is recursively scanned for non-hidden subdirectories. All
sql/sqltool/tool.go:348
↓ 1 callersFunctionFilesExt
FilesExt returns the file extension of the given URLs. Note, all URL must have the same extension.
cmd/atlas/internal/cmdext/reader.go:255
↓ 1 callersMethodFilesFromCheckpoint
FilesFromCheckpoint returns the files to be executed on a database from the given checkpoint file, including it. An ErrCheckpointNotFound if the check
sql/migrate/dir.go:80
↓ 1 callersMethodFindGeneratedIndex
FindGeneratedIndex finds the table index that represents the generated index. This is useful because unlike MySQL/PostgreSQL, SQLite does not allow cr
sql/sqlite/diff.go:144
↓ 1 callersMethodFindTable
(*schema.Schema, *schema.Table)
sql/internal/sqlx/diff.go:95
↓ 1 callersMethodFixChange
FixChange fixes the changes according to the given statement.
cmd/atlas/internal/sqlparse/sqlparse.go:23
↓ 1 callersFunctionFixedError
FixedError is a hook returning a fixed error.
cmd/atlas/internal/migrate/ent/hook/hook.go:149
↓ 1 callersMethodFloat64
Float64 returns a float64 from the Value of the Attr. If The value is not a LiteralValue or the value cannot be converted to a float64 an error is ret
schemahcl/spec.go:148
↓ 1 callersFunctionFloatPrecision
FloatPrecision configures the precision of the float type.
sql/schema/dsl.go:505
↓ 1 callersFunctionFloatUnsigned
FloatUnsigned configures the unsigned of the float type.
sql/schema/dsl.go:512
↓ 1 callersMethodFlush
Flush report the migration deployment to the cloud. The current implementation is simplistic and sends each report separately without marking them as
cmd/atlas/internal/cmdapi/migrate.go:275
↓ 1 callersMethodForeignKeyAttrChanged
ForeignKeyAttrChanged reports if any of the foreign-key attributes were changed.
sql/internal/sqlx/diff.go:73
↓ 1 callersMethodForeignKeySpan
ForeignKeySpan returns the span information for the foreign-key constraint.
sql/sqlcheck/sqlcheck.go:207
↓ 1 callersMethodForeign_table
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:30531
↓ 1 callersMethodFormatError
(*cobra.Command)
cmd/atlas/internal/cmdapi/cmdapi.go:104
↓ 1 callersMethodFrame_left
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:25672
↓ 1 callersMethodFrame_right
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:25884
↓ 1 callersMethodFrame_single
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:26091
↓ 1 callersFunctionFromCheck
FromCheck converts schema.Check to sqlspec.Check.
sql/internal/specutil/convert.go:843
↓ 1 callersFunctionFromPrimaryKey
FromPrimaryKey converts schema.Index to a sqlspec.PrimaryKey.
sql/internal/specutil/convert.go:621
↓ 1 callersMethodFunction_name
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:29847
↓ 1 callersMethodGroupBy
GroupBy is used to group vertices by one or more fields/columns. It is often used with aggregate functions, like: count, max, mean, min, sum. Example
cmd/atlas/internal/migrate/ent/revision_query.go:278
↓ 1 callersFunctionHasClass
HasClass reports if the given operator class name exists.
sql/postgres/internal/postgresop/postgresop.go:221
↓ 1 callersMethodHasLoader
HasLoader returns true if the given scheme is registered.
cmd/atlas/internal/cmdext/cmdext.go:583
↓ 1 callersFunctionHasNotNullCheck
HasNotNullCheck checks if the given column has a check constraint with a NOT NULL check. In case a CHECK exists, this reduces the risk for data-depend
sql/sqlcheck/datadepend/datadepend.go:245
↓ 1 callersMethodHeader
Header returns a header of the migration log.
cmd/atlas/internal/cmdlog/cmdlog.go:574
↓ 1 callersMethodID
ID returns the ID value in the mutation. Note that the ID is only available if it was provided to the builder or after it was returned from the databa
cmd/atlas/internal/migrate/ent/mutation.go:141
↓ 1 callersMethodID
Exec executes the UPSERT query and returns the inserted/updated ID.
cmd/atlas/internal/migrate/ent/revision_create.go:756
↓ 1 callersMethodIgnore
Ignore sets each column to itself in case of conflict. Using this option is equivalent to using: client.Revision.Create(). OnConflict(sql.Resol
cmd/atlas/internal/migrate/ent/revision_create.go:544
↓ 1 callersFunctionIncludeRealm
IncludeRealm is a no-op for the community version.
sql/schema/exclude.go:274
↓ 1 callersFunctionIncludeSchema
IncludeSchema is a no-op for the community version.
sql/schema/exclude.go:279
↓ 1 callersMethodIndexAttrChanged
IndexAttrChanged reports if the index attributes were changed. For example, an index type or predicate (for partial indexes).
sql/internal/sqlx/diff.go:56
↓ 1 callersMethodIndexModifyColumn
IndexModifyColumn returns the index of the first ModifyColumn in the changes with the given name, or -1 if there is no such change in the Changes.
sql/schema/migrate.go:498
↓ 1 callersMethodIndexPartAttrChanged
IndexPartAttrChanged reports if the part's attributes at position "i" were changed. For example, an index-part collation.
sql/internal/sqlx/diff.go:60
↓ 1 callersMethodIndexSpan
IndexSpan returns the span information for the index.
sql/sqlcheck/sqlcheck.go:202
↓ 1 callersMethodInit
Init the report if the necessary dependencies.
cmd/atlas/internal/cmdapi/migrate.go:322
↓ 1 callersMethodInitBlock
InitBlock returns the handler for the "atlas" init block.
cmd/atlas/internal/cmdext/cmdext.go:658
↓ 1 callersMethodInitial_select
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:28126
↓ 1 callersMethodInterceptors
Interceptors returns the client interceptors.
cmd/atlas/internal/migrate/ent/client.go:323
↓ 1 callersMethodIs
Is reports whether c is match the given change kind.
sql/schema/migrate.go:306
↓ 1 callersMethodIsExclude
IsExclude reports if the type is an exclude constraint.
sql/postgres/inspect.go:1233
↓ 1 callersMethodIsGeneratedIndexName
IsGeneratedIndexName reports if the index name was generated by the database for unnamed INDEX or UNIQUE constraints. In such cases, the Differ will l
sql/internal/sqlx/diff.go:66
↓ 1 callersMethodIsRefTo
IsRefTo indicates if the Type is a reference to specific schema type definition.
schemahcl/spec.go:101
↓ 1 callersMethodIsUnique
IsUnique reports if the type is a unique constraint.
sql/postgres/inspect.go:1230
↓ 1 callersMethodJoin_constraint
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:19811
↓ 1 callersMethodJoin_operator
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:19518
↓ 1 callersMethodKeyword
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:29610
↓ 1 callersMethodLT
LT reports if the version is < w.
sql/mysql/internal/mysqlversion/mysqlversion.go:177
↓ 1 callersMethodLastIndexAddTable
LastIndexAddTable returns the index of the last AddTable in the changes with the given name, or -1 if there is no such change in the Changes.
sql/schema/migrate.go:462
↓ 1 callersMethodLastIndexDropTable
LastIndexDropTable returns the index of the last DropTable in the changes with the given name, or -1 if there is no such change in the Changes.
sql/schema/migrate.go:471
↓ 1 callersFunctionLazyExprAttr
LazyExprAttr is a helper method for constructing *schemahcl.Attr instance for the expression function.
schemahcl/spec.go:639
↓ 1 callersFunctionLexerInit
LexerInit initializes any static state used to implement Lexer. By default the static state used to implement the lexer is lazily initialized during t
cmd/atlas/internal/sqlparse/sqliteparse/lexer.go:919
↓ 1 callersMethodLoadChanges
LoadChanges implements the ChangesLoader interface.
cmd/atlas/internal/migratelint/lint.go:210
↓ 1 callersMethodLog
Log implements migrate.Logger.
cmd/atlas/internal/cmdlog/cmdlog.go:488
↓ 1 callersFunctionLogNoPendingFiles
LogNoPendingFiles starts a new LogExecution and LogDone to indicate that there are no pending files to be executed.
sql/migrate/migrate.go:1285
↓ 1 callersMethodMarshalJSON
MarshalJSON implements json.Marshaler.
cmd/atlas/internal/cmdlog/cmdlog.go:817
↓ 1 callersMethodMarshalSQL
MarshalSQL returns the default SQL representation of the schema.
cmd/atlas/internal/cmdlog/cmdlog.go:941
↓ 1 callersMethodMarshalSQL
MarshalSQL returns the default SQL representation of the schema.
cmd/atlas/internal/cmdlog/cmdlog.go:995
↓ 1 callersFunctionMightHeredoc
MightHeredoc returns the string as an indented heredoc if it has multiple lines.
sql/sqlspec/sqlspec.go:146
↓ 1 callersMethodMigrateDiff
(context.Context, *MigrateDiffOptions)
cmd/atlas/internal/cmdext/cmdext.go:560
↓ 1 callersMethodMigrateDown
MigrateDown runs the 'migrate down' command.
atlasexec/atlas_migrate.go:330
↓ 1 callersMethodMigrateRebase
MigrateRebase runs the 'migrate rebase' command.
atlasexec/atlas_migrate.go:588
↓ 1 callersMethodMigrateTest
MigrateTest runs the 'migrate test' command.
atlasexec/atlas_migrate.go:379
↓ 1 callersMethodMode
()
sql/migrate/dir.go:946
↓ 1 callersMethodModule_name
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:30987
↓ 1 callersMethodName
Name of the analyzer. Implements the sqlcheck.NamedAnalyzer interface.
sql/sqlcheck/destructive/destructive.go:46
↓ 1 callersMethodName
Name of the analyzer. Implements the sqlcheck.NamedAnalyzer interface.
sql/sqlcheck/incompatible/incompatible.go:42
↓ 1 callersMethodName
Name of the analyzer. Implements the sqlcheck.NamedAnalyzer interface.
sql/sqlcheck/datadepend/datadepend.go:64
↓ 1 callersMethodName
Name of the analyzer. Implements the sqlcheck.NamedAnalyzer interface.
sql/sqlcheck/condrop/condrop.go:40
↓ 1 callersFunctionNew
New returns a new Runner.
sdk/tmplrun/tmplrun.go:43
↓ 1 callersFunctionNewAggregate_funcContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:32068
↓ 1 callersFunctionNewAggregate_function_invocationContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:23976
↓ 1 callersFunctionNewAliasContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:31612
↓ 1 callersFunctionNewAlter_table_stmtContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:2731
↓ 1 callersFunctionNewAnalyze_stmtContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:3174
↓ 1 callersFunctionNewAny_nameContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:32301
↓ 1 callersFunctionNewAsc_descContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:25473
↓ 1 callersFunctionNewAssignmentContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:20790
↓ 1 callersFunctionNewAssignment_listContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:20610
↓ 1 callersFunctionNewAttach_stmtContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:3360
↓ 1 callersFunctionNewBase_window_nameContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:31840
↓ 1 callersFunctionNewBegin_stmtContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:3543
↓ 1 callersFunctionNewBinaryColumn
NewBinaryColumn creates a new BinaryType column.
sql/schema/dsl.go:423
↓ 1 callersFunctionNewCollation_nameContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:30358
↓ 1 callersFunctionNewColumn_aliasContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:28678
↓ 1 callersFunctionNewColumn_constraintContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:6083
↓ 1 callersFunctionNewColumn_defContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:5568
↓ 1 callersFunctionNewColumn_nameContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:30244
↓ 1 callersFunctionNewColumn_name_listContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:20975
↓ 1 callersFunctionNewCommit_stmtContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:3736
← previousnext →1,501–1,600 of 7,770, ranked by callers