Temporal data

Keeping every version of a record that was valid for a period, and reading the one that held at a given moment — the assignment somebody had on the first of March, not the one they have now — without the application filtering time slices by hand.

Overview

SAP SHIPS
Node.js →

@sap/cds Serves an entity annotated @cds.valid.from/to as time slices behind a timeless key: as of now by default, at a moment with sap-valid-at, and the history since a date with sap-valid-from.

Not covered: At the read. Writing a time slice is a custom handler of the application's own, SQLite serves no time-travel or time-period query because it has no session variables, and a time-period query that expands across two temporal entities needs care the guide spells out. The guide names neither runtime, so which flavor serves it is what the artifacts state and no more. Nothing outside the core is mapped here yet.

Built into @sap/cds
SourceTemporal Data — capirechecked
THE COMMUNITY ADDS

No community artifact is documented here.

Artifacts1

1 of 1 artifacts
ArtifactSignals
Packages1
@sap/cdsCAP Node.js runtime
Signals
none

Content1

Group by
Piece, what it offers
My CAP Projects Toolbox
SAP Community, vvdries, Blog

Details

Coverage
statecore only, CAP
assessed
SourceTemporal Data — capirechecked SourceTemporal Data — capirechecked SourceTemporal Data — capirechecked SourceTemporal Data — capirechecked SourceTemporal Data — capirechecked SourceTemporal Data — capirechecked SourceTemporal Data — capirechecked SourceTemporal Data — capirechecked
For your agent
Ref
capability:temporal-data
JSON
/capabilities/temporal-data.json
MCP
Connecting an agent