Skip to content
This repository has been archived by the owner on Sep 14, 2019. It is now read-only.

Use natural primary keys from the source data #87

Open
vrajmohan opened this issue Aug 15, 2016 · 0 comments
Open

Use natural primary keys from the source data #87

vrajmohan opened this issue Aug 15, 2016 · 0 comments

Comments

@vrajmohan
Copy link
Contributor

Currently, we always add a surrogate key to the source data and have that as the identifier for the resources in the API. However, there are cases where the source data will already have a natural primary key (e.g. state abbreviation for a data set on states). In such cases it would be better to use that as the identifier.

This can be implemented as a command line option to apify.

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

No branches or pull requests

1 participant