code: public function query($sql, $arguments = false)
      {
          if (!$stmt = $this->getStatement($sql, $arguments)) {
              // Something went wrong executing the SQL statement
              return false;
          } else {
              return $stmt;
          }
      }
docs: Query the table
  
  @param      $sql
  @param bool $arguments
  
  @return bool|\PDOStatement