Acquiring the earliest change identifier
This feature has been released as a public beta in AuraDB Enterprise October Release and Neo4j Enterprise Edition 5.13 and breaking changes are likely to be introduced before it is made generally available (GA). |
The procedure cdc.earliest
is used to acquire a change identifier for the earliest available change.
cdc.earliest() :: (
id :: STRING? (1)
)
1 | A change identifier that refers to the earliest change available. |
Unlike change identifiers returned from cdc.query
or cdc.current
, this identifier does not refer to a specific change.
Instead, it dynamically points to the earliest transaction log entry that contains change data capture information, up to the latest time when enrichment was enabled.
Change identifiers are local to the database they are generated for, and cannot be used to query changes on another database. You should consider this when restoring a database from a backup, since the restored database is practically a new database. |
CALL cdc.earliest()
id |
---|
|
Rows: 1 |
Was this page helpful?