Skip to content

cache_insert_id

imshooter edited this page Dec 1, 2026 · 2 revisions

The value an AUTO_INCREMENT column took in the query of the active cache.

native cache_insert_id();

With open.mp names, from the same include:

native Cache_GetInsertID();

Returns

  • The value.
  • 0 when the query inserted no such value.
  • -1 when no cache is active.

Home

Guides

Reference

Functions

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

Clone this wiki locally