Documentation ¶
Index ¶
- func Get[T any](ctx context.Context, client Queryer, stmt spanner.Statement) ([]T, error)
- func GetSQL[T any](ctx context.Context, client Queryer, sql string) ([]T, error)
- func ReadColumn[T any](ctx context.Context, client Queryer, stmt spanner.Statement) (T, error)
- func ReadColumnSQL[T any](ctx context.Context, client Queryer, sql string) (T, error)
- type Queryer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadColumn ¶
ReadColumn will execute the stmt and return the first column
Types ¶
Click to show internal directories.
Click to hide internal directories.