private function createDeleteOptions()
    {
        $deleteOptions = ['limit' => $this->limit];

        if (isset($this->options['collation'])) {
            $deleteOptions['collation'] = (object) $this->options['collation'];
        }

        return $deleteOptions;
    }
private function createDeleteOptions()
    {
        $deleteOptions = ['limit' => $this->limit];

        if (isset($this->options['collation'])) {
            $deleteOptions['collation'] = (object) $this->options['collation'];
        }

        return $deleteOptions;
    }
private function createDeleteOptions ( ) { $ deleteOptions = [ 'limit' => $ this -> limit ] ; if ( isset ( $ this -> options [ 'collation' ] ) ) { $ deleteOptions [ 'collation' ] = ( object ) $ this -> options [ 'collation' ] ; } return $ deleteOptions ; }
Create options for the delete command.

Note that these options are different from the bulk write options, which
are created in createExecuteOptions().

@return array
Create options for the delete command .