Documentation ¶
Overview ¶
Simulate updates by adding test data to a Spanner database
Index ¶
Constants ¶
View Source
const ( NOT_FOUND = -1 SPANNER_ERROR = -2 )
Variables ¶
This section is empty.
Functions ¶
func AddAllNoTxn ¶
func AddAllNoTxn(ctx context.Context, client *spanner.Client, firstName, lastName, albumTitle string) (*int64, error)
Adds a singer and album first checking for the existence of the singer but not in the same transaction. Returns: The id of the singer, either existing or newly created
Types ¶
Click to show internal directories.
Click to hide internal directories.