We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After a successfull persisting only TRUE is returned. Wouldn't it be better to return ID or affected row instead?
The text was updated successfully, but these errors were encountered:
The entity itself is "polluted" during persistence.
$entity = new MyEntity; $entity->getID(); // NULL $repository->persist($entity); $entity->getID(); // 123
I think boolean is OK here. I certainly wouldn't like to have some scalar ID(s) as a return value.
Sorry, something went wrong.
I'm sorry. Haven't noticed this option from your source code. My fault.
Please close this issue if everything's fine.
No branches or pull requests
After a successfull persisting only TRUE is returned. Wouldn't it be better to return ID or affected row instead?
The text was updated successfully, but these errors were encountered: