Skip to content

orm_apply_cache

imshooter edited this page Nov 29, 2026 · 1 revision

Write a row of the active cache into the variables of an ORM, the key included, by the names of their fields.

native bool:orm_apply_cache(ORM:id, row_idx, result_idx = 0);

With open.mp names, from the same include:

native bool:ORM_ApplyCache(ORM:id, row_idx, result_idx = 0);

Parameters

Parameter Description
ORM:id The ORM.
row_idx The row, from 0.
result_idx = 0 The result, from 0.

Returns

  • true when it was written.
  • false when the ORM does not exist, no cache is active, or the row does not exist.

Home

Guides

Reference

Functions

Connections
Queries
Cache
JSON cells
ORM
Queries built in pieces
Prepared statements
Batches
Transactions
Passwords
Callbacks

Clone this wiki locally