original_string: public function insert($query, $bindings = [])
      {
          try {
              $this->statement($query, $bindings);
  
              return true;
          } catch (\Exception $e) {
              throw new InternalServerErrorException('Insert failed. ' . $e->getMessage());
          }
      }
code: public function insert($query, $bindings = [])
      {
          try {
              $this->statement($query, $bindings);
  
              return true;
          } catch (\Exception $e) {
              throw new InternalServerErrorException('Insert failed. ' . $e->getMessage());
          }
      }
code_tokens: public function insert ( $ query , $ bindings = [ ] ) { try { $ this -> statement ( $ query , $ bindings ) ; return true ; } catch ( \ Exception $ e ) { throw new InternalServerErrorException ( 'Insert failed. ' . $ e -> getMessage ( ) ) ; } }
docstring: Run an insert statement against the database.
  
  @param  string $query
  @param  array  $bindings
  
  @return bool
  @throws InternalServerErrorException
docstring_tokens: Run an insert statement against the database .