Repository navigation
cache_get_json_type
imshooter edited this page Nov 29, 2026
·
1 revision
The type of a value inside a JSON cell of the active cache.
A JSON cell is parsed the first time it is read. A key is a member of the top object, or a JSON Pointer when it starts with a slash, as /position/0. With the latin1 character set, keys and strings are in the code page of the game.
native E_MYSQL_JSON_TYPE:cache_get_json_type(row_idx, const column_name[], const key[] = "");With open.mp names, from the same include:
native E_MYSQL_JSON_TYPE:Cache_GetJSONType(row_idx, const column_name[], const key[] = "");| Parameter | Description |
|---|---|
row_idx |
The row, from 0. |
const column_name[] |
The name of the field. |
const key[] = "" |
The key, or "" for the whole cell. |
- The type.
-
MYSQL_JSON_NONEwhen the cell, the key or the JSON is missing.
mysql 0.6.0 · Repository · Releases · MIT License
Guides
- Installation
- Configuration
- Queries
- The cache
- JSON cells
- Prepared statements
- Transactions
- The ORM
- Passwords
- Errors
- TLS
- Coming from another plugin
- Performance
Reference
Functions
Connections
Queries
Cache
- cache_get_row_count
- cache_get_field_count
- cache_get_result_count
- cache_get_field_name
- cache_get_field_type
- cache_get_field_index
- cache_set_result
- cache_get_value_index
- cache_get_value_index_int
- cache_get_value_index_float
- cache_get_value_index_bool
- cache_is_value_index_null
- cache_get_value_name
- cache_get_value_name_int
- cache_get_value_name_float
- cache_get_value_name_bool
- cache_is_value_name_null
- cache_get_row
- cache_save
- cache_delete
- cache_set_active
- cache_unset_active
- cache_is_any_active
- cache_is_valid
- cache_affected_rows
- cache_insert_id
- cache_warning_count
- cache_get_query_exec_time
- cache_get_query_string
- cache_get_errno