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.
Syntax
record(table, number)
Return
nid
Examples
Result: The record with ID 666 will be returned from the Customers table.
See also
duplicate
, which creates a duplicate of a given record.
Last updated