# arraydbsave
## Syntax:
/arraydbsave **{array name}** **{database connect string}** **[db user]** **[db password]**
## Use Case:
Saves the named array to an SQLite database. It creates a table called `Array` with columns `ArrayName, singleDimension, RowNumber, ColumnNumber, ElementText` and stores all elements.
## Arguments:
- **{array name}**: The name of the array to save.
- **{database connect string}**: The SQLite connection string or file path. If just a filename, it's assumed to be SQLite (e.g. `Data Source=mydb.db`).
- **[db user]**: *(Optional)* Username if required.
- **[db password]**: *(Optional)* Password if required.
## Examples:
1. **/arraydbsave {Inventory} {inventory.db}**
## See Also:
arraydbread, array
