MCPcopy Create free account

hub / github.com/ariga/atlas / functions

Functions7,770 in github.com/ariga/atlas

↓ 1 callersFunctionSetHeader
SetHeader sets header fields for cloud requests.
cmd/atlas/internal/cloudapi/client.go:391
↓ 1 callersMethodSetID
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 callersMethodSetID
SetID sets the "id" field.
cmd/atlas/internal/migrate/ent/revision_create.go:138
↓ 1 callersMethodSetOnDelete
SetOnDelete sets the ON DELETE constraint action.
sql/schema/dsl.go:862
↓ 1 callersMethodSetOnUpdate
SetOnUpdate sets the ON UPDATE constraint action.
sql/schema/dsl.go:856
↓ 1 callersMethodSetOperatorVersion
SetOperatorVersion sets the "operator_version" field.
cmd/atlas/internal/migrate/ent/revision_update.go:499
↓ 1 callersMethodSetOperatorVersion
SetOperatorVersion sets the "operator_version" field.
cmd/atlas/internal/migrate/ent/revision_create.go:132
↓ 1 callersMethodSetPartialHashes
SetPartialHashes sets the "partial_hashes" field.
cmd/atlas/internal/migrate/ent/revision_update.go:177
↓ 1 callersMethodSetPartialHashes
SetPartialHashes sets the "partial_hashes" field.
cmd/atlas/internal/migrate/ent/mutation.go:598
↓ 1 callersMethodSetPartialHashes
SetPartialHashes sets the "partial_hashes" field.
cmd/atlas/internal/migrate/ent/revision_create.go:126
↓ 1 callersMethodSetPath
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 callersMethodSetPos
(*Pos)
sql/schema/schema.go:147
↓ 1 callersFunctionSetRepeatableVersion
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 callersFunctionSetResponse
SetResponse sets the response for the given session and query.
sdk/recordriver/driver.go:72
↓ 1 callersMethodSetRevision
SetRevision takes the values for each field from the given migrate.Revision.
cmd/atlas/internal/migrate/ent/convert.go:12
↓ 1 callersMethodSetTotal
SetTotal sets the "total" field.
cmd/atlas/internal/migrate/ent/revision_update.go:385
↓ 1 callersMethodSetTotal
SetTotal sets the "total" field.
cmd/atlas/internal/migrate/ent/mutation.go:316
↓ 1 callersMethodSetType
SetType sets the "type" field.
cmd/atlas/internal/migrate/ent/revision_update.go:343
↓ 1 callersMethodSimple_func
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:32013
↓ 1 callersFunctionSingleQuote
SingleQuote quotes the given string with single quote.
sql/internal/sqlx/diff.go:780
↓ 1 callersFunctionSortRefs
SortRefs maintains consistent dependents list.
sql/schema/dsl.go:298
↓ 1 callersMethodSql_stmt_list
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:1816
↓ 1 callersFunctionStateReaderAtlas
StateReaderAtlas returns a migrate.StateReader from an Atlas Cloud schema.
cmd/atlas/internal/cmdext/cmdext.go:635
↓ 1 callersMethodStmtBuilder
StmtBuilder is a helper method used to build statements with PostgreSQL formatting.
sql/postgres/driver.go:347
↓ 1 callersMethodStmtBuilder
StmtBuilder is a helper method used to build statements with MySQL formatting.
sql/mysql/driver.go:271
↓ 1 callersMethodStmtBuilder
StmtBuilder is a helper method used to build statements with SQLite formatting.
sql/sqlite/driver.go:206
↓ 1 callersMethodStmtDecls
StmtDecls understands the migration format used by pressly/goose sql migration files.
sql/sqltool/tool.go:173
↓ 1 callersMethodStmtDecls
StmtDecls understands the migration format used by amacneil/dbmate sql migration files.
sql/sqltool/tool.go:280
↓ 1 callersMethodString
()
atlasexec/atlas_test.go:207
↓ 1 callersMethodString
String implements fmt.Stringer.
sql/migrate/migrate.go:298
↓ 1 callersMethodSupportChange
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 callersMethodSupportsDisplayWidth
SupportsDisplayWidth reports if the version supports getting the display width information from the information schema.
sql/mysql/internal/mysqlversion/mysqlversion.go:41
↓ 1 callersMethodSupportsIndexComment
SupportsIndexComment reports if the version supports comments on indexes.
sql/mysql/internal/mysqlversion/mysqlversion.go:85
↓ 1 callersMethodSupportsRenameColumn
SupportsRenameColumn reports if the version supports the "RENAME COLUMN" clause.
sql/mysql/internal/mysqlversion/mysqlversion.go:75
↓ 1 callersMethodTableAttrDiff
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 callersMethodTableColumn
TableColumn writes the table's resource identifier to the builder, prefixed with the schema name if exists.
sql/internal/sqlx/sqlx.go:336
↓ 1 callersFunctionTableName
TableName returns the qualifier and name from a reference to a table.
sql/internal/specutil/convert.go:961
↓ 1 callersMethodTable_constraint
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:7093
↓ 1 callersMethodTable_or_index_name
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:30189
↓ 1 callersFunctionTempFile
TempFile creates a temporary file with the given content and extension.
atlasexec/atlas.go:472
↓ 1 callersFunctionTimeScale
TimeScale configures the scale of the time type.
sql/schema/dsl.go:544
↓ 1 callersMethodToSlice
ToSlice converts the environment variables to a slice.
atlasexec/atlas.go:273
↓ 1 callersMethodTransaction_name
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:31443
↓ 1 callersMethodTrigger_name
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:30759
↓ 1 callersMethodType
Type converts a *schemahcl.Type into a schema.Type.
schemahcl/types.go:268
↓ 1 callersFunctionTypeValue
TypeValue is a helper method for constructing a cty.Value that contains a Type value.
schemahcl/spec.go:560
↓ 1 callersMethodUnary_operator
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:28357
↓ 1 callersFunctionUnderlyingType
UnderlyingType returns the underlying type of t.
sql/schema/schema.go:636
↓ 1 callersMethodUnique
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 callersMethodUnwrap
()
sql/migrate/migrate.go:1133
↓ 1 callersMethodUpdateNewValues
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 callersMethodUpdateOne
UpdateOne returns an update builder for the given entity.
cmd/atlas/internal/migrate/ent/client.go:264
↓ 1 callersMethodUpdate_stmt_limited
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:21497
↓ 1 callersMethodUpsert_clause
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:15439
↓ 1 callersMethodVacuum_stmt
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:22137
↓ 1 callersMethodValidateBlock
(*hcl.EvalContext, *hclsyntax.Block)
schemahcl/schemahcl.go:250
↓ 1 callersMethodValidateBody
(*hcl.EvalContext, *hclsyntax.Body)
schemahcl/schemahcl.go:249
↓ 1 callersMethodValidateDir
ValidateDir before operating on it.
sql/migrate/migrate.go:1310
↓ 1 callersFunctionVersion
Version returns the current Atlas binary version.
cmd/atlas/internal/cmdapi/cmdapi.go:189
↓ 1 callersMethodVersion
()
sql/mysql/driver_test.go:211
↓ 1 callersFunctionViewForRenamedT
ViewForRenamedT checks if a view was created was a table that was renamed after the given position.
sql/sqlcheck/incompatible/incompatible.go:96
↓ 1 callersMethodView_name
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:30873
↓ 1 callersMethodVisitAggregate_func
Visit a parse tree produced by Parser#aggregate_func.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:341
↓ 1 callersMethodVisitAggregate_function_invocation
Visit a parse tree produced by Parser#aggregate_function_invocation.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:206
↓ 1 callersMethodVisitAlias
Visit a parse tree produced by Parser#alias.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:329
↓ 1 callersMethodVisitAlter_table_stmt
Visit a parse tree produced by Parser#alter_table_stmt.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:20
↓ 1 callersMethodVisitAnalyze_stmt
Visit a parse tree produced by Parser#analyze_stmt.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:23
↓ 1 callersMethodVisitAny_name
Visit a parse tree produced by Parser#any_name.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:347
↓ 1 callersMethodVisitAsc_desc
Visit a parse tree produced by Parser#asc_desc.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:224
↓ 1 callersMethodVisitAssignment
Visit a parse tree produced by Parser#assignment.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:173
↓ 1 callersMethodVisitAssignment_list
Visit a parse tree produced by Parser#assignment_list.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:170
↓ 1 callersMethodVisitAttach_stmt
Visit a parse tree produced by Parser#attach_stmt.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:26
↓ 1 callersMethodVisitBase_window_name
Visit a parse tree produced by Parser#base_window_name.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:335
↓ 1 callersMethodVisitBegin_stmt
Visit a parse tree produced by Parser#begin_stmt.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:29
↓ 1 callersMethodVisitCollation_name
Visit a parse tree produced by Parser#collation_name.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:296
↓ 1 callersMethodVisitColumn_alias
Visit a parse tree produced by Parser#column_alias.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:272
↓ 1 callersMethodVisitColumn_constraint
Visit a parse tree produced by Parser#column_constraint.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:59
↓ 1 callersMethodVisitColumn_def
Visit a parse tree produced by Parser#column_def.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:53
↓ 1 callersMethodVisitColumn_name
Visit a parse tree produced by Parser#column_name.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:293
↓ 1 callersMethodVisitColumn_name_list
Visit a parse tree produced by Parser#column_name_list.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:176
↓ 1 callersMethodVisitCommit_stmt
Visit a parse tree produced by Parser#commit_stmt.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:32
↓ 1 callersMethodVisitCommon_table_expression
Visit a parse tree produced by Parser#common_table_expression.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:92
↓ 1 callersMethodVisitCommon_table_stmt
Visit a parse tree produced by Parser#common_table_stmt.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:212
↓ 1 callersMethodVisitCompound_operator
Visit a parse tree produced by Parser#compound_operator.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:164
↓ 1 callersMethodVisitCompound_select_stmt
Visit a parse tree produced by Parser#compound_select_stmt.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:149
↓ 1 callersMethodVisitConflict_clause
Visit a parse tree produced by Parser#conflict_clause.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:71
↓ 1 callersMethodVisitCreate_index_stmt
Visit a parse tree produced by Parser#create_index_stmt.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:44
↓ 1 callersMethodVisitCreate_table_stmt
Visit a parse tree produced by Parser#create_table_stmt.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:50
↓ 1 callersMethodVisitCreate_trigger_stmt
Visit a parse tree produced by Parser#create_trigger_stmt.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:74
↓ 1 callersMethodVisitCreate_view_stmt
Visit a parse tree produced by Parser#create_view_stmt.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:77
↓ 1 callersMethodVisitCreate_virtual_table_stmt
Visit a parse tree produced by Parser#create_virtual_table_stmt.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:80
↓ 1 callersMethodVisitCte_table_name
Visit a parse tree produced by Parser#cte_table_name.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:86
↓ 1 callersMethodVisitDefault_value
Visit a parse tree produced by Parser#default_value.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:242
↓ 1 callersMethodVisitDelete_stmt
Visit a parse tree produced by Parser#delete_stmt.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:95
↓ 1 callersMethodVisitDelete_stmt_limited
Visit a parse tree produced by Parser#delete_stmt_limited.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:98
↓ 1 callersMethodVisitDetach_stmt
Visit a parse tree produced by Parser#detach_stmt.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:101
↓ 1 callersMethodVisitDrop_stmt
Visit a parse tree produced by Parser#drop_stmt.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:104
↓ 1 callersMethodVisitError_message
Visit a parse tree produced by Parser#error_message.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:266
↓ 1 callersMethodVisitExpr
Visit a parse tree produced by Parser#expr.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:107
↓ 1 callersMethodVisitExpr_asc_desc
Visit a parse tree produced by Parser#expr_asc_desc.
cmd/atlas/internal/sqlparse/sqliteparse/parser_visitor.go:254
← previousnext →1,801–1,900 of 7,770, ranked by callers