⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

where_in in set_relation()



fredconv
  • profile picture
  • Member

Posted 09 October 2012 - 12:51 PM

Hi

Is there a way to transform something like this :

$crud->set_relation('gf_analystid', 'tbr_people', 'people_name',array('people_profileid' => 'ana'));

into this

$crud->set_relation('gf_analystid', 'tbr_people', 'people_name',array('people_profileid' => 'ana,bus'));


something like a "where_in" for a set relation ?

thanks