In addition to Delia statements, there are some REPL commands:
Some commands have a short form. “c myproject.txt” is equivalent to “continue myproject.txt”
Command | Short Form | Description |
---|---|---|
continue path | c path | execute a Delia source file as part of the current session. The source file must not contain any ‘type’ statements. |
db log on/off | enable/disable logging of SQL statements. For example “db log on” | |
db table delete tableName | delete a database table | |
db table list | ldb | display a list of all the tables in the database |
load path | load a Delia source file, but only the type statements. | |
migration generate | mg | calculate the difference between the Delia types in the current session and the databse schema. Display a list of steps to migrate the database schema. |
migration run | mr | run the migration plan produced in ‘migration generate’. |
migration run path | mr | run the migration plan in the given text file. |
list types | lt | display a list of the Delia types in the current session. |
list vars | lv | display a list of the Delia variable in the current session. |
run path | r path | create a session by executing a Delia source file. |
status | display a summary of the current session. |