Q:

CakePHP, selecting MySQL records by one or more Ids

I want to select MySQL records based on a list of Ids thats called from:
$ids = $this->params['url']['ids']

Where ids is one or more Ids, seperated by comma.   I know I could use explode to get the Ids in an array:
$id = explode(",", $ids);

I know to the basic code of calling by Id is:
$row = $this->Model->find('all',
       array(
              'conditions' => array(
                   'id' => $id['0'],
              ),
              'fields' => array(
                   'id',
                   'name'
              )
       ));

My question is how can I select using multiple Ids without knowing the AMOUNT of ids I have before hand?   I.e. 1 Id, or 3 ids, or 5 etc. 

A:

It seems like this should work with 'id' => $id.  That is, pass in an array of IDs to search to use an IN clause.