original_string: public function query($sql)
      {
          return $this->getDisconnectRetry()->run(function () use ($sql) {
              $statement = $this->prepare($sql);
              $statement->execute();
  
              return $statement;
          });
      }
code: public function query($sql)
      {
          return $this->getDisconnectRetry()->run(function () use ($sql) {
              $statement = $this->prepare($sql);
              $statement->execute();
  
              return $statement;
          });
      }
code_tokens: public function query ( $ sql ) { return $ this -> getDisconnectRetry ( ) -> run ( function ( ) use ( $ sql ) { $ statement = $ this -> prepare ( $ sql ) ; $ statement -> execute ( ) ; return $ statement ; } ) ; }
docstring: Executes a SQL statement and returns the Statement object as result.
  
  @param string $sql The SQL query to execute.
  @return \Cake\Database\StatementInterface
docstring_tokens: Executes a SQL statement and returns the Statement object as result .