MongoCursor::info(PECL mongo >=1.0.5) MongoCursor::info — Gets the query, fields, limit, and skip for this cursor Описание
   public array MongoCursor::info
    ( void
   ) 
  This can be called before or after the query. Список параметровУ этой функции нет параметров. Возвращаемые значенияReturns the namespace, limit, skip, query, and fields for this cursor. Список изменений
 
 ПримерыПример #1 MongoCursor::info() example 
<?phpРезультатом выполнения данного примера будет что-то подобное: 
array(5) {
  ["ns"]=>
  string(7) "foo.bar"
  ["limit"]=>
  int(0)
  ["skip"]=>
  int(0)
  ["query"]=>
  array(1) {
    ["x"]=>
    int(4)
  }
  ["fields"]=>
  array(1) {
    ["y"]=>
    int(0)
  }
}
 | 
||||||||