#extract #sql-query #dump #mysql #table #postgresql #run

bin+lib sqlex

A tool to extract tables from a sql dump and run sql queries on them

1 unstable release

0.1.0 Jun 28, 2024

#2271 in Database interfaces

MIT license

11KB
194 lines

Sqlex

When you really wanna have a fast extraction from the tables in your database from your database dump... sqlex will help ya out.

Quickstart

Create a sql dump from postgres or mysql and then run the following command:

sqlex extract --sql-file ./schema_dump.sql

This will output a json file with the schema of the database and run sqlex.

Dependencies

~2–3MB
~61K SLoC