Skip to content

Conversation

@reeslo
Copy link

@reeslo reeslo commented Nov 17, 2020

Actually fetched records are sorted by newest to oldest.

Chargebee send records previously deleted, so to prevent data from being overwritten by deleted records (or other hazardous cases) its better fetch them by adding sort_by[asc] set with REPLICATION_KEY (updated_at, created_at, occured_at...)

This PR is like the same than an older PR not merged with conflict : #11

@cmerrick
Copy link

Hi @reeslo, thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes.

@cmerrick
Copy link

You did it @reeslo!

Thank you for signing the Singer Contribution License Agreement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants