How to call a MongoDB function


I finished my first mongo function. I want to know where I call this function so I can access the data it calls. Would I call it in sagas.js? Or directly into my code where I need it called? Anything helps!



Hi @Josh_Stout,

A function can be called from verious places. If you specify its as private it can only be called internally from your hosted application components like other functions, rules or triggers.

If you specify it as NOT private it can be called via one of our SDKs used in your client code

You can also build functions to interact with data via http or other services
Let me know if that helps.