saveDatabase#
- swordfish.function.saveDatabase()#
Save a database handle. It must be executed by a logged-in user. It is used with the database function.
After we create a database for the first time, we can save the database with the command saveDatabase. If the database location is a folder that already contains DolphinDB table related files, then function database reopens a previously created database, and there is no need to use the saveDatabase command to save it.
- Parameters:
a (Constant) – A DolphinDB database handle.