Fix database storage function names

This commit is contained in:
Skylar Ittner 2026-01-07 22:19:54 -07:00
parent af50b961b7
commit 0928ad41a6

View File

@ -352,7 +352,7 @@ There are three key/value stores available in PostalPoint.
[localStorage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage) as a backend, [localStorage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage) as a backend,
but this may change in the future. but this may change in the future.
2. `setBig` and `getBig` store the data to disk as a JSON file. 2. `setBig` and `getBig` store the data to disk as a JSON file.
3. `setDatabase` and `getDatabase` store the data in the PostalPoint database, making stored data 3. `setDB` and `getDB` store the data in the PostalPoint database, making stored data
available on the network to other PostalPoint installations. Depending on the backend in use, data available on the network to other PostalPoint installations. Depending on the backend in use, data
is stored either as a SQLite TEXT column or a MariaDB/MySQL LONGTEXT. is stored either as a SQLite TEXT column or a MariaDB/MySQL LONGTEXT.
@ -373,8 +373,8 @@ Behavior if the host machine is out of disk space or has a drive failure is unde
* `setBig(key, value)` * `setBig(key, value)`
* `getSmall(key, defaultValue)` * `getSmall(key, defaultValue)`
* `setSmall(key, value)` * `setSmall(key, value)`
* `async getDatabase(key, defaultValue)` * `async getDB(key, defaultValue)`
* `async setDatabase(key, value)` * `async setDB(key, value)`
#### Shipping and Rates #### Shipping and Rates