record
To return a record of a table by a given ID
With this function, you can return a specific record by the table name and the unique record ID. If this record doesn't exist,
null
will be returned.record(table, number)
nid
1
record(Customers, 666)
Result: The record with ID 666 will be returned from the Customers table.
Last modified 1yr ago