Skip to content

Commit

Permalink
docs: Reference get_starting_timestamp in incremental replication g…
Browse files Browse the repository at this point in the history
…uide (#2629)

* docs: Reference `get_starting_timestamp` in incremental replication guide

* Use correct paren

* Add comma
  • Loading branch information
edgarrmondragon authored Aug 28, 2024
1 parent 3de2b98 commit 0e2df68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/incremental_replication.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ class CommentsStream(RESTStream):

3. Last, we have to adapt the query to the remote system, in this example by adding a query parameter with the ISO timestamp.

The [`get_starting_timestamp`](singer_sdk.Stream.get_starting_timestamp) method and the related [`get_starting_replication_key_value`](singer_sdk.Stream.get_starting_replication_key_value) method, are provided by the SDK and return the last replication key value seen in the previous run. If the tap is run for the first time and the value for the `start_date` setting is null, the method will return `None`.

```{note}
- The SDK will throw an error if records come out of order when `is_sorted` is true.
Expand Down

0 comments on commit 0e2df68

Please sign in to comment.