Skip to content

Minor Updates #2

@QuzarDC

Description

@QuzarDC

Thank you for this wonderful script. Below please find a patch that updates some functionality of it. I was working from a scripted create of a table in MSSQL 2014 and wanted to make sure to handle all those things. Some of it is hacky (-er than the original) but it seems to output the example the same way.

Added:

  • 'set' commands are interpreted as defines. (my use cases have them only for environmental vars, perhaps static const would be better?)
  • trim out 'constraint' tags on table creates
  • deal with 'Identity ( )' on column defines

Additionally, I'm throwing in the note that to function with the newest doxygen (1.8) it is necessary to add "EXTENSION_MAPPING = sql=C++" to your config. Tracking this down took quite a bit of time as I'd not used doxygen plugins before.

sql2doxygen_patch.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions