Method
Dump
Dump dumps the database.
(_ context.Context, out io.Writer, metadata *storepb.DatabaseSchemaMetadata)
Source from the content-addressed store, hash-verified
| 10 | |
| 11 | // Dump dumps the database. |
| 12 | func (*Driver) Dump(_ context.Context, out io.Writer, metadata *storepb.DatabaseSchemaMetadata) error { |
| 13 | text, err := schema.GetDatabaseDefinition(storepb.Engine_ORACLE, schema.GetDefinitionContext{}, metadata) |
| 14 | if err != nil { |
| 15 | return err |
| 16 | } |
| 17 | _, _ = out.Write([]byte(text)) |
| 18 | return nil |
| 19 | } |
Callers
nothing calls this directly
Implementers 15
Driverbackend/plugin/db/bigquery/bigquery.go Driverbackend/plugin/db/mongodb/mongodb.go Driverbackend/plugin/db/trino/trino.go Driverbackend/plugin/db/redshift/redshift.go Driverbackend/plugin/db/oracle/oracle.go Driverbackend/plugin/db/dynamodb/dynamodb.go Driverbackend/plugin/db/cosmosdb/cosmosdb.go Driverbackend/plugin/db/spanner/spanner.go Driverbackend/plugin/db/mssql/mssql.go Driverbackend/plugin/db/mysql/mysql.go Driverbackend/plugin/db/pg/pg.go
Tested by
no test coverage detected