Jump to content


where

where

  • Please log in to reply
1 reply to this topic

#1 tanvir_csesus

tanvir_csesus

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 19 May 2012 - 12:35 PM

I have 2 tables.
1.Login: id , user_type , name
2.agent: id, login_id

I have used relation for these two tables.A drop down is created containing all names of login table.Now I want to use where clause for login table.How can I do this?


Thanks
Tanvir

#2 web-johnny

web-johnny

    grocery CRUD Author

  • Administrators
  • 1,150 posts
  • LocationLondon

Posted 19 May 2012 - 04:27 PM

You can add a 4th parameter at the set_relation. You can see an example at: http://www.grocerycr...ns/set_relation (it is the last example)
Posted Image





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users