Snippets tagged “doctrine-2”
2 snippets use this tag.
- Doctrine 2: Update query with query builderPHP
To update an entry in a database using Doctrine's query builder, you can use the update method of the QueryBuilder class.
- Is there a built-in way to get all of the changed/updated fields in a Doctrine 2 entity?PHP
Yes, Doctrine 2 provides a built-in way to get the changed fields in an entity.