MCPcopy Create free account
hub / github.com/bytebase/bytebase / CompareView

Method CompareView

backend/plugin/schema/view_comparer.go:62–62  ·  view source on GitHub ↗

CompareView compares two views and returns the detected changes.

(oldView, newView *storepb.ViewMetadata)

Source from the content-addressed store, hash-verified

60type ViewComparer interface {
61 // CompareView compares two views and returns the detected changes.
62 CompareView(oldView, newView *storepb.ViewMetadata) ([]ViewChange, error)
63
64 // CompareMaterializedView compares two materialized views and returns the detected changes.
65 CompareMaterializedView(oldMV, newMV *storepb.MaterializedViewMetadata) ([]MaterializedViewChange, error)

Callers 1

compareViewsFunction · 0.65

Implementers 1

DefaultViewComparerbackend/plugin/schema/view_comparer.go

Calls

no outgoing calls

Tested by

no test coverage detected