Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mauriziocosmai opened this issue Sep 13, 2021 · 0 comments
Open

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

mauriziocosmai opened this issue Sep 13, 2021 · 0 comments

Comments

@mauriziocosmai
Copy link

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+

@mauriziocosmai mauriziocosmai changed the title Error when a view in present in the mongo db Error when a view is present in the mongo db Sep 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant