Home  >  Article  >  Backend Development  >  How does laravel-mongodb run db.runCommand statements?

How does laravel-mongodb run db.runCommand statements?

WBOY
WBOYOriginal
2016-08-31 08:54:531014browse

For example, the statement db.Collection.find{} can be run using whereRaw, but it cannot be found in the official documentation of db.runCommand. What statement should be used to run it in laravel5? ?

Reply content:

For example, the statement db.Collection.find{} can be run using whereRaw, but it cannot be found in the official documentation of db.runCommand. What statement should be used to run it in laravel5? ?

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn