DropRootObject implements the interface objinterface.Collection.
(ctx context.Context, identifier id.Id)
| 169 | |
| 170 | // DropRootObject implements the interface objinterface.Collection. |
| 171 | func (pgf *Collection) DropRootObject(ctx context.Context, identifier id.Id) error { |
| 172 | if identifier.Section() != id.Section_Function { |
| 173 | return errors.Errorf(`function %s does not exist`, identifier.String()) |
| 174 | } |
| 175 | return pgf.DropFunction(ctx, id.Function(identifier)) |
| 176 | } |
| 177 | |
| 178 | // GetFieldType implements the interface objinterface.Collection. |
| 179 | func (pgf *Collection) GetFieldType(ctx context.Context, fieldName string) *pgtypes.DoltgresType { |
nothing calls this directly
no test coverage detected