public static function find($options = [])
    {
        $options = Set::extend(static::query(), $options);
        $schema = static::definition();
        return $schema->query(['query' => $options] + ['finders' => static::finders()]);
    }
public static function find($options = [])
    {
        $options = Set::extend(static::query(), $options);
        $schema = static::definition();
        return $schema->query(['query' => $options] + ['finders' => static::finders()]);
    }
public static function find ( $ options = [ ] ) { $ options = Set :: extend ( static :: query ( ) , $ options ) ; $ schema = static :: definition ( ) ; return $ schema -> query ( [ 'query' => $ options ] + [ 'finders' => static :: finders ( ) ] ) ; }
Finds a record by its primary key.

@param  array  $options Options for the query.
-`'conditions'` : The conditions array.
- other options depend on the ones supported by the query instance.

@return object          An instance of `Query`.
Finds a record by its primary key .