-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Closed
Description
Summary
It'd be awesome to be able to (at build time!) inject content from a SQL database, just like we do for other source types, e.g. filesystem, Contentful, etc.
Motivation
- People may have useful data stored away in SQL that could be exposed to enable helpful things, e.g. documentation, useful data, etc.
- The plugin will need to connect to a SQL database, and then pre-load queries (e.g. pass the SQL queries directly to the plugin?)
Further Detail
The general idea is that the source plugin will need to be able to connect to a SQL database (MySQL, MSSQL, ... ?; happy to start small and grow it in the future!) and query that data to inject into the GraphQL content layer for further processing via Gatsby.
Consider mysql, mssql for various means to inject data
See other source plugins for more info on how to build this out, e.g. gatsby-source-contentful, gatsby-source-wordpress, etc.
Metadata
Metadata
Assignees
Labels
No labels