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

where_not_in issue #18

Open
balaphp opened this issue Sep 30, 2013 · 3 comments
Open

where_not_in issue #18

balaphp opened this issue Sep 30, 2013 · 3 comments

Comments

@balaphp
Copy link

balaphp commented Sep 30, 2013

I got an error when i used where not in function:

A PHP Error was encountered
Severity: Warning
Message: Illegal string offset '$nin'
Filename: cimongo/Cimongo.php
Line Number: 177

Solution: i changed the line no 177
$this->wheres[$field]['$nin'] = $in;
to
$this->wheres[$field] = array('$nin'=>$in);

Then the issue has been re-solved.
i am posting this because i want know it is right or not ?

@vesparny
Copy link
Owner

vesparny commented Oct 2, 2013

yep, pull req is welcome

@balaphp
Copy link
Author

balaphp commented Oct 2, 2013

so you want me to edit the file and send the pull request ?
Sorry i am new bee to github...

@vesparny
Copy link
Owner

vesparny commented Oct 2, 2013

yes, make some test before. let me know

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

2 participants