The following Java code snippets demonstrate how easy it is to run database commands, create collections, perform queries, etc. via the BaseX API:
* [[RunCommands]]: lists all databases, creates and drops database and index instances, lists all databases.