Location: PHPKode > projects > MongoDB Object Document Mapper > tests/Documents/Functional/NullFieldValues.php
<?php

namespace Documents\Functional;

/** @Document(collection="functional_tests") */
class NullFieldValues
{
    /** @Id */
    public $id;

    /** @Field(nullable=true) */
    public $field;
}
Return current item: MongoDB Object Document Mapper