GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||
GeezerVison is showing hub.windmill.dev — MongoDB integration | Windmill Hub Set up in 3 steps1 Collect the connection detailsFrom Atlas or your own deployment: the hosts and ports of the servers, the database name, and a database user's username and password. Note which database that user authenticates against — often admin rather than the one you query. 2 Add the resource in WindmillOpen Resources, add a resource of type mongodb. servers is a list of host and port pairs, credential holds the username, password and its auth database. Leave tls on unless the deployment does not offer it. 3 Run your first scriptFork any script below and read a collection before writing anything. ScriptsBuilding blocks, if none of the projects above fit. Fork one, run it, or call it as a step inside your own flow. Get recently inserted documents Script· trigger mongodb Verified Find Document by Id Script mongodb Verified Search Documents Script mongodb Verified Create New Document Script mongodb Verified Delete a Document Script mongodb Verified Update a Document Script mongodb Verified Create Many New Documents Script mongodb Verified Delete Many Documents Script mongodb Verified Trigger flows from MongoDBMongoDB is not only a destination. These inbound paths are supported today. New documents (scheduled poll)The Get recently inserted documents trigger script polls a collection and returns the documents inserted since its last run. To run it, open a flow, add a trigger and choose Scheduled Poll, then pick the trigger script and an interval. The steps after it run once per new item, and each flow keeps its own cursor. Resource typesThe credential shapes the scripts on this page expect — pick the one your script asks for. mongodbView raw schema →
mongodb_restView raw schema →
QuestionsAuthentication fails with the right passwordThe auth database is usually wrong. A user created in admin authenticates against admin, whatever database you then query. Do I need an external database at all?Not always. Windmill data tables are managed relational storage, scoped to a workspace, with nothing to configure. Reach for MongoDB when the database already exists, or when you want its document model rather than SQL. Atlas refuses the connectionAtlas allows only the addresses on its access list. Your workers' egress address has to be on it. Are my credentials stored on the hub?Never. They live only in your own Windmill workspace, encrypted at rest. | ||||||||||||||||||||||||||||||||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |