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

Filter out records to be copied to destination table #21

Closed
wants to merge 3 commits into from

Conversation

Yashko
Copy link

@Yashko Yashko commented Jun 18, 2019

This PR will add optional param filter to the options object.
If this param will contain something, main copy function will not copy all of the records inside in source table, but only records which fits into filter rule.

Example:

dynamodbCopyTable({
  config: awsConfig,
  source: {
    tableName: 'one',
  },
  destination: {
    tableName: 'two',
  },
  filter: {
    sample: 'text',
    temporary: false
  }
}, callback)

@Yashko Yashko changed the title Filter out values to be copied Filter out records to be copied Jun 18, 2019
@Yashko Yashko changed the title Filter out records to be copied Filter out records to be copied to destionation table Jun 18, 2019
@Yashko Yashko changed the title Filter out records to be copied to destionation table Filter out records to be copied to destination table Jun 18, 2019
@enGMzizo
Copy link
Owner

I will close this pull request because I will implement this filter / mapping function in the future version.

@enGMzizo enGMzizo closed this Feb 29, 2020
@enGMzizo
Copy link
Owner

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.

None yet

2 participants