Skip to content

Error when a view is present in the mongo db #19

@mauriziocosmai

Description

@mauriziocosmai

Hi, during the creation of a new mongo data store , I refer to a "gis" database but, if the db includes any view, an error is generated :

Command failed with error 166 (CommandNotSupportedOnView): 'Namespace gis.tibe-geojson is a view, not a collection' on server 12.3.4:27017. The full response is {"operationTime": {"$timestamp": {"t": 123481, "i": 165}}, "ok": 0.0, "errmsg": "Namespace gis.tibe-geojson is a view, not a collection", "code": 166, "codeName": "CommandNotSupportedOnView", "$clusterTime": {"clusterTime": {"$timestamp": {"t": 1630415490, "i": 165}}, "signature": {"hash": {"$binary": {"base64": "sGR84PiFUnfH7YAoLhEpi6z/IC0=", "subType": "00"}}, "keyId": 123481}}}

How to avoid this error and then to create a data store that access a view, with the plugin?

thanks
M+

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions