snippets pack for work CRUD mongodb in php for vs code
This extension has All the snippets you need to work CRUD operations mongodb in php for Vs Code editor.
- PHP (.php)
Below is a list of all available snippets and the triggers of each one. The ⇥ means the TAB
key.
Trigger | Content |
---|---|
i.o → |
insertOne mongo in php |
i.m → |
insertMany mongo in php |
u.o → |
updateOne mongo in php |
u.m → |
updateMany mongo in php |
Trigger | Content |
---|---|
d.o → |
deleteOne mongo in php |
d.m → |
deleteMany mongo in php |
r.o → |
ReplaceOne mongo in php |
Trigger | Content |
---|---|
f.o → |
findOne mongo in php |
f.m → |
findMany mongo in php |
f.ml → |
findMany by limit mongo in php |
f.lsa → |
findMany by limit And ASC Sort mongo in php |
f.lsd → |
findMany by limit And DESC Sort mongo in php |
f.r → |
findMany and reqular expretion mongo in php |
Trigger | Content |
---|---|
f.ag → |
aggregate mongo in php |
nmdb → |
add new MongoDB and collection in 2 line in php |
nmdbc → |
add new MongoDB and collection in 1 line in php |
i.d → |
Inserting a Decimal128 in mongo php |
Enjoy!