Skip to content

_parseFieldMap throws Exception with wildcard index. #47

@greg-assa

Description

@greg-assa

Package version

ex: v4.4.0

Describe the bug

When using a wildcard index in the model and a whereExact query the mapping lookup fails.
image

To Reproduce

Steps to reproduce the behavior:

Add a model with a wildcard index ie protected $index = 'dam_documents_*';

run a whereExact on that model ie:
DamDocument::whereExact('meta.documentId', $this->documentId)->delete();

Expected behavior

The above should delete the documents but fails to retrive the mapping.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions