Skip to content

Import related models without static foreign keys #69

Open
@rez0n

Description

@rez0n

Hi, I need to import two related sheets without static foreign in the database.
Referring to an example from the docs my "Question" sheet always needs to be appended to the database with auto-id and "Choice" rows need to be foreign to the Question using rel_id (but not write rel_id to the database, it is needed only for build relations during import.
As a result, the single Question unique field is id that created automatically by database auto increment.

image
image

Thanks for any suggestions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions