Skip to content

Support to load *.sql file #1104

@karrybit

Description

@karrybit

Is it possible to load external SQL files just like JSON or YAML using something like sql://? This feature is helpful for us in the following cases when setting up test data.

  • We want to avoid unique constraints in the DB using randomly generated values
  • We want to use the generated tenant ID in SQL to operate on the same tenant in different steps

I would greatly appreciate your consideration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions