static public function find($id)
    {
        $model = new static;
        $result = $model->execute('SELECT * FROM '.$model->table.' WHERE '.$model->key.' = ?', [$id]);
        if (is_array($result)) {
            $result = current($result);
        }
        return $result;
    }
static public function find($id)
    {
        $model = new static;
        $result = $model->execute('SELECT * FROM '.$model->table.' WHERE '.$model->key.' = ?', [$id]);
        if (is_array($result)) {
            $result = current($result);
        }
        return $result;
    }
static public function find ( $ id ) { $ model = new static ; $ result = $ model -> execute ( 'SELECT * FROM ' . $ model -> table . ' WHERE ' . $ model -> key . ' = ?' , [ $ id ] ) ; if ( is_array ( $ result ) ) { $ result = current ( $ result ) ; } return $ result ; }
Find record by pk
@param $id
@return array|mixed
Find record by pk