src/Core.php
public static function simpleQuery($sql)
        {
            self::$sql_hits++;
            try {
                $res = self::getDBLink()->query($sql);
            } catch (PDOException $e) {
                throw new Exception($e->getMessage());
            }
            return $res;
        }
public static function simpleQuery($sql)
        {
            self::$sql_hits++;
            try {
                $res = self::getDBLink()->query($sql);
            } catch (PDOException $e) {
                throw new Exception($e->getMessage());
            }
            return $res;
        }
public static function simpleQuery ( $ sql ) { self :: $ sql_hits ++ ; try { $ res = self :: getDBLink ( ) -> query ( $ sql ) ; } catch ( PDOException $ e ) { throw new Exception ( $ e -> getMessage ( ) ) ; } return $ res ; }
returns a PDO resultset

@param string $sql
@return \PDOStatement
returns a PDO resultset