| Syntax |
|
| Documentation | Function createDataBase creates a new database and assigns it to the current branch:
If no id is specified the database will be assigned to the current branch, the branch whos id is returned by calling $getCurrent{b}. |
| Examples | |
If the current banch has no database create one:
$//The current branch has already a database $//Trying to create another would cause an exception to be thrown } { $//Create it $createDataBase{} $//The same as $createDataBase{$getCurrent{b}} } |
|
| Group | SQL |
| Minimum required transaction-mode: | UPDATE=SQL_INTERNAL |
| Required scripting permission of the developer | PERMISSION_FL_ADMINISTRATIVE |
| Minimum parameters | 0 |
| Maximum parameters | 1 |