method

to_key

to_key()
public

Returns this record’s primary key value wrapped in an array if one is available.