HasRootObject implements the interface objinterface.Collection.
(ctx context.Context, identifier id.Id)
| 217 | |
| 218 | // HasRootObject implements the interface objinterface.Collection. |
| 219 | func (pgf *Collection) HasRootObject(ctx context.Context, identifier id.Id) (bool, error) { |
| 220 | if identifier.Section() != id.Section_Function { |
| 221 | return false, nil |
| 222 | } |
| 223 | return pgf.HasFunction(ctx, id.Function(identifier)), nil |
| 224 | } |
| 225 | |
| 226 | // IDToTableName implements the interface objinterface.Collection. |
| 227 | func (pgf *Collection) IDToTableName(identifier id.Id) doltdb.TableName { |
nothing calls this directly
no test coverage detected