title: ArmaRAMDb - Fetch icon: mdi:file-text-outline
Handles data chunks received from the database extension when data is too large to be returned in a single callback. This function collects all chunks of data, reassembles them in the correct order, and then passes the complete data to the handler function.
Parameter | Type | Description |
---|---|---|
_uniqueID | String | Unique identifier for this data fetch operation |
_function | String | Name of the function to call after data is assembled |
_index | Number | Current chunk index (0-based) |
_total | Number | Total number of chunks expected |
_datachunk | String | The chunk of data being received |
_call | Boolean | Whether to call the function directly (true) or spawn (false) |
_netId | String | (Optional) NetID of the player to whom the data belongs |
None. When all chunks are received, the function will:
This function is typically not called directly but is triggered by the extension's callback mechanism when large datasets are retrieved.
ramdb_db_fetch_array
ramdb_db_fnc_handler
: Receives the assembled data and routes it to the appropriate functionramdb_db_fnc_scheduler
: Manages the callback queue and triggers data fetching