schemacrawler / SchemaCrawler

Free database schema discovery and comprehension tool
http://www.schemacrawler.com/
Other
1.6k stars 199 forks source link

Provide Current Database Name #230

Closed sualeh closed 5 years ago

sualeh commented 5 years ago

See https://github.com/adriens/schemacrawler-additional-command-lints-as-csv/issues/9

sualeh commented 5 years ago

Use schemacrawler.schema.DatabaseInfo.getServerInfo()

adriens commented 5 years ago

@sualeh , once in the lint, how should I get the schemacrawler instance, i mean in the

@Override
    public void execute()
            throws Exception {

I intend now to implement https://github.com/adriens/schemacrawler-additional-command-lints-as-csv/issues/9

Can you please provide a little code snippet ?

adriens commented 5 years ago

... I mean in a new custom command