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
Result: The record with ID 666 will be returned from the Customers table.
duplicate
, which creates a duplicate of a given record.