Update using Query Builder
You can create UPDATE
queries using QueryBuilder
. Examples:
This is the most efficient way in terms of performance to update entities in your database.
Raw SQL support
In some cases when you need to execute SQL queries you need to use function style value:
This syntax doesn't escape your values, you need to handle escape on your own.
Last updated