1$data = [
2 'title' => $title,
3 'name' => $name,
4 'date' => $date,
5];
6
7$builder->where('id', $id);
8$builder->update($data);
9// Produces:
10//
11// UPDATE mytable
12// SET title = '{$title}', name = '{$name}', date = '{$date}'
13// WHERE id = $id
14