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

Importing arrays of ref #44

Open
victormithouard opened this issue Jun 21, 2021 · 0 comments
Open

Importing arrays of ref #44

victormithouard opened this issue Jun 21, 2021 · 0 comments

Comments

@victormithouard
Copy link

Hi

We are looking to import csv with arrays of refs, is there a way to do this with the importer?

Examples code with a ref to another file - ref is currently a single ref but we have records which have multiple refs.

data/test1.csv:
  class: test1
  fields:
    - name: id
      type: ref

    - name: name
      type: string

  ignoredFields:
    - id

data/test2.csv:
  class: test2
  fields:
    - name: user_id
      type: ref(test1) # We would like this to be an array of brands

Thank you in advance!

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

No branches or pull requests

1 participant