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
Function
NewWindow_functionContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:26228
↓ 1 callers
Function
NewWindow_function_invocationContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:24284
↓ 1 callers
Function
NewWindow_nameContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:31498
↓ 1 callers
Function
NewWith_clauseContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:9878
↓ 1 callers
Method
Normalize
(from, to *schema.Table, opts *schema.DiffOptions)
sql/internal/sqlx/diff.go:89
↓ 1 callers
Function
Not
Not negates a given condition.
cmd/atlas/internal/migrate/ent/hook/hook.go:62
↓ 1 callers
Method
Offset
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:26198
↓ 1 callers
Method
Offset
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:27112
↓ 1 callers
Method
OldApplied
OldApplied returns the old "applied" field's value of the Revision entity. If the Revision object wasn't provided to the builder, the object is fetche
cmd/atlas/internal/migrate/ent/mutation.go:277
↓ 1 callers
Method
OldDescription
OldDescription returns the old "description" field's value of the Revision entity. If the Revision object wasn't provided to the builder, the object i
cmd/atlas/internal/migrate/ent/mutation.go:184
↓ 1 callers
Method
OldError
OldError returns the old "error" field's value of the Revision entity. If the Revision object wasn't provided to the builder, the object is fetched fr
cmd/atlas/internal/migrate/ent/mutation.go:480
↓ 1 callers
Method
OldErrorStmt
OldErrorStmt returns the old "error_stmt" field's value of the Revision entity. If the Revision object wasn't provided to the builder, the object is f
cmd/atlas/internal/migrate/ent/mutation.go:529
↓ 1 callers
Method
OldExecutedAt
OldExecutedAt returns the old "executed_at" field's value of the Revision entity. If the Revision object wasn't provided to the builder, the object is
cmd/atlas/internal/migrate/ent/mutation.go:388
↓ 1 callers
Method
OldExecutionTime
OldExecutionTime returns the old "execution_time" field's value of the Revision entity. If the Revision object wasn't provided to the builder, the obj
cmd/atlas/internal/migrate/ent/mutation.go:425
↓ 1 callers
Method
OldHash
OldHash returns the old "hash" field's value of the Revision entity. If the Revision object wasn't provided to the builder, the object is fetched from
cmd/atlas/internal/migrate/ent/mutation.go:578
↓ 1 callers
Method
OldOperatorVersion
OldOperatorVersion returns the old "operator_version" field's value of the Revision entity. If the Revision object wasn't provided to the builder, the
cmd/atlas/internal/migrate/ent/mutation.go:679
↓ 1 callers
Method
OldPartialHashes
OldPartialHashes returns the old "partial_hashes" field's value of the Revision entity. If the Revision object wasn't provided to the builder, the obj
cmd/atlas/internal/migrate/ent/mutation.go:615
↓ 1 callers
Method
OldTotal
OldTotal returns the old "total" field's value of the Revision entity. If the Revision object wasn't provided to the builder, the object is fetched fr
cmd/atlas/internal/migrate/ent/mutation.go:333
↓ 1 callers
Method
OldType
OldType returns the old "type" field's value of the Revision entity. If the Revision object wasn't provided to the builder, the object is fetched from
cmd/atlas/internal/migrate/ent/mutation.go:221
↓ 1 callers
Function
On
On executes the given hook only for the given operation. hook.On(Log, ent.Delete|ent.Create)
cmd/atlas/internal/migrate/ent/hook/hook.go:137
↓ 1 callers
Method
OnlyID
OnlyID is like Only, but returns the only Revision ID in the query. Returns a *NotSingularError when more than one Revision ID is found. Returns a *No
cmd/atlas/internal/migrate/ent/revision_query.go:141
↓ 1 callers
Function
Open
Open opens a database/sql.DB specified by the driver name and the data source name, and returns a new client attached to it. Optional parameters can b
cmd/atlas/internal/migrate/ent/client.go:110
↓ 1 callers
Function
OpenSchema
OpenSchema opens the connection to the given schema. If the registered driver does not support this, ErrUnsupported is returned instead.
sql/sqlclient/client.go:358
↓ 1 callers
Function
OpenWithOpts
OpenWithOpts open a new docker client
cmd/atlas/internal/docker/docker.go:573
↓ 1 callers
Method
Order_by_expr
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:27587
↓ 1 callers
Method
Over_clause
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:23027
↓ 1 callers
Function
ParserInit
ParserInit initializes any static state used to implement Parser. By default the static state used to implement the parser is lazily initialized durin
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:1182
↓ 1 callers
Method
PingURL
PingURL returns a URL to ping the Container.
cmd/atlas/internal/docker/docker.go:519
↓ 1 callers
Method
PlanChanges
(context.Context, string, []schema.Change, ...migrate.PlanOption)
sql/internal/sqlx/plan.go:22
↓ 1 callers
Function
PlanWithDiffOptions
PlanWithDiffOptions allows setting custom diff options.
sql/migrate/migrate.go:363
↓ 1 callers
Function
PlanWithIndent
PlanWithIndent allows generating SQL statements with indentation. An empty string indicates no indentation.
sql/migrate/migrate.go:345
↓ 1 callers
Function
PlanWithSchemaQualifier
PlanWithSchemaQualifier allows setting a custom schema to prefix tables and other resources. An empty string indicates no prefix. Note, this options
sql/migrate/migrate.go:335
↓ 1 callers
Method
Pragma_name
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:31101
↓ 1 callers
Method
Pragma_stmt
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:15868
↓ 1 callers
Function
PrimaryKey
PrimaryKey converts a sqlspec.PrimaryKey to a schema.Index.
sql/internal/specutil/convert.go:385
↓ 1 callers
Function
QualifiedExternalColRef
QualifiedExternalColRef returns the reference of a column by its name and qualified table name.
sql/internal/specutil/convert.go:1009
↓ 1 callers
Method
QualifierLabel
()
sql/internal/specutil/spec.go:75
↓ 1 callers
Method
Query
Query returns a query builder for Revision.
cmd/atlas/internal/migrate/ent/client.go:295
↓ 1 callers
Method
Raise_function
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:13908
↓ 1 callers
Method
RealmObjectDiff
RealmObjectDiff returns a changeset for migrating realm (database) objects from one state to the other. For example, adding extensions or users.
sql/internal/sqlx/diff.go:37
↓ 1 callers
Method
RealmRestoreFunc
RealmRestoreFunc returns a function that restores the given realm to its desired state.
sql/mysql/driver.go:206
↓ 1 callers
Method
RecordPlanError
RecordPlanError records any errors that occurred during the planning phase. i.e., when calling to ex.Pending.
cmd/atlas/internal/cmdapi/migrate.go:340
↓ 1 callers
Method
RecordTargetID
RecordTargetID asks the revisions-table to allow or provide the target identifier if cloud reporting is enabled.
cmd/atlas/internal/cmdapi/migrate.go:328
↓ 1 callers
Method
Recursive_select
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:28240
↓ 1 callers
Method
RedactedURL
RedactedURL returns the inspected url redacted.
cmd/atlas/internal/cmdlog/cmdlog.go:808
↓ 1 callers
Function
RegistrySanityTest
RegistrySanityTest runs a sanity for a TypeRegistry, generated a dummy *schemahcl.Type then converting it to a schema.Type and back to a *schemahcl.Ty
sql/internal/spectest/spectest.go:21
↓ 1 callers
Method
Reindex_stmt
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:16283
↓ 1 callers
Method
Release_stmt
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:4265
↓ 1 callers
Method
RemoveDep
(Object)
sql/schema/dsl.go:285
↓ 1 callers
Function
ReplayToVersion
ReplayToVersion configures the last version to apply when replaying the migration directory.
sql/migrate/migrate.go:1057
↓ 1 callers
Method
Report
Report provides standard reporting for data-dependent changes. Drivers that decorate this Analyzer should call this function to get consistent reporti
sql/sqlcheck/datadepend/datadepend.go:213
↓ 1 callers
Method
ReportFor
ReportFor returns a new MigrateReport for the given environment.
cmd/atlas/internal/cmdapi/migrate.go:252
↓ 1 callers
Method
ResetDescription
ResetDescription resets all changes to the "description" field.
cmd/atlas/internal/migrate/ent/mutation.go:199
↓ 1 callers
Method
ResetError
ResetError resets all changes to the "error" field.
cmd/atlas/internal/migrate/ent/mutation.go:507
↓ 1 callers
Method
ResetErrorStmt
ResetErrorStmt resets all changes to the "error_stmt" field.
cmd/atlas/internal/migrate/ent/mutation.go:556
↓ 1 callers
Method
ResetExecutedAt
ResetExecutedAt resets all changes to the "executed_at" field.
cmd/atlas/internal/migrate/ent/mutation.go:403
↓ 1 callers
Method
ResetHash
ResetHash resets all changes to the "hash" field.
cmd/atlas/internal/migrate/ent/mutation.go:593
↓ 1 callers
Method
ResetOperatorVersion
ResetOperatorVersion resets all changes to the "operator_version" field.
cmd/atlas/internal/migrate/ent/mutation.go:694
↓ 1 callers
Method
ResetPartialHashes
ResetPartialHashes resets all changes to the "partial_hashes" field.
cmd/atlas/internal/migrate/ent/mutation.go:656
↓ 1 callers
Method
ReverseStmts
ReverseStmts returns the reverse statements of a Change, if any.
sql/migrate/migrate.go:74
↓ 1 callers
Method
RevisionsReadWriter
(context.Context, string)
cmd/atlas/internal/migrate/migrate_test.go:220
↓ 1 callers
Method
Rollback
Rollback the transaction.
sql/sqlclient/client.go:473
↓ 1 callers
Function
RollbackFunc
RollbackFunc takes a transaction and ensures to toggle foreign keys back on after tx.Rollback is called.
sql/sqlite/driver.go:316
↓ 1 callers
Method
Rollback_stmt
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:3952
↓ 1 callers
Method
RowTypeT
()
sql/internal/sqlx/plan.go:457
↓ 1 callers
Method
RunCommand
RunCommand runs the command in the temporary directory.
atlasexec/working_dir.go:108
↓ 1 callers
Method
Savepoint_stmt
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:4133
↓ 1 callers
Method
ScanStmts
(input string)
sql/migrate/lex.go:87
↓ 1 callers
Function
Schema
Schema returns a StateReader for the static Schema object.
sql/migrate/migrate.go:177
↓ 1 callers
Method
SchemaApplySlice
SchemaApplySlice runs the 'schema apply' command for multiple targets.
atlasexec/atlas_schema.go:327
↓ 1 callers
Method
SchemaAttrDiff
SchemaAttrDiff returns a changeset for migrating schema attributes from one state to the other. For example, changing schema collation.
sql/internal/sqlx/diff.go:41
↓ 1 callers
Method
SchemaClean
SchemaClean runs the `schema clean` command.
atlasexec/atlas_schema.go:772
↓ 1 callers
Function
SchemaFKs
SchemaFKs scans the rows and adds the foreign-key to the schema table. Reference elements are added as stubs and should be linked manually by the call
sql/internal/sqlx/sqlx.go:97
↓ 1 callers
Method
SchemaObjectDiff
SchemaObjectDiff returns a changeset for migrating schema objects from one state to the other. For example, changing schema custom types.
sql/internal/sqlx/diff.go:45
↓ 1 callers
Method
SchemaPlanApprove
SchemaPlanApprove runs the `schema plan approve` command.
atlasexec/atlas_schema.go:749
↓ 1 callers
Method
SchemaPlanLint
SchemaPlanLint runs the `schema plan lint` command.
atlasexec/atlas_schema.go:640
↓ 1 callers
Method
SchemaPlanList
SchemaPlanList runs the `schema plan list` command.
atlasexec/atlas_schema.go:507
↓ 1 callers
Method
SchemaPlanPull
SchemaPlanPush runs the `schema plan pull` command.
atlasexec/atlas_schema.go:618
↓ 1 callers
Method
SchemaPlanPush
SchemaPlanPush runs the `schema plan push` command.
atlasexec/atlas_schema.go:562
↓ 1 callers
Method
SchemaPlanValidate
SchemaPlanValidate runs the `schema plan validate` command.
atlasexec/atlas_schema.go:693
↓ 1 callers
Method
SchemaPush
SchemaPush runs the 'schema push' command.
atlasexec/atlas_schema.go:278
↓ 1 callers
Method
SchemaRestoreFunc
SchemaRestoreFunc returns a function that restores the given schema to its desired state.
sql/postgres/driver.go:224
↓ 1 callers
Method
SchemaRestoreFunc
SchemaRestoreFunc returns a function that restores the given schema to its desired state.
sql/mysql/driver.go:191
↓ 1 callers
Method
SchemaTest
SchemaTest runs the 'schema test' command.
atlasexec/atlas_schema.go:413
↓ 1 callers
Function
Session
Session returns the session with the given name and reports whether it exists. revive:disable-next-line unexported-return
sdk/recordriver/driver.go:64
↓ 1 callers
Method
SetApplied
SetApplied sets the "applied" field.
cmd/atlas/internal/migrate/ent/revision_update.go:364
↓ 1 callers
Method
SetApplied
SetApplied sets the "applied" field.
cmd/atlas/internal/migrate/ent/mutation.go:260
↓ 1 callers
Method
SetCharset
SetCharset sets or appends the Charset attribute to the table with the given value.
sql/schema/dsl.go:170
↓ 1 callers
Method
SetCollation
SetCollation sets or appends the Collation attribute to the table with the given value.
sql/schema/dsl.go:183
↓ 1 callers
Method
SetColumn
SetColumn sets the column of the index-part.
sql/schema/dsl.go:800
↓ 1 callers
Method
SetComment
SetComment sets or appends the Comment attribute to the index with the given value.
sql/schema/dsl.go:727
↓ 1 callers
Method
SetDescription
SetDescription sets the "description" field.
cmd/atlas/internal/migrate/ent/revision_create.go:32
↓ 1 callers
Method
SetError
SetError sets the "error" field.
cmd/atlas/internal/migrate/ent/revision_update.go:427
↓ 1 callers
Method
SetErrorStmt
SetErrorStmt sets the "error_stmt" field.
cmd/atlas/internal/migrate/ent/revision_update.go:447
↓ 1 callers
Method
SetErrorStmt
SetErrorStmt sets the "error_stmt" field.
cmd/atlas/internal/migrate/ent/mutation.go:513
↓ 1 callers
Method
SetExecutedAt
SetExecutedAt sets the "executed_at" field.
cmd/atlas/internal/migrate/ent/revision_create.go:80
↓ 1 callers
Method
SetExecutionTime
SetExecutionTime sets the "execution_time" field.
cmd/atlas/internal/migrate/ent/revision_update.go:406
↓ 1 callers
Method
SetExecutionTime
SetExecutionTime sets the "execution_time" field.
cmd/atlas/internal/migrate/ent/revision_create.go:86
↓ 1 callers
Method
SetHash
SetHash sets the "hash" field.
cmd/atlas/internal/migrate/ent/revision_update.go:467
↓ 1 callers
Method
SetHash
SetHash sets the "hash" field.
cmd/atlas/internal/migrate/ent/revision_create.go:120
← previous
next →
1,701–1,800 of 7,770, ranked by callers