dragonfly/docs/basic/README.md
Jacob Schmidt c8d81ba3bb
All checks were successful
Build / Build (push) Successful in 39s
docs: Update README.md with detailed documentation
This commit significantly enhances the `README.md` file, providing comprehensive documentation for the ArmaDragonflyClient.

Key changes:

*   **Detailed Function Categories:** Categorized functions for better organization (Core, Basic Data Operations, Hash Operations, List Operations).
*   **Usage Examples:** Added clear and concise usage examples for basic operations, hash operations (context and ID-specific), and list operations.
*   **Function Documentation Structure:** Outlined the structure for individual function documentation.
*   **License Information:** Updated the license information.
2025-03-30 17:15:35 -05:00

33 lines
858 B
Markdown

# Basic Data Operations
This section contains documentation for the basic data operations of ArmaDragonflyClient that allow for simple key-value storage and retrieval.
## Available Functions
- [delete](delete.md) - Delete a value from the database
- [fetch](fetch.md) - Fetch a value from the database
- [get](get.md) - Get a value from the database
- [save](save.md) - Save the database to disk
- [set](set.md) - Set a value in the database
## Example Usage
```sqf
// Set a value
["myKey", [myValue]] call dragonfly_db_fnc_set;
// Get a value
["myKey", "myFunction"] call dragonfly_db_fnc_get;
// Delete a key
["myKey"] call dragonfly_db_fnc_delete;
// Save database to disk
[] call dragonfly_db_fnc_save;
```
## Related Categories
- [Core Functions](../core/README.md)
- [Hash Operations](../hash/README.md)
- [List Operations](../list/README.md)