⚠ 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 forum is read-only and soon will be archived. ⚠

set_relation including where statement

set_relation where implementation missing

  • Please log in to reply
No replies to this topic

#1 noplan



  • Members
  • Pip
  • 4 posts

Posted 18 March 2019 - 10:44 PM

Hi there,


yesterday I described in this forum under the "I have a querstion" topic (see https://www.groceryc...here-parameter/)  the problem I face when trying to use the set_relation function with the $where parameter. Today I'm not sure if it's already implemented because in Grocery_CRUD.php (v1.6.2) the 4th ($where) and 5th ($order_by) parameters are not used for setting up the select statement (as far as I can see with my limited php knowledge).

protected function get_total_results()
			foreach($this->relation as $relation)


		return $this->basic_model->get_total_results();

Is it correct?





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users