Google\Cloud\Datastore\Entity::setExcludeFromIndexes PHP Method

setExcludeFromIndexes() public method

Example: $entity['birthDate'] = new DateTime('December 31, 1969'); $entity->setExcludeFromIndexes([ 'birthDate' ]);
public setExcludeFromIndexes ( array $properties ) : void
$properties array A list of properties to exclude from indexes.
return void
    public function setExcludeFromIndexes(array $properties)
    {
        $this->options['excludeFromIndexes'] = $properties;
    }