Objects dependent on SQL
You can specify whether a DataBlade module
object depends upon your custom SQL or whether your custom SQL depends
on a DataBlade module
object. These dependencies determine the sequence of SQL commands
in the generated objects.sql script. BladeSmith
generates SQL in the following sequence:
- SQL commands to create objects upon which custom SQL commands depend
- Custom SQL commands
- SQL commands to create objects that depend upon custom SQL commands
The generated SQL scripts register dependencies when the DataBlade module is registered in a database.