Exercise #3: Querying
29/104
Exercise #2: Querying
Commands
•
Edit
functions.php
to create the query under #2
•
Hints:
Expected, something like:
$this->o = $this->c->findOne( array( '_id' => preg_replace( '/[^nw0-9]/', '', $object ) ) );