Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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)
- Host: GitHub
- URL: https://github.com/auser/sqlex
- Owner: auser
- Created: 2024-06-28T09:51:48.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-07-17T21:51:37.000Z (6 months ago)
- Last Synced: 2024-09-18T07:35:35.830Z (4 months ago)
- Language: Rust
- Size: 327 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```