public function find(int $iId)
    {
        $oSelect = $this->oConnector->prepare('SELECT * FROM sked_events WHERE id = :id');
        if (!$oSelect->execute([':id' => $iId]))
            throw new \Exception(__METHOD__ . ' - ' . $oSelect->errorInfo()[2]);
        return $oSelect->fetch(\PDO::FETCH_ASSOC);
    }
public function find(int $iId)
    {
        $oSelect = $this->oConnector->prepare('SELECT * FROM sked_events WHERE id = :id');
        if (!$oSelect->execute([':id' => $iId]))
            throw new \Exception(__METHOD__ . ' - ' . $oSelect->errorInfo()[2]);
        return $oSelect->fetch(\PDO::FETCH_ASSOC);
    }
public function find ( int $ iId ) { $ oSelect = $ this -> oConnector -> prepare ( 'SELECT * FROM sked_events WHERE id = :id' ) ; if ( ! $ oSelect -> execute ( [ ':id' => $ iId ] ) ) throw new \ Exception ( __METHOD__ . ' - ' . $ oSelect -> errorInfo ( ) [ 2 ] ) ; return $ oSelect -> fetch ( \ PDO :: FETCH_ASSOC ) ; }
Retrieve an event from the database.

@param int $iId
@return array
Retrieve an event from the database .