Function
hasCreateViews
(diff *schema.MetadataDiff)
Source from the content-addressed store, hash-verified
| 1467 | } |
| 1468 | |
| 1469 | func hasCreateViews(diff *schema.MetadataDiff) bool { |
| 1470 | for _, viewDiff := range diff.ViewChanges { |
| 1471 | if viewDiff.Action == schema.MetadataDiffActionCreate || viewDiff.Action == schema.MetadataDiffActionAlter { |
| 1472 | return true |
| 1473 | } |
| 1474 | } |
| 1475 | return false |
| 1476 | } |
| 1477 | |
| 1478 | func hasCreateFunctions(diff *schema.MetadataDiff) bool { |
| 1479 | for _, funcDiff := range diff.FunctionChanges { |
Tested by
no test coverage detected