---
name: "parsediasql"
section: "1p"
platform: "linux"
package: "libparse-dia-sql-perl"
version: "0.31-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/parsediasql"
---

# parsediasql(1p)

## NAME

```
  parsediasql - Command-line interface to Parse::Dia::SQL
```

## SYNOPSIS

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

## OPTIONS

```
  file                   - Filename of Dia file
  db                     - Database type (e.g. 'db2')
  ignore_type_mismatch   - Allows foreign keys to have a different
                           type than the primary key it references,
                           if true. Default false.
  uml                    - Use UML interpretation of the diagram,
                           default is ERD interpretation.
  loglevel               - Log verbosity, valid values are
                           DEBUG|INFO|WARN|ERROR|FATAL|TRACE|ALL|OFF.
  backticks              - Use `backtick` notation (mysql-innodb only).
  htmlformat             - Optional custom format file (html only).
```

## DESCRIPTION

Dia is a diagram creation program for Linux, Unix and Windows released under the GPL license.

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

Parse::Dia::SQL converts Dia class diagrams into SQL.

## TODO

- •

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

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