Script that generates Fauna Queries from MySQL queries.
- Clone the repo to your local and install dependencies.
git clone [email protected]:antstackio/sql-to-fauna-query-converter.git
cd sql-to-fauna-query-converter
npm i
- Add your SQL files into
input
directory and run the script using node.
node index.js
- Fauna equivalent of the input SQL file will be created in the output directory. You can copy and paste them into Fauna Shell on their dashboard.
- The Insert queries have columns specified along with table names. The logc fails without it since script needs to identify column names for FQL.
- Currently it only generates create scripts in Fauna for provided SQL insert scripts.