package
0.15.0
Repository: https://github.com/viant/sqlx.git
Documentation: pkg.go.dev

# README

Batcher

Batcher service batches individual client insert calls, into centralized bulk insert.

Client1: INSERT INTO X
Client2: INSERT INTO X     ->  Batch(by time or max elements) -> Execute BULK INSERT (updated autoincrement back to clients)

ClientN: INSERT INTO X

Motivation

Usage

# Functions

New creates a batcher service.
NewBatch creates a new batch.
NewCollection creates a new collection.

# Structs

No description provided by the author
Collection represents slice to collecting data.
Config represents batcher's config.
Service represents batcher service.
No description provided by the author