Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database struct {
// contains filtered or unexported fields
}
func NewDatabase ¶
func NewDatabaseFromClient ¶
func NewDatabaseFromClient(client *spanner.Client, databaseID *DatabaseID) *Database
func (*Database) DatabaseID ¶
func (database *Database) DatabaseID() *DatabaseID
type DatabaseID ¶
type DatabaseID struct {
// contains filtered or unexported fields
}
func NewDatabaseID ¶
func NewDatabaseID(projectID string, instanceID string, databaseName string) *DatabaseID
func (*DatabaseID) DatabaseName ¶
func (databaseID *DatabaseID) DatabaseName() string
func (*DatabaseID) ID ¶
func (databaseID *DatabaseID) ID() string
func (*DatabaseID) InstanceID ¶
func (databaseID *DatabaseID) InstanceID() string
func (*DatabaseID) ProjectID ¶
func (databaseID *DatabaseID) ProjectID() string
Click to show internal directories.
Click to hide internal directories.