Skip to content

orm_errno

imshooter edited this page Dec 1, 2026 · 2 revisions

The outcome of the last orm_select of an ORM.

native E_ORM_ERROR:orm_errno(ORM:id);

With open.mp names, from the same include:

native E_ORM_ERROR:ORM_GetError(ORM:id);

Parameters

Parameter Description
ORM:id The ORM.

Returns

  • ERROR_OK when a row was read, or the last query was no select.
  • ERROR_NO_DATA when no row has the key.
  • ERROR_INVALID when the ORM 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