upsert

abstract suspend fun upsert(name: String, points: List<PointStruct>, wait: Boolean)

Upsert points (PUT /collections/{name}/points). Implementations are responsible for any transport-specific batching (e.g. the REST engine splits points to stay under the 32 MiB payload cap). wait maps to ?wait=.


abstract suspend fun upsert(name: String, points: Flow<PointStruct>, wait: Boolean)

Upsert points streamed from a Flow, chunked by the engine's batch size (PUT /collections/{name}/points).