PARSEDIASQL(1p)

πŸ“¦
version 0.31 Β· 2 versions
  • 0.31 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 0.31 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

✨ NAME ✨

parsediasql β€” literally the command-line interface to Parse::Dia::SQL, bestie πŸ’…


🌸 SYNOPSIS 🌸

parsediasql [OPTIONS] --file FILE --db DB

That's the whole vibe right there. Give it a file, tell it which db, and it does the thing. πŸ¦‹


πŸŽ€ OPTIONS πŸŽ€

  • file β€” the filename of your Dia file πŸ“ (yes, the actual diagram, not a metaphor)
  • db β€” the database type you want, like 'db2' for example πŸ‘‘
  • ignore_type_mismatch β€” if this is true, it lets foreign keys have a different type than the primary key they reference. Default is false. So by default it will absolutely not let that slide, okay??
  • uml β€” use the UML interpretation of the diagram. Default is ERD interpretation. 🧚 pick your fighter
  • loglevel β€” how chatty the logs are. Valid values are DEBUG|INFO|WARN|ERROR|FATAL|TRACE|ALL|OFF. No in-between, those are the only ones, periodt.
  • backticks β€” use `backtick` notation, and this is mysql-innodb only 🫢 don't try it elsewhere
  • htmlformat β€” an optional custom format file, and it's html only πŸ“„βœ¨

πŸ’– DESCRIPTION πŸ’–

Dia is a diagram creation program for Linux, Unix and Windows, released under the GPL license. Iconic open source behaviour, we love to see it. 🌈

parsediasql is a Command-line interface to Parse::Dia::SQL.

And Parse::Dia::SQL converts Dia class diagrams into SQL. That's the whole plot, bestie β€” diagram goes in, SQL comes out. πŸ’€βœ¨


πŸ”₯ TODO πŸ”₯

  1. Add options that correspond to %param in Parse::Dia::SQL::new

not me reading the TODO list like it's a to-do list, because it is πŸ™ˆ


πŸ¦‹ SEE ALSO πŸ¦‹

  • Parse::Dia::SQL

πŸ‘‘ AUTHOR πŸ‘‘

Parse::Dia::SQL is based on tedia2sql by Tim Ellis and others. See the AUTHORS file for details. πŸ“š

Modified by Andreas Faafeng, "<aff at cpan.org>" for release on CPAN. πŸ’–


okay that's the whole page, you ate that πŸŽ€ this was documented with perl v5.36.0 and dated 2022-11-19, mwah, slay, go write some SQL bestie πŸ’…βœ¨