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

Missing parameters in delete_all and delete #27

Open
Vgrande88 opened this issue Nov 20, 2019 · 0 comments
Open

Missing parameters in delete_all and delete #27

Vgrande88 opened this issue Nov 20, 2019 · 0 comments

Comments

@Vgrande88
Copy link

Vgrande88 commented Nov 20, 2019

After read the comments: delete document from the passed collection based upon certain criteria, and the examples of usage: $this->mongo_db->delete_all('foo', $data = array());

The functions doesn't get the second parameter (criterias), then delete_all and delete works equally?

Beside that, remove_index are doing a wrong check (empty ($ keys)) when not receive $keys but it is $name

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