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

feat: SQL DDL implementation #310

Merged
merged 9 commits into from
Dec 15, 2023
Merged

Conversation

carlbrugger
Copy link
Contributor

@carlbrugger carlbrugger commented Nov 7, 2023

Guide: FlatFilers/Guides#969

This PR introduces the @flatfile/plugin-convert-sql-ddl plugin to configure a Flatfile Space based on SQL DDL.

Basic Usage

listener.use(
  configureSpaceWithSqlDDL({
    workbooks: [
      {
        name: 'SQL DDL Generated Workbook',
        source: 'src/data/example.sql',
        sheets: [
          {
            name: 'Users',
            slug: 'user',
          },
          {
            name: 'Products',
            slug: 'products',
          },
          {
            name: 'Locations',
            slug: 'locations',
          },
        ],
      },
    ],
  })
)

Closes #297

@ashleygmulligan2
Copy link
Contributor

Will come back to this once Guide PR is ready to review alongside.

@carlbrugger carlbrugger marked this pull request as ready for review December 6, 2023 19:33
@carlbrugger carlbrugger self-assigned this Dec 13, 2023
@carlbrugger carlbrugger merged commit 5fecfa9 into main Dec 15, 2023
4 checks passed
@carlbrugger carlbrugger deleted the feat/sql-ddl-schema-implementation branch December 15, 2023 21:56
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.

@flatfile/plugin-convert-sql-ddl
3 participants