src/MariaDbEventStore.php
private function convertToColumn(array &$match): void
    {
        if ($this->persistenceStrategy instanceof MariaDBIndexedPersistenceStrategy) {
            $indexedColumns = $this->persistenceStrategy->indexedMetadataFields();
            if (\in_array($match['field'], \array_keys($indexedColumns), true)) {
                $match['field'] = $indexedColumns[$match['field']];
                $match['fieldType'] = FieldType::MESSAGE_PROPERTY();
            }
        }
    }
private function convertToColumn(array &$match): void
    {
        if ($this->persistenceStrategy instanceof MariaDBIndexedPersistenceStrategy) {
            $indexedColumns = $this->persistenceStrategy->indexedMetadataFields();
            if (\in_array($match['field'], \array_keys($indexedColumns), true)) {
                $match['field'] = $indexedColumns[$match['field']];
                $match['fieldType'] = FieldType::MESSAGE_PROPERTY();
            }
        }
    }
private function convertToColumn ( array & $ match ) : void { if ( $ this -> persistenceStrategy instanceof MariaDBIndexedPersistenceStrategy ) { $ indexedColumns = $ this -> persistenceStrategy -> indexedMetadataFields ( ) ; if ( \ in_array ( $ match [ 'field' ] , \ array_keys ( $ indexedColumns ) , true ) ) { $ match [ 'field' ] = $ indexedColumns [ $ match [ 'field' ] ] ; $ match [ 'fieldType' ] = FieldType :: MESSAGE_PROPERTY ( ) ; } } }
Convert metadata fields into indexed columns

@example `_aggregate__id` => `aggregate_id`
Convert metadata fields into indexed columns