Hi. I saw this piece of code in the docs:
$db->createCommand('INSERT INTO customer (name) VALUES (:name)', [
':name' => 'Qiang',
])->execute();
The ":" looks redundant when supplying the args.
This looks much cleaner to me:
$db->createCommand('INSERT INTO customer (name) VALUES (:name)', [
'name' => 'Qiang',
])->execute();