mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Resolve doc bug #71716
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338698 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
df41faa973
commit
c499040447
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision: 336263 $ -->
|
||||
<!-- $Revision$ -->
|
||||
|
||||
<chapter xml:id="mongodb.tutorial.library" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>Using the PHP Library (PHPLIB)</title>
|
||||
|
@ -132,7 +132,7 @@ echo "Inserted with Object ID '{$result->getInsertedId()}'";
|
|||
<?php
|
||||
require 'vendor/autoload.php'; // include Composer goodies
|
||||
|
||||
$client = new MongoDB\Driver\Client("mongodb://localhost:27017");
|
||||
$client = new MongoDB\Client("mongodb://localhost:27017");
|
||||
$collection = $client->demo->beers;
|
||||
|
||||
$result = $collection->find( [ 'name' => 'Hinterland', 'brewery' => 'BrewDog' ] );
|
||||
|
|
Loading…
Reference in a new issue