Database Update examples An update query changes data in an existing database table. Here’s an example of an update query in Drupal 10 Drupal Support Drupal 10 Database API Update Code Example