Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom counters for the import #7

Open
H3nSte1n opened this issue Apr 4, 2022 · 0 comments
Open

Custom counters for the import #7

H3nSte1n opened this issue Apr 4, 2022 · 0 comments

Comments

@H3nSte1n
Copy link
Contributor

H3nSte1n commented Apr 4, 2022

Description:
At the moment there is only one counter. When a record has been successfully processed, the counter should be increased by one. There are more and more use cases where we need two or more counters.

Task
Add an option to define custom counters.
It could be used like add_counter :skips, :inserts, :shops.
=> After that you can use the increment_skips method to increment the skips counter.
=> different counter should be stored in meta
=> each counter will be resetted on every run

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

No branches or pull requests

1 participant