MCPcopy Index your code
hub / github.com/bytebase/bytebase / DatabaseMessage

Struct DatabaseMessage

backend/store/database.go:23–34  ·  view source on GitHub ↗

DatabaseMessage is the message for database.

Source from the content-addressed store, hash-verified

21
22// DatabaseMessage is the message for database.
23type DatabaseMessage struct {
24 ProjectID string
25 InstanceID string
26 DatabaseName string
27
28 EnvironmentID *string
29 EffectiveEnvironmentID *string
30
31 Deleted bool
32 Metadata *storepb.DatabaseMetadata
33 Engine storepb.Engine
34}
35
36func (d *DatabaseMessage) String() string {
37 return common.FormatDatabase(d.InstanceID, d.DatabaseName)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected