Documentation ¶
Index ¶
- Constants
- func BatchMutate[T comparable](ctx context.Context, session spannerSession.ISession, inputs []T, ...) error
- func ExecuteAndCheckEffectRowOverZero(txn *spanner.ReadWriteTransaction, ctx context.Context, stmt spanner.Statement) error
- func FetchSpannerTagValue(input interface{}, ignoreZero bool, createdTimeKeyWord string) (Columns, Placeholders, Parameters)
- func GetIteratorFirstRow(iter ISpannerRowIterator, entity interface{}) error
- func ValidListArgument(row, page uint64) error
- type Columns
- type ISpannerRowIterator
- type Parameters
- type Placeholders
Constants ¶
View Source
const ( MaxMutations = 20000 MaxPartition = 32 )
Variables ¶
This section is empty.
Functions ¶
func BatchMutate ¶
func BatchMutate[T comparable]( ctx context.Context, session spannerSession.ISession, inputs []T, inputTable string, inputColumns []string, ) error
func FetchSpannerTagValue ¶
func FetchSpannerTagValue(input interface{}, ignoreZero bool, createdTimeKeyWord string) (Columns, Placeholders, Parameters)
func GetIteratorFirstRow ¶
func GetIteratorFirstRow(iter ISpannerRowIterator, entity interface{}) error
GetIteratorFirstRow func entity must use reference
func ValidListArgument ¶ added in v0.0.6
Types ¶
type ISpannerRowIterator ¶
type Parameters ¶
type Parameters map[string]interface{}
type Placeholders ¶
type Placeholders []string
func (Placeholders) String ¶
func (p Placeholders) String() string
Click to show internal directories.
Click to hide internal directories.