Details
-
Type:
New Feature
-
Status:
Reopened
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.3
-
Fix Version/s: None
-
Component/s: None
-
Security Level: All
-
Labels:None
Description
With
$db = \Doctrine\DBAL\DriverManager::getConnection($connectionParams, $config);
$qb = $db->createQueryBuilder();
this QueryBuilder I'm able to do SELECT, UPDATE and DELETE. However, INSERT is not possible. Are there any good reasons for this?
Attached you find a patch that until now works fine for me. I don't know, however, if there are any side effects.
Here's the PR: https://github.com/doctrine/dbal/pull/184