SchemaCrawler - Chain Example
Description
SchemaCrawler allows scripting with database metadata, using JavaScript. This example shows how to “chain” or run multiple SchemaCrawler commands.
How to Setup
- Make sure that SchemaCrawler is installed on your system
- Make sure that
schemacrawleris on your PATH
How to Run
- Make sure that java is on your PATH
- Start the test database server by following instructions in the
_testdb/README.htmlfile - Start a command shell in the chain example directory
- Run
chain.cmd chain.js(orchain.sh chain.json Unix)
How to Experiment
- Try modifying the JavaScript in the
chain.jsfile to run different SchemaCrawler commands.