MCPcopy Create free account
hub / github.com/cloudspannerecosystem/spanner-cli / DatabasePath

Method DatabasePath

session.go:321–323  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

319}
320
321func (s *Session) DatabasePath() string {
322 return fmt.Sprintf("projects/%s/instances/%s/databases/%s", s.projectId, s.instanceId, s.databaseId)
323}
324
325func (s *Session) InstancePath() string {
326 return fmt.Sprintf("projects/%s/instances/%s", s.projectId, s.instanceId)

Callers 3

RecreateClientMethod · 0.95
executeDdlStatementsFunction · 0.80
ExecuteMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected