« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 1 of about 1 for Principal (0.000 sec.)
CollectionModify::limit — 変更されるドキュメントの数を限定する | PHP 8.3 9414
CollectionModify::limit (No version information available, might only be in Git) CollectionModify::limit — 変更されるドキュメントの数を限定する 説明 public function mysql_xdevapi\CollectionModify::limit ( int $rows ): mysql_xdevapi\Collecti ... ob": "Teacher"}' )-> execute (); $collection -> modify ( "job = :job" ) -> bind ([ 'job' => 'Teacher' ]) -> set ( 'job' , 'Principal' ) -> limit ( 1 ) -> execute (); $result = $collection -> find () -> execute (); print_r ( $result -> fetchAll ()); ?> 上の ... ge] => 21 [job] => Construction [name] => Fred ) [1] => Array ( [_id] => 00005b6b53610000000000000119 [age] => 23 [job] => Principal [name] => Wilma ) [2] => Array ( [_id] => 00005b6b5361000000000000011a [age] => 24 [job] => Teacher [name] => Betty ) ) 他 ...
https://man.mtool.work/php/8.3/mysql-xdevapi-collectionmodify.limit.html
PREV 1 NEXT