src/Database/Model.php
public static function find($find, $value = null)
    {
        if ($value === null) {
            $value = $find;
            $find = static::$_primaryKey;
        }

        return static::select()->where("{$find} = ?", $value)->fetch();
    }
public static function find($find, $value = null)
    {
        if ($value === null) {
            $value = $find;
            $find = static::$_primaryKey;
        }

        return static::select()->where("{$find} = ?", $value)->fetch();
    }
public static function find ( $ find , $ value = null ) { if ( $ value === null ) { $ value = $ find ; $ find = static :: $ _primaryKey ; } return static :: select ( ) -> where ( "{$find} = ?" , $ value ) -> fetch ( ) ; }
Returns the first found row.

@return object
Returns the first found row .