sql2any

Crates.iosql2any
lib.rssql2any
version0.1.2
sourcesrc
created_at2023-08-22 03:58:07.780823
updated_at2023-08-22 03:58:07.780823
descriptionExport data from SQL databases in various formats
homepage
repository
max_upload_size
id950706
size85,195
Franco Lucchini (franklx)

documentation

README

sql2any

Export data from SQL databases in various formats.

Currently supported database drivers:

  • PostgreSQL (via SQLx);
  • MySQL (via SQLx);

Currently supported file formats:

  • XLSX (via rust_xlsxwriter);
  • JSON (via serde);
  • GFM tables;

Development is in very early stage but could be useful for quick database export in XLSX and for embedding tables in markdown docs.

Planned file formats support:

  • CSV;
  • SQL "INSERT INTO";
  • SQL "LOAD DATA INFILE" / "COPY FROM";
  • Bincode;
  • Apache Arrow IPC;

Planned database driver support:

  • SQLite (via SQLx);
  • PostgreSQL (via tokio-postgres);
  • MySQL (via mysql_async);
  • MSSQL (via tiberius);

TODO

  • GFM: column alignment;
  • Limit useless string allocaations (via Cow / flexstr);
  • Use rayon to improve speed;
  • Custom formats via options (especially for xlsx/gfm);
Commit count: 0

cargo fmt