(pred string)
| 36 | } |
| 37 | |
| 38 | func dropPredicate(pred string) { |
| 39 | err := client.Alter(context.Background(), &api.Operation{ |
| 40 | DropAttr: pred, |
| 41 | }) |
| 42 | if err != nil { |
| 43 | panic(fmt.Sprintf("Could not drop predicate. Got error %v", err.Error())) |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | func processQuery(ctx context.Context, t *testing.T, query string) (string, error) { |
| 48 | txn := client.NewTxn() |
no test coverage detected