update : 2015.11.03
php.shukuma.com검색:
|
MongoCursor::fields(PECL mongo >=1.0.6) MongoCursor::fields — Sets the fields for a query 설명
Fields are specified by "fieldname" : bool. Thus, to return only the "summary" field, one could say:
<?php To return all fields except the "hidden" field:
<?php 인수
반환값Returns this cursor. 오류/예외Throws MongoCursorException if this cursor has started iterating or a scalar argument is given. |