Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ariga/atlas
/ functions
Functions
7,770 in github.com/ariga/atlas
⨍
Functions
7,770
◇
Types & classes
1,019
↓ 1 callers
Method
ExitWindow_function_invocation
ExitWindow_function_invocation is called when exiting the window_function_invocation production.
cmd/atlas/internal/sqlparse/sqliteparse/parser_listener.go:548
↓ 1 callers
Method
ExitWindow_name
ExitWindow_name is called when exiting the window_name production.
cmd/atlas/internal/sqlparse/sqliteparse/parser_listener.go:665
↓ 1 callers
Method
ExitWith_clause
ExitWith_clause is called when exiting the with_clause production.
cmd/atlas/internal/sqlparse/sqliteparse/parser_listener.go:422
↓ 1 callers
Method
Exported
Exported is a temporary method to convert the stateReaderConfig to cmdext.StateReaderConfig.
cmd/atlas/internal/cmdapi/cmdapi.go:496
↓ 1 callers
Function
ExprValue
ExprValue returns a cty.Value that encapsulates the given HCL expression.
schemahcl/spec.go:628
↓ 1 callers
Method
Expr_Sempred
(localctx antlr.RuleContext, predIndex int)
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:32486
↓ 1 callers
Method
Expr_asc_desc
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:27954
↓ 1 callers
Function
FileStmts
FileStmts is like FileStmtDecls but returns only the statement text without the extra info.
sql/migrate/lex.go:71
↓ 1 callers
Method
Filename
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:31785
↓ 1 callers
Method
Files
Files implements Scanner.Files. It looks for all files with up.sql suffix and orders them by filename.
sql/sqltool/tool.go:101
↓ 1 callers
Method
Files
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 callers
Function
FilesExt
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 callers
Method
FilesFromCheckpoint
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 callers
Method
FindGeneratedIndex
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 callers
Method
FindTable
(*schema.Schema, *schema.Table)
sql/internal/sqlx/diff.go:95
↓ 1 callers
Method
FixChange
FixChange fixes the changes according to the given statement.
cmd/atlas/internal/sqlparse/sqlparse.go:23
↓ 1 callers
Function
FixedError
FixedError is a hook returning a fixed error.
cmd/atlas/internal/migrate/ent/hook/hook.go:149
↓ 1 callers
Method
Float64
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 callers
Function
FloatPrecision
FloatPrecision configures the precision of the float type.
sql/schema/dsl.go:505
↓ 1 callers
Function
FloatUnsigned
FloatUnsigned configures the unsigned of the float type.
sql/schema/dsl.go:512
↓ 1 callers
Method
Flush
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 callers
Method
ForeignKeyAttrChanged
ForeignKeyAttrChanged reports if any of the foreign-key attributes were changed.
sql/internal/sqlx/diff.go:73
↓ 1 callers
Method
ForeignKeySpan
ForeignKeySpan returns the span information for the foreign-key constraint.
sql/sqlcheck/sqlcheck.go:207
↓ 1 callers
Method
Foreign_table
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:30531
↓ 1 callers
Method
FormatError
(*cobra.Command)
cmd/atlas/internal/cmdapi/cmdapi.go:104
↓ 1 callers
Method
Frame_left
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:25672
↓ 1 callers
Method
Frame_right
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:25884
↓ 1 callers
Method
Frame_single
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:26091
↓ 1 callers
Function
FromCheck
FromCheck converts schema.Check to sqlspec.Check.
sql/internal/specutil/convert.go:843
↓ 1 callers
Function
FromPrimaryKey
FromPrimaryKey converts schema.Index to a sqlspec.PrimaryKey.
sql/internal/specutil/convert.go:621
↓ 1 callers
Method
Function_name
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:29847
↓ 1 callers
Method
GroupBy
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 callers
Function
HasClass
HasClass reports if the given operator class name exists.
sql/postgres/internal/postgresop/postgresop.go:221
↓ 1 callers
Method
HasLoader
HasLoader returns true if the given scheme is registered.
cmd/atlas/internal/cmdext/cmdext.go:583
↓ 1 callers
Function
HasNotNullCheck
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 callers
Method
Header
Header returns a header of the migration log.
cmd/atlas/internal/cmdlog/cmdlog.go:574
↓ 1 callers
Method
ID
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 callers
Method
ID
Exec executes the UPSERT query and returns the inserted/updated ID.
cmd/atlas/internal/migrate/ent/revision_create.go:756
↓ 1 callers
Method
Ignore
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 callers
Function
IncludeRealm
IncludeRealm is a no-op for the community version.
sql/schema/exclude.go:274
↓ 1 callers
Function
IncludeSchema
IncludeSchema is a no-op for the community version.
sql/schema/exclude.go:279
↓ 1 callers
Method
IndexAttrChanged
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 callers
Method
IndexModifyColumn
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 callers
Method
IndexPartAttrChanged
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 callers
Method
IndexSpan
IndexSpan returns the span information for the index.
sql/sqlcheck/sqlcheck.go:202
↓ 1 callers
Method
Init
Init the report if the necessary dependencies.
cmd/atlas/internal/cmdapi/migrate.go:322
↓ 1 callers
Method
InitBlock
InitBlock returns the handler for the "atlas" init block.
cmd/atlas/internal/cmdext/cmdext.go:658
↓ 1 callers
Method
Initial_select
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:28126
↓ 1 callers
Method
Interceptors
Interceptors returns the client interceptors.
cmd/atlas/internal/migrate/ent/client.go:323
↓ 1 callers
Method
Is
Is reports whether c is match the given change kind.
sql/schema/migrate.go:306
↓ 1 callers
Method
IsExclude
IsExclude reports if the type is an exclude constraint.
sql/postgres/inspect.go:1233
↓ 1 callers
Method
IsGeneratedIndexName
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 callers
Method
IsRefTo
IsRefTo indicates if the Type is a reference to specific schema type definition.
schemahcl/spec.go:101
↓ 1 callers
Method
IsUnique
IsUnique reports if the type is a unique constraint.
sql/postgres/inspect.go:1230
↓ 1 callers
Method
Join_constraint
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:19811
↓ 1 callers
Method
Join_operator
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:19518
↓ 1 callers
Method
Keyword
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:29610
↓ 1 callers
Method
LT
LT reports if the version is < w.
sql/mysql/internal/mysqlversion/mysqlversion.go:177
↓ 1 callers
Method
LastIndexAddTable
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 callers
Method
LastIndexDropTable
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 callers
Function
LazyExprAttr
LazyExprAttr is a helper method for constructing *schemahcl.Attr instance for the expression function.
schemahcl/spec.go:639
↓ 1 callers
Function
LexerInit
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 callers
Method
LoadChanges
LoadChanges implements the ChangesLoader interface.
cmd/atlas/internal/migratelint/lint.go:210
↓ 1 callers
Method
Log
Log implements migrate.Logger.
cmd/atlas/internal/cmdlog/cmdlog.go:488
↓ 1 callers
Function
LogNoPendingFiles
LogNoPendingFiles starts a new LogExecution and LogDone to indicate that there are no pending files to be executed.
sql/migrate/migrate.go:1285
↓ 1 callers
Method
MarshalJSON
MarshalJSON implements json.Marshaler.
cmd/atlas/internal/cmdlog/cmdlog.go:817
↓ 1 callers
Method
MarshalSQL
MarshalSQL returns the default SQL representation of the schema.
cmd/atlas/internal/cmdlog/cmdlog.go:941
↓ 1 callers
Method
MarshalSQL
MarshalSQL returns the default SQL representation of the schema.
cmd/atlas/internal/cmdlog/cmdlog.go:995
↓ 1 callers
Function
MightHeredoc
MightHeredoc returns the string as an indented heredoc if it has multiple lines.
sql/sqlspec/sqlspec.go:146
↓ 1 callers
Method
MigrateDiff
(context.Context, *MigrateDiffOptions)
cmd/atlas/internal/cmdext/cmdext.go:560
↓ 1 callers
Method
MigrateDown
MigrateDown runs the 'migrate down' command.
atlasexec/atlas_migrate.go:330
↓ 1 callers
Method
MigrateRebase
MigrateRebase runs the 'migrate rebase' command.
atlasexec/atlas_migrate.go:588
↓ 1 callers
Method
MigrateTest
MigrateTest runs the 'migrate test' command.
atlasexec/atlas_migrate.go:379
↓ 1 callers
Method
Mode
()
sql/migrate/dir.go:946
↓ 1 callers
Method
Module_name
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:30987
↓ 1 callers
Method
Name
Name of the analyzer. Implements the sqlcheck.NamedAnalyzer interface.
sql/sqlcheck/destructive/destructive.go:46
↓ 1 callers
Method
Name
Name of the analyzer. Implements the sqlcheck.NamedAnalyzer interface.
sql/sqlcheck/incompatible/incompatible.go:42
↓ 1 callers
Method
Name
Name of the analyzer. Implements the sqlcheck.NamedAnalyzer interface.
sql/sqlcheck/datadepend/datadepend.go:64
↓ 1 callers
Method
Name
Name of the analyzer. Implements the sqlcheck.NamedAnalyzer interface.
sql/sqlcheck/condrop/condrop.go:40
↓ 1 callers
Function
New
New returns a new Runner.
sdk/tmplrun/tmplrun.go:43
↓ 1 callers
Function
NewAggregate_funcContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:32068
↓ 1 callers
Function
NewAggregate_function_invocationContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:23976
↓ 1 callers
Function
NewAliasContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:31612
↓ 1 callers
Function
NewAlter_table_stmtContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:2731
↓ 1 callers
Function
NewAnalyze_stmtContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:3174
↓ 1 callers
Function
NewAny_nameContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:32301
↓ 1 callers
Function
NewAsc_descContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:25473
↓ 1 callers
Function
NewAssignmentContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:20790
↓ 1 callers
Function
NewAssignment_listContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:20610
↓ 1 callers
Function
NewAttach_stmtContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:3360
↓ 1 callers
Function
NewBase_window_nameContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:31840
↓ 1 callers
Function
NewBegin_stmtContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:3543
↓ 1 callers
Function
NewBinaryColumn
NewBinaryColumn creates a new BinaryType column.
sql/schema/dsl.go:423
↓ 1 callers
Function
NewCollation_nameContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:30358
↓ 1 callers
Function
NewColumn_aliasContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:28678
↓ 1 callers
Function
NewColumn_constraintContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:6083
↓ 1 callers
Function
NewColumn_defContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:5568
↓ 1 callers
Function
NewColumn_nameContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:30244
↓ 1 callers
Function
NewColumn_name_listContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:20975
↓ 1 callers
Function
NewCommit_stmtContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:3736
← previous
next →
1,501–1,600 of 7,770, ranked by callers