Cake\ElasticSearch\Datasource\Connection::disableConstraints PHP Method

disableConstraints() public method

Elasticsearch does not deal with the concept of foreign key constraints This method just triggers the $callback argument.
public disableConstraints ( callable $callback )
$callback callable
    public function disableConstraints(callable $callback)
    {
        return $callback($this);
    }