MCPcopy Create free account

hub / github.com/ariga/atlas / functions

Functions7,770 in github.com/ariga/atlas

↓ 1 callersMethodAddExecutionTime
AddExecutionTime adds t to the "execution_time" field.
cmd/atlas/internal/migrate/ent/mutation.go:440
↓ 1 callersMethodAddRefs
(...Object)
sql/schema/dsl.go:270
↓ 1 callersMethodAddTotal
AddTotal adds value to the "total" field.
cmd/atlas/internal/migrate/ent/revision_update.go:96
↓ 1 callersMethodAddTotal
AddTotal adds i to the "total" field.
cmd/atlas/internal/migrate/ent/mutation.go:348
↓ 1 callersMethodAddType
AddType adds value to the "type" field.
cmd/atlas/internal/migrate/ent/revision_update.go:54
↓ 1 callersMethodAddType
AddType adds mt to the "type" field.
cmd/atlas/internal/migrate/ent/mutation.go:236
↓ 1 callersMethodAggregate_func
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:32127
↓ 1 callersMethodAlias
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:31671
↓ 1 callersMethodAlter_table_stmt
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:2932
↓ 1 callersFunctionAlternateSchema
AlternateSchemas allows alternate schema names to be passed into ent operations.
cmd/atlas/internal/migrate/ent/client.go:358
↓ 1 callersMethodAnalyze_stmt
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:3257
↓ 1 callersMethodAnnotateChanges
([]schema.Change, *schema.DiffOptions)
sql/internal/sqlx/diff.go:101
↓ 1 callersMethodAppendPartialHashes
AppendPartialHashes appends value to the "partial_hashes" field.
cmd/atlas/internal/migrate/ent/revision_update.go:183
↓ 1 callersMethodAssignment_list
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:20702
↓ 1 callersMethodAttach_stmt
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:3447
↓ 1 callersMethodBegin
Begin starts and returns a new transaction.
sdk/recordriver/driver.go:109
↓ 1 callersMethodBegin_stmt
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:3622
↓ 1 callersFunctionBodyDefChanged
BodyDefChanged reports if the body definition of a function, procedure, view, or trigger has changed. There is a small task here that normalizes the i
sql/internal/sqlx/diff.go:805
↓ 1 callersMethodBools
Bools returns a slice of bools from the Value of the Attr. If The value is not a ListValue or its values cannot be converted to bools an error is retu
schemahcl/spec.go:380
↓ 1 callersMethodChangeSchema
(*url.URL, string)
sql/sqlclient/client.go:249
↓ 1 callersMethodCharsetToCollate
CharsetToCollate returns the mapping from charset to its default collation.
sql/mysql/internal/mysqlversion/mysqlversion.go:98
↓ 1 callersFunctionCheck
Check converts a sqlspec.Check to a schema.Check.
sql/internal/specutil/convert.go:377
↓ 1 callersFunctionChecksDiff
ChecksDiff computes the change diff between the 2 tables.
sql/internal/sqlx/diff.go:664
↓ 1 callersMethodClearError
ClearError clears the value of the "error" field.
cmd/atlas/internal/migrate/ent/revision_update.go:137
↓ 1 callersMethodClearError
ClearError clears the value of the "error" field.
cmd/atlas/internal/migrate/ent/mutation.go:495
↓ 1 callersMethodClearErrorStmt
ClearErrorStmt clears the value of the "error_stmt" field.
cmd/atlas/internal/migrate/ent/revision_update.go:157
↓ 1 callersMethodClearErrorStmt
ClearErrorStmt clears the value of the "error_stmt" field.
cmd/atlas/internal/migrate/ent/mutation.go:544
↓ 1 callersMethodClearPartialHashes
ClearPartialHashes clears the value of the "partial_hashes" field.
cmd/atlas/internal/migrate/ent/revision_update.go:189
↓ 1 callersMethodClearPartialHashes
ClearPartialHashes clears the value of the "partial_hashes" field.
cmd/atlas/internal/migrate/ent/mutation.go:643
↓ 1 callersMethodClose
Close implements the io.Closer interface.
sql/internal/sqlx/sqlx.go:36
↓ 1 callersMethodColumnFilledBefore
ColumnFilledBefore checks if the column was filled with values before the given position in the file. For example: UPDATE <table> SET <column> = <va
cmd/atlas/internal/sqlparse/sqlparse.go:31
↓ 1 callersMethodColumn_alias
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:28729
↓ 1 callersMethodColumn_constraint
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:6322
↓ 1 callersFunctionCommitFunc
CommitFunc takes a transaction and ensures to toggle foreign keys back on after tx.Commit is called.
sql/sqlite/driver.go:283
↓ 1 callersMethodCommit_stmt
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:3791
↓ 1 callersMethodCompound_operator
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:20010
↓ 1 callersMethodCopilotStream
CopilotStream executes a one-shot Copilot session, streaming the result.
atlasexec/copilot.go:115
↓ 1 callersMethodCopyFiles
CopyFiles copies all files to the MemDir and update the atlas.sum file, or create it if it does not exist.
sql/migrate/dir.go:450
↓ 1 callersMethodCreate
Create creates all schema resources.
cmd/atlas/internal/migrate/ent/migrate/migrate.go:48
↓ 1 callersMethodCreateViewAfter
CreateViewAfter checks if a view was created after the position with the given name to a table. For example: ALTER TABLE `users` RENAME TO `Users`
cmd/atlas/internal/sqlparse/sqlparse.go:39
↓ 1 callersMethodCreate_index_stmt
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:4562
↓ 1 callersMethodCreate_table_stmt
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:5278
↓ 1 callersMethodCreate_trigger_stmt
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:8622
↓ 1 callersMethodCreate_view_stmt
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:9250
↓ 1 callersMethodCreate_virtual_table_stmt
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:9662
↓ 1 callersMethodDebug
Debug returns a new debug-client. It's used to get verbose logging on specific operations. client.Debug(). Revision. Query(). Count(ctx)
cmd/atlas/internal/migrate/ent/client.go:171
↓ 1 callersFunctionDecimalPrecision
DecimalPrecision configures the precision of the decimal type.
sql/schema/dsl.go:466
↓ 1 callersFunctionDecimalScale
DecimalScale configures the scale of the decimal type.
sql/schema/dsl.go:473
↓ 1 callersFunctionDecimalUnsigned
DecimalUnsigned configures the unsigned of the float type.
sql/schema/dsl.go:480
↓ 1 callersMethodDefault_value
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:27239
↓ 1 callersMethodDelete
Delete returns a delete builder for Revision.
cmd/atlas/internal/migrate/ent/client.go:276
↓ 1 callersMethodDelete_stmt_limited
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:11382
↓ 1 callersMethodDetach_stmt
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:11602
↓ 1 callersMethodDiagnostics
Diagnostics runs the common analysis on the file and returns its diagnostics.
sql/sqlcheck/datadepend/datadepend.go:82
↓ 1 callersFunctionDiffNormalized
DiffNormalized returns a DiffOption that sets DiffMode to DiffModeNormalized, indicating the Differ should consider input objects as normalized, For e
sql/schema/migrate.go:383
↓ 1 callersMethodDiffOptions
DiffOptions returns the diff options configured for the environment, or nil if no environment or diff policy were set.
cmd/atlas/internal/cmdapi/project.go:447
↓ 1 callersMethodDiffer
Differ returns the raw states differ for the given URLs, if registered.
cmd/atlas/internal/cmdext/cmdext.go:595
↓ 1 callersFunctionDir
Dir parses u and calls dirURL.
cmd/atlas/internal/migrate/migrate.go:370
↓ 1 callersFunctionDirURL
DirURL returns a migrate.Dir to use as migration directory.
cmd/atlas/internal/migrate/migrate.go:389
↓ 1 callersMethodDoNothing
DoNothing configures the conflict_action to `DO NOTHING`. Supported only by SQLite and PostgreSQL.
cmd/atlas/internal/migrate/ent/revision_create.go:551
↓ 1 callersFunctionDriverOpener
DriverOpener is a helper Opener creator for sharing between all drivers.
sql/sqlclient/client.go:422
↓ 1 callersMethodDropSchemaChange
(*schema.Schema)
sql/internal/sqlx/diff.go:79
↓ 1 callersMethodDrop_stmt
()
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:11808
↓ 1 callersFunctionEntDialect
EntDialect returns the Ent dialect for the given driver.
cmd/atlas/internal/migrate/migrate.go:63
↓ 1 callersMethodEnterAggregate_func
EnterAggregate_func is called when entering the aggregate_func production.
cmd/atlas/internal/sqlparse/sqliteparse/parser_listener.go:341
↓ 1 callersMethodEnterAggregate_function_invocation
EnterAggregate_function_invocation is called when entering the aggregate_function_invocation production.
cmd/atlas/internal/sqlparse/sqliteparse/parser_listener.go:206
↓ 1 callersMethodEnterAlias
EnterAlias is called when entering the alias production.
cmd/atlas/internal/sqlparse/sqliteparse/parser_listener.go:329
↓ 1 callersMethodEnterAlter_table_stmt
EnterAlter_table_stmt is called when entering the alter_table_stmt production.
cmd/atlas/internal/sqlparse/sqliteparse/parser_listener.go:20
↓ 1 callersMethodEnterAnalyze_stmt
EnterAnalyze_stmt is called when entering the analyze_stmt production.
cmd/atlas/internal/sqlparse/sqliteparse/parser_listener.go:23
↓ 1 callersMethodEnterAny_name
EnterAny_name is called when entering the any_name production.
cmd/atlas/internal/sqlparse/sqliteparse/parser_listener.go:347
↓ 1 callersMethodEnterAsc_desc
EnterAsc_desc is called when entering the asc_desc production.
cmd/atlas/internal/sqlparse/sqliteparse/parser_listener.go:224
↓ 1 callersMethodEnterAssignment
EnterAssignment is called when entering the assignment production.
cmd/atlas/internal/sqlparse/sqliteparse/parser_listener.go:173
↓ 1 callersMethodEnterAssignment_list
EnterAssignment_list is called when entering the assignment_list production.
cmd/atlas/internal/sqlparse/sqliteparse/parser_listener.go:170
↓ 1 callersMethodEnterAttach_stmt
EnterAttach_stmt is called when entering the attach_stmt production.
cmd/atlas/internal/sqlparse/sqliteparse/parser_listener.go:26
↓ 1 callersMethodEnterBase_window_name
EnterBase_window_name is called when entering the base_window_name production.
cmd/atlas/internal/sqlparse/sqliteparse/parser_listener.go:335
↓ 1 callersMethodEnterBegin_stmt
EnterBegin_stmt is called when entering the begin_stmt production.
cmd/atlas/internal/sqlparse/sqliteparse/parser_listener.go:29
↓ 1 callersMethodEnterCollation_name
EnterCollation_name is called when entering the collation_name production.
cmd/atlas/internal/sqlparse/sqliteparse/parser_listener.go:296
↓ 1 callersMethodEnterColumn_alias
EnterColumn_alias is called when entering the column_alias production.
cmd/atlas/internal/sqlparse/sqliteparse/parser_listener.go:272
↓ 1 callersMethodEnterColumn_constraint
EnterColumn_constraint is called when entering the column_constraint production.
cmd/atlas/internal/sqlparse/sqliteparse/parser_listener.go:59
↓ 1 callersMethodEnterColumn_def
EnterColumn_def is called when entering the column_def production.
cmd/atlas/internal/sqlparse/sqliteparse/parser_listener.go:53
↓ 1 callersMethodEnterColumn_name
EnterColumn_name is called when entering the column_name production.
cmd/atlas/internal/sqlparse/sqliteparse/parser_listener.go:293
↓ 1 callersMethodEnterColumn_name_list
EnterColumn_name_list is called when entering the column_name_list production.
cmd/atlas/internal/sqlparse/sqliteparse/parser_listener.go:176
↓ 1 callersMethodEnterCommit_stmt
EnterCommit_stmt is called when entering the commit_stmt production.
cmd/atlas/internal/sqlparse/sqliteparse/parser_listener.go:32
↓ 1 callersMethodEnterCommon_table_expression
EnterCommon_table_expression is called when entering the common_table_expression production.
cmd/atlas/internal/sqlparse/sqliteparse/parser_listener.go:92
↓ 1 callersMethodEnterCommon_table_stmt
EnterCommon_table_stmt is called when entering the common_table_stmt production.
cmd/atlas/internal/sqlparse/sqliteparse/parser_listener.go:212
↓ 1 callersMethodEnterCompound_operator
EnterCompound_operator is called when entering the compound_operator production.
cmd/atlas/internal/sqlparse/sqliteparse/parser_listener.go:164
↓ 1 callersMethodEnterCompound_select_stmt
EnterCompound_select_stmt is called when entering the compound_select_stmt production.
cmd/atlas/internal/sqlparse/sqliteparse/parser_listener.go:149
↓ 1 callersMethodEnterConflict_clause
EnterConflict_clause is called when entering the conflict_clause production.
cmd/atlas/internal/sqlparse/sqliteparse/parser_listener.go:71
↓ 1 callersMethodEnterCreate_index_stmt
EnterCreate_index_stmt is called when entering the create_index_stmt production.
cmd/atlas/internal/sqlparse/sqliteparse/parser_listener.go:44
↓ 1 callersMethodEnterCreate_table_stmt
EnterCreate_table_stmt is called when entering the create_table_stmt production.
cmd/atlas/internal/sqlparse/sqliteparse/parser_listener.go:50
↓ 1 callersMethodEnterCreate_trigger_stmt
EnterCreate_trigger_stmt is called when entering the create_trigger_stmt production.
cmd/atlas/internal/sqlparse/sqliteparse/parser_listener.go:74
↓ 1 callersMethodEnterCreate_view_stmt
EnterCreate_view_stmt is called when entering the create_view_stmt production.
cmd/atlas/internal/sqlparse/sqliteparse/parser_listener.go:77
↓ 1 callersMethodEnterCreate_virtual_table_stmt
EnterCreate_virtual_table_stmt is called when entering the create_virtual_table_stmt production.
cmd/atlas/internal/sqlparse/sqliteparse/parser_listener.go:80
↓ 1 callersMethodEnterCte_table_name
EnterCte_table_name is called when entering the cte_table_name production.
cmd/atlas/internal/sqlparse/sqliteparse/parser_listener.go:86
↓ 1 callersMethodEnterDefault_value
EnterDefault_value is called when entering the default_value production.
cmd/atlas/internal/sqlparse/sqliteparse/parser_listener.go:242
↓ 1 callersMethodEnterDelete_stmt
EnterDelete_stmt is called when entering the delete_stmt production.
cmd/atlas/internal/sqlparse/sqliteparse/parser_listener.go:95
↓ 1 callersMethodEnterDelete_stmt_limited
EnterDelete_stmt_limited is called when entering the delete_stmt_limited production.
cmd/atlas/internal/sqlparse/sqliteparse/parser_listener.go:98
↓ 1 callersMethodEnterDetach_stmt
EnterDetach_stmt is called when entering the detach_stmt production.
cmd/atlas/internal/sqlparse/sqliteparse/parser_listener.go:101
↓ 1 callersMethodEnterDrop_stmt
EnterDrop_stmt is called when entering the drop_stmt production.
cmd/atlas/internal/sqlparse/sqliteparse/parser_listener.go:104
↓ 1 callersMethodEnterError_message
EnterError_message is called when entering the error_message production.
cmd/atlas/internal/sqlparse/sqliteparse/parser_listener.go:266
← previousnext →1,201–1,300 of 7,770, ranked by callers