Aswathy S Aswathy S - 7 months ago 85
SQL Question

Update table using custom queries in Typo3 Extbase

I have a table named 'user'.I need to update the field 'email' .Is there any custom build queries for updating.I have only the uid of user.

I mean.. Is there any typo3 custom queries equivalent to

Update table 'user' set email = '' where uid = 1;


$query = $this->createQuery();
$query->equals('organization', $organization),
$query->contains('regions', $region)
return $query->execute();


Why don't you use

exec_UPDATEquery    (
    $no_quote_fields = false 

Please refer exec_UPDATEquery From TYPO3