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

Method overwriteTableBatch

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

Source from the content-addressed store, hash-verified

119}
120
121func (c *Client) overwriteTableBatch(ctx context.Context, msgs message.WriteInserts) error {
122 return c.writeResources(ctx, true, msgs[0].GetTable(), msgs)
123}
124
125func (c *Client) Write(ctx context.Context, res <-chan message.WriteMessage) error {
126 if err := c.writer.Write(ctx, res); err != nil {

Callers 1

WriteTableBatchMethod · 0.95

Calls 1

writeResourcesMethod · 0.95

Tested by

no test coverage detected