Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/auser/sqlex

Extract sql from a dump (mysql)
https://github.com/auser/sqlex

Last synced: 4 months ago
JSON representation

Extract sql from a dump (mysql)

Awesome Lists containing this project

README

        

# 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:

```bash
sqlex --sql-file ./schema_dump.sql
```

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

## Installation

### Homebrew

```bash
brew install sqlex
```

Or via homebrew tap:

```bash
brew tap auser/homebrew-tap
brew install sqlex
```

### Cargo

```bash
cargo install sqlex
```

## Example

```bash
sqlex --sql-file ./schema_dump.sql
```