MCPcopy Index your code
hub / github.com/cloudquery/cloudquery / appendTableBatch

Method appendTableBatch

plugins/destination/mysql/client/write.go:117–119  ·  view source on GitHub ↗
(ctx context.Context, resources message.WriteInserts)

Source from the content-addressed store, hash-verified

115}
116
117func (c *Client) appendTableBatch(ctx context.Context, resources message.WriteInserts) error {
118 return c.writeResources(ctx, false, resources[0].GetTable(), resources)
119}
120
121func (c *Client) overwriteTableBatch(ctx context.Context, msgs message.WriteInserts) error {
122 return c.writeResources(ctx, true, msgs[0].GetTable(), msgs)

Callers 1

WriteTableBatchMethod · 0.95

Calls 1

writeResourcesMethod · 0.95

Tested by

no test coverage detected