Jacob Schmidt ee1dd91b7f
All checks were successful
Build / Build (push) Successful in 40s
feat: Add documentation for fetch function
This commit adds documentation for the `ramdb_db_fnc_fetch` function. The documentation explains the function's purpose, which is to handle data chunks received from the database extension when data is too large to be returned in a single callback. The documentation includes a title, icon, and excerpt for better readability and understanding.
2025-03-30 17:16:31 -05:00
..

Basic Data Operations

This section contains documentation for the basic data operations of ArmaRAMDb that allow for simple key-value storage and retrieval.

Available Functions

  • delete - Delete a value from the database
  • fetch - Fetch a value from the database
  • get - Get a value from the database
  • load - Load the database from disk
  • save - Save the database to disk
  • set - Set a value in the database

Example Usage

// Set a value
["myKey", [myValue]] call ramdb_db_fnc_set;

// Get a value
["myKey", "myFunction"] call ramdb_db_fnc_get;

// Delete a key
["myKey"] call ramdb_db_fnc_delete;

// Save database to disk
[] call ramdb_db_fnc_save;