lookup


Description:

public G lookup (int? default_id, ...) throws SearchError

Perform lookup on entity based on primary keys. Returns null if row is not found.

Parameters:

default_id If there is one primary key that is an int value, use this field to do a quick lookup, otherwise, place a null here.
varargs key_name: value... Variable list corresponding to primary keys, like ( primary_key_name: value )

Returns:

Entity