Documentation
¶
Index ¶
Constants ¶
View Source
const (
BatchSize = 25
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) BatchCreate ¶
BatchCreate は item をまとめて挿入する NOTE: dynamoDB の仕様上、一度の挿入は25個まで
func (*Client) CreateBatchItems ¶
func (c *Client) CreateBatchItems(ents interface{}, table interface{}) ([]*dynamodb.TransactWriteItem, error)
CreateBatchItems は BatchCreate で使う item を用意する
Click to show internal directories.
Click to hide internal directories.