GetDatabaseSchemas implements the interface doltdb.RootValue.
(ctx context.Context)
| 337 | |
| 338 | // GetDatabaseSchemas implements the interface doltdb.RootValue. |
| 339 | func (root *RootValue) GetDatabaseSchemas(ctx context.Context) ([]schema.DatabaseSchema, error) { |
| 340 | existingSchemas, err := root.st.GetSchemas(ctx) |
| 341 | if err != nil { |
| 342 | return nil, err |
| 343 | } |
| 344 | |
| 345 | return existingSchemas, nil |
| 346 | } |
| 347 | |
| 348 | // GetFeatureVersion implements the interface doltdb.RootValue. |
| 349 | func (root *RootValue) GetFeatureVersion(ctx context.Context) (ver doltdb.FeatureVersion, ok bool, err error) { |
no test coverage detected