to_key()
public

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