i am having difficulty to convert mongodb shell command to php. In shell i am using
db.files.find({"username":"username",
$and:[
{'filetype': {$not : /image/}},
{'filetype':{$not:/application/}},
{'filetype':{$not:/video/}}
]
})
As you can see i am having diffculty to convert it to php. I tried few way on stack overflow but got empty result. Can anyone help on this code.