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
SetHeader
SetHeader sets header fields for cloud requests.
cmd/atlas/internal/cloudapi/client.go:391
↓ 1 callers
Method
SetID
SetID sets the value of the id field. Note that this operation is only accepted on creation of Revision entities.
cmd/atlas/internal/migrate/ent/mutation.go:135
↓ 1 callers
Method
SetID
SetID sets the "id" field.
cmd/atlas/internal/migrate/ent/revision_create.go:138
↓ 1 callers
Method
SetOnDelete
SetOnDelete sets the ON DELETE constraint action.
sql/schema/dsl.go:862
↓ 1 callers
Method
SetOnUpdate
SetOnUpdate sets the ON UPDATE constraint action.
sql/schema/dsl.go:856
↓ 1 callers
Method
SetOperatorVersion
SetOperatorVersion sets the "operator_version" field.
cmd/atlas/internal/migrate/ent/revision_update.go:499
↓ 1 callers
Method
SetOperatorVersion
SetOperatorVersion sets the "operator_version" field.
cmd/atlas/internal/migrate/ent/revision_create.go:132
↓ 1 callers
Method
SetPartialHashes
SetPartialHashes sets the "partial_hashes" field.
cmd/atlas/internal/migrate/ent/revision_update.go:177
↓ 1 callers
Method
SetPartialHashes
SetPartialHashes sets the "partial_hashes" field.
cmd/atlas/internal/migrate/ent/mutation.go:598
↓ 1 callers
Method
SetPartialHashes
SetPartialHashes sets the "partial_hashes" field.
cmd/atlas/internal/migrate/ent/revision_create.go:126
↓ 1 callers
Method
SetPath
SetPath allows the caller to set a path that can be retrieved by a user using the Path method. Although MemDir resides only in memory, its source can
sql/migrate/dir.go:518
↓ 1 callers
Method
SetPos
(*Pos)
sql/schema/schema.go:147
↓ 1 callers
Function
SetRepeatableVersion
SetRepeatableVersion iterates over the migration files and assigns repeatable migrations a version number since Atlas does not have the concept of rep
sql/sqltool/tool.go:424
↓ 1 callers
Function
SetResponse
SetResponse sets the response for the given session and query.
sdk/recordriver/driver.go:72
↓ 1 callers
Method
SetRevision
SetRevision takes the values for each field from the given migrate.Revision.
cmd/atlas/internal/migrate/ent/convert.go:12
↓ 1 callers
Method
SetTotal
SetTotal sets the "total" field.
cmd/atlas/internal/migrate/ent/revision_update.go:385
↓ 1 callers
Method
SetTotal
SetTotal sets the "total" field.
cmd/atlas/internal/migrate/ent/mutation.go:316
↓ 1 callers
Method
SetType
SetType sets the "type" field.
cmd/atlas/internal/migrate/ent/revision_update.go:343
↓ 1 callers
Method
Simple_func
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:32013
↓ 1 callers
Function
SingleQuote
SingleQuote quotes the given string with single quote.
sql/internal/sqlx/diff.go:780
↓ 1 callers
Function
SortRefs
SortRefs maintains consistent dependents list.
sql/schema/dsl.go:298
↓ 1 callers
Method
Sql_stmt_list
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:1816
↓ 1 callers
Function
StateReaderAtlas
StateReaderAtlas returns a migrate.StateReader from an Atlas Cloud schema.
cmd/atlas/internal/cmdext/cmdext.go:635
↓ 1 callers
Method
StmtBuilder
StmtBuilder is a helper method used to build statements with PostgreSQL formatting.
sql/postgres/driver.go:347
↓ 1 callers
Method
StmtBuilder
StmtBuilder is a helper method used to build statements with MySQL formatting.
sql/mysql/driver.go:271
↓ 1 callers
Method
StmtBuilder
StmtBuilder is a helper method used to build statements with SQLite formatting.
sql/sqlite/driver.go:206
↓ 1 callers
Method
StmtDecls
StmtDecls understands the migration format used by pressly/goose sql migration files.
sql/sqltool/tool.go:173
↓ 1 callers
Method
StmtDecls
StmtDecls understands the migration format used by amacneil/dbmate sql migration files.
sql/sqltool/tool.go:280
↓ 1 callers
Method
String
()
atlasexec/atlas_test.go:207
↓ 1 callers
Method
String
String implements fmt.Stringer.
sql/migrate/migrate.go:298
↓ 1 callers
Method
SupportChange
SupportChange can be implemented to tell the Differ if they support a specific change type, or it should avoid suggesting it.
sql/internal/sqlx/diff.go:108
↓ 1 callers
Method
SupportsDisplayWidth
SupportsDisplayWidth reports if the version supports getting the display width information from the information schema.
sql/mysql/internal/mysqlversion/mysqlversion.go:41
↓ 1 callers
Method
SupportsIndexComment
SupportsIndexComment reports if the version supports comments on indexes.
sql/mysql/internal/mysqlversion/mysqlversion.go:85
↓ 1 callers
Method
SupportsRenameColumn
SupportsRenameColumn reports if the version supports the "RENAME COLUMN" clause.
sql/mysql/internal/mysqlversion/mysqlversion.go:75
↓ 1 callers
Method
TableAttrDiff
TableAttrDiff returns a changeset for migrating table attributes from one state to the other. For example, dropping or adding a `CHECK` constraint.
sql/internal/sqlx/diff.go:49
↓ 1 callers
Method
TableColumn
TableColumn writes the table's resource identifier to the builder, prefixed with the schema name if exists.
sql/internal/sqlx/sqlx.go:336
↓ 1 callers
Function
TableName
TableName returns the qualifier and name from a reference to a table.
sql/internal/specutil/convert.go:961
↓ 1 callers
Method
Table_constraint
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:7093
↓ 1 callers
Method
Table_or_index_name
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:30189
↓ 1 callers
Function
TempFile
TempFile creates a temporary file with the given content and extension.
atlasexec/atlas.go:472
↓ 1 callers
Function
TimeScale
TimeScale configures the scale of the time type.
sql/schema/dsl.go:544
↓ 1 callers
Method
ToSlice
ToSlice converts the environment variables to a slice.
atlasexec/atlas.go:273
↓ 1 callers
Method
Transaction_name
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:31443
↓ 1 callers
Method
Trigger_name
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:30759
↓ 1 callers
Method
Type
Type converts a *schemahcl.Type into a schema.Type.
schemahcl/types.go:268
↓ 1 callers
Function
TypeValue
TypeValue is a helper method for constructing a cty.Value that contains a Type value.
schemahcl/spec.go:560
↓ 1 callers
Method
Unary_operator
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:28357
↓ 1 callers
Function
UnderlyingType
UnderlyingType returns the underlying type of t.
sql/schema/schema.go:636
↓ 1 callers
Method
Unique
Unique configures the query builder to filter duplicate records on query. By default, unique is set to true, and can be disabled using this method.
cmd/atlas/internal/migrate/ent/revision_query.go:55
↓ 1 callers
Method
Unwrap
()
sql/migrate/migrate.go:1133
↓ 1 callers
Method
UpdateNewValues
UpdateNewValues updates the mutable fields using the new values that were set on create except the ID field. Using this option is equivalent to using:
cmd/atlas/internal/migrate/ent/revision_create.go:522
↓ 1 callers
Method
UpdateOne
UpdateOne returns an update builder for the given entity.
cmd/atlas/internal/migrate/ent/client.go:264
↓ 1 callers
Method
Update_stmt_limited
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:21497
↓ 1 callers
Method
Upsert_clause
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:15439
↓ 1 callers
Method
Vacuum_stmt
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:22137
↓ 1 callers
Method
ValidateBlock
(*hcl.EvalContext, *hclsyntax.Block)
schemahcl/schemahcl.go:250
↓ 1 callers
Method
ValidateBody
(*hcl.EvalContext, *hclsyntax.Body)
schemahcl/schemahcl.go:249
↓ 1 callers
Method
ValidateDir
ValidateDir before operating on it.
sql/migrate/migrate.go:1310
↓ 1 callers
Function
Version
Version returns the current Atlas binary version.
cmd/atlas/internal/cmdapi/cmdapi.go:189
↓ 1 callers
Method
Version
()
sql/mysql/driver_test.go:211
↓ 1 callers
Function
ViewForRenamedT
ViewForRenamedT checks if a view was created was a table that was renamed after the given position.
sql/sqlcheck/incompatible/incompatible.go:96
↓ 1 callers
Method
View_name
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:30873
↓ 1 callers
Method
VisitAggregate_func
Visit a parse tree produced by Parser#aggregate_func.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:341
↓ 1 callers
Method
VisitAggregate_function_invocation
Visit a parse tree produced by Parser#aggregate_function_invocation.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:206
↓ 1 callers
Method
VisitAlias
Visit a parse tree produced by Parser#alias.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:329
↓ 1 callers
Method
VisitAlter_table_stmt
Visit a parse tree produced by Parser#alter_table_stmt.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:20
↓ 1 callers
Method
VisitAnalyze_stmt
Visit a parse tree produced by Parser#analyze_stmt.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:23
↓ 1 callers
Method
VisitAny_name
Visit a parse tree produced by Parser#any_name.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:347
↓ 1 callers
Method
VisitAsc_desc
Visit a parse tree produced by Parser#asc_desc.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:224
↓ 1 callers
Method
VisitAssignment
Visit a parse tree produced by Parser#assignment.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:173
↓ 1 callers
Method
VisitAssignment_list
Visit a parse tree produced by Parser#assignment_list.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:170
↓ 1 callers
Method
VisitAttach_stmt
Visit a parse tree produced by Parser#attach_stmt.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:26
↓ 1 callers
Method
VisitBase_window_name
Visit a parse tree produced by Parser#base_window_name.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:335
↓ 1 callers
Method
VisitBegin_stmt
Visit a parse tree produced by Parser#begin_stmt.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:29
↓ 1 callers
Method
VisitCollation_name
Visit a parse tree produced by Parser#collation_name.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:296
↓ 1 callers
Method
VisitColumn_alias
Visit a parse tree produced by Parser#column_alias.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:272
↓ 1 callers
Method
VisitColumn_constraint
Visit a parse tree produced by Parser#column_constraint.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:59
↓ 1 callers
Method
VisitColumn_def
Visit a parse tree produced by Parser#column_def.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:53
↓ 1 callers
Method
VisitColumn_name
Visit a parse tree produced by Parser#column_name.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:293
↓ 1 callers
Method
VisitColumn_name_list
Visit a parse tree produced by Parser#column_name_list.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:176
↓ 1 callers
Method
VisitCommit_stmt
Visit a parse tree produced by Parser#commit_stmt.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:32
↓ 1 callers
Method
VisitCommon_table_expression
Visit a parse tree produced by Parser#common_table_expression.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:92
↓ 1 callers
Method
VisitCommon_table_stmt
Visit a parse tree produced by Parser#common_table_stmt.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:212
↓ 1 callers
Method
VisitCompound_operator
Visit a parse tree produced by Parser#compound_operator.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:164
↓ 1 callers
Method
VisitCompound_select_stmt
Visit a parse tree produced by Parser#compound_select_stmt.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:149
↓ 1 callers
Method
VisitConflict_clause
Visit a parse tree produced by Parser#conflict_clause.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:71
↓ 1 callers
Method
VisitCreate_index_stmt
Visit a parse tree produced by Parser#create_index_stmt.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:44
↓ 1 callers
Method
VisitCreate_table_stmt
Visit a parse tree produced by Parser#create_table_stmt.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:50
↓ 1 callers
Method
VisitCreate_trigger_stmt
Visit a parse tree produced by Parser#create_trigger_stmt.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:74
↓ 1 callers
Method
VisitCreate_view_stmt
Visit a parse tree produced by Parser#create_view_stmt.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:77
↓ 1 callers
Method
VisitCreate_virtual_table_stmt
Visit a parse tree produced by Parser#create_virtual_table_stmt.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:80
↓ 1 callers
Method
VisitCte_table_name
Visit a parse tree produced by Parser#cte_table_name.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:86
↓ 1 callers
Method
VisitDefault_value
Visit a parse tree produced by Parser#default_value.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:242
↓ 1 callers
Method
VisitDelete_stmt
Visit a parse tree produced by Parser#delete_stmt.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:95
↓ 1 callers
Method
VisitDelete_stmt_limited
Visit a parse tree produced by Parser#delete_stmt_limited.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:98
↓ 1 callers
Method
VisitDetach_stmt
Visit a parse tree produced by Parser#detach_stmt.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:101
↓ 1 callers
Method
VisitDrop_stmt
Visit a parse tree produced by Parser#drop_stmt.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:104
↓ 1 callers
Method
VisitError_message
Visit a parse tree produced by Parser#error_message.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:266
↓ 1 callers
Method
VisitExpr
Visit a parse tree produced by Parser#expr.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:107
↓ 1 callers
Method
VisitExpr_asc_desc
Visit a parse tree produced by Parser#expr_asc_desc.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:254
← previous
next →
1,801–1,900 of 7,770, ranked by callers