What kind of situations do I have to look out for with this type of of querying?
$collection->find(array('key' => $user_string_value))
I won't be using the $where
syntax at all with user input as it seems blatantly insecure without lots of injection prevention.
Is the above find call 100% secure regardless of what is in that variable?