budibase
budibase copied to clipboard
MongoDB Aggregate Queries not listed as Data Provider source
Hosting
- Cloud
- Tenant ID: https://redswitch.budibase.app
Describe the bug MongoDB Aggregate functions, once Saved (created) cannot be selected as a Data Provider source
To Reproduce Steps to reproduce the behavior:
- Inside an active App, select the "Data" tab (at top of the page)
- In the left-hand "Sources", select the green
MongoDB
list item - When right-hand pane loads, click the
Add Query
button - Fill in the fields, as needed. This will depend upon the backend datasource.
- Click the "Run Query" button to test for execution. This should return data (documents) from the DB
- Click the "Save Query" button
- Go to the "Design" tab (at top of the page)
- Click "Add Component" button
- Select "Data Provider" in right-hand list
- With the new Data Provider selected, select the Data drop-down list. It should be listed under "Queries", but does not on my usage.
Expected behavior The "Run Query" button returns results, so the syntax is correct and data is available. I expect this query source to be listed as the Data source for a Design Component
App Export I can attach, but is a 10MB file
Desktop (please complete the following information):
- OS: MacOS 12.6.1
- Browser: Safari
- Version: 16.1
Additional context Add any other context about the problem here.
Hey @dan-burt
I followed the reproduction steps but I can't reproduce the bug. It would be helpful if you could provide the app export please
App1-export-1667836688969.tar.zip
As requested. Think I did this correct, from within my "App1" settings.