doublemcz / dibi-orm

ORM Framework based on Dibi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Possibility to flush unmanaged entity

doublemcz opened this issue · comments

It should be possible to flush entity on persist.

From:

$user = new User();
$user->name = "John";
$databaseManager->persist($user);
$databaseManager->flush($user);

To

$user = new User();
$user->name = "John";
$databaseManager->flush($user);