<table class="<a href="https://www.jb51.cc/tag/PHP/" target="_blank" class="keywords">PHP</a>"><tbody><tr class="li1">
<td class="ln"><pre class="de1">1
2
3
4
<span class="xtra li2"><span class="de2">5</td>
<td class="de1"><pre class="de1"><span class="kw2"><?PHP
<span class="coMULTI">/ @var \yii\mongodb\ActiveRecord $model /
<span class="re0">$model <span class="sy0">= Model<span class="sy0">::<span class="me2">find<span class="br0">(<span class="br0">)
<span class="sy0">-><span class="me1">where<span class="br0">(<span class="br0">[<span class="st_h">'count' <span class="sy0">=> <span class="br0">[<span class="st_h">'$gt' <span class="sy0">=> <span class="re0">$count<span class="br0">]<span class="br0">]<span class="br0">)
<span class="xtra li2"><span class="de2"> <span class="sy0">-><span class="me1">one<span class="br0">(<span class="br0">)<span class="sy0">;</td>
</tr></table>