original_string: public function executeInsert(EntityMetadata $metadata, array $toInsert)
      {
          return $this->createQueryBuilder($metadata)
              ->insert()
              ->setNewObj($toInsert)
              ->getQuery()
              ->execute()
          ;
      }
code: public function executeInsert(EntityMetadata $metadata, array $toInsert)
      {
          return $this->createQueryBuilder($metadata)
              ->insert()
              ->setNewObj($toInsert)
              ->getQuery()
              ->execute()
          ;
      }
code_tokens: public function executeInsert ( EntityMetadata $ metadata , array $ toInsert ) { return $ this -> createQueryBuilder ( $ metadata ) -> insert ( ) -> setNewObj ( $ toInsert ) -> getQuery ( ) -> execute ( ) ; }
docstring: Executes an insert for the provided metadata.
  
  @param   EntityMetadata  $metadata
  @param   array           $toInsert
  @return  array|bool
docstring_tokens: Executes an insert for the provided metadata .