Sets the connection instance to be used for executing and transforming this query
When called with a null argument, it will return the current connection instance.
public connection ( Cake\Datasource\ConnectionInterface | null $connection = null ) | ||
$connection | Cake\Datasource\ConnectionInterface | null | instance |