Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NOT_LIKE is not present on the library... #105

Open
bytestriker opened this issue Dec 11, 2015 · 0 comments
Open

NOT_LIKE is not present on the library... #105

bytestriker opened this issue Dec 11, 2015 · 0 comments

Comments

@bytestriker
Copy link

I add the code...

private $not_like           = array();


public function not_like($key_condition, $val = NULL, $side = 'after')
{
  $this->not_like[] = array($key_condition, $val, $side);
  $this->ci->db->not_like($key_condition, $val, $side);
  return $this;
}



/**
* Get result count
*
* @return integer
*/
private function get_total_results($filtering = FALSE)
{
  foreach($this->not_like as $val)
    $this->ci->db->not_like($val[0], $val[1], $val[2]);

}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant