Help on $this->db->distinct() in a model |
[eluser]Juan Velandia[/eluser]
Hello people. I would like to replace this model Code: function get_date_status() For something like Code: function get_date_status() But it doesn't seem to work, any ideas. Thanks in advance!
[eluser]Rok Biderman[/eluser]
The distinct in AR is passed without arguments, so it would look something like this: Code: $this->db->distinct(); If you need further explanation, try and read: http://ellislab.com/forums/viewthread/157238/ or try this: http://ellislab.com/forums/viewthread/57781/
|
Welcome Guest, Not a member yet? Register Sign In |