Skip to content

UpdateKxDataview

Source: src/AWS/FinSpace/UpdateKxDataview.ts

Runtime binding for finspace:UpdateKxDataview — advances a dataview of a kdb database in the bound environment to a new changeset (or new segment configurations) — how ingestion pipelines roll fresh data out to readers. Provide the implementation with Effect.provide(AWS.FinSpace.UpdateKxDataviewHttp).

const updateDataview = yield* AWS.FinSpace.UpdateKxDataview(kdb);
yield* updateDataview({
databaseName: "ticks",
dataviewName: "latest",
changesetId,
clientToken: crypto.randomUUID(),
});