MCPcopy Create free account
hub / github.com/bytebase/bytebase / firstKey

Function firstKey

backend/plugin/parser/mysql/backup.go:468–473  ·  view source on GitHub ↗
(m map[string]*TableReference)

Source from the content-addressed store, hash-verified

466}
467
468func firstKey(m map[string]*TableReference) string {
469 for k := range m {
470 return k
471 }
472 return ""
473}
474
475func generateSQL(ctx context.Context, tCtx base.TransformContext, statementInfoList []StatementInfo, databaseName string, tablePrefix string) ([]base.BackupStatement, error) {
476 groupByTable := make(map[string][]StatementInfo)

Callers 1

extractTablesFromDeleteFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected