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

Defect(?): Need sample for use with Mongodb #33

Open
lboening opened this issue Feb 20, 2018 · 4 comments
Open

Defect(?): Need sample for use with Mongodb #33

lboening opened this issue Feb 20, 2018 · 4 comments

Comments

@lboening
Copy link

I am bit puzzled. I cannot get a sample to work

I can get the plain sample to work. The next one, I cannot. Can you check the Gist?

Mongodb

  • Host: localhost:27017
  • Database: jsreport
  • Collection: jsreport
  • Authentication: none

Here's what I got. I must have set something wrong
Gist

@pofider
Copy link
Owner

pofider commented Feb 20, 2018

This gist works for me if I change line

var odataServer = ODataServer('http://localhost:1338').model(model);

@lboening
Copy link
Author

lboening commented Feb 22, 2018

I have made progress, but now I am blocked. The mongodb client does not get anything from my link to a Mongodb at Atlas cluster. Would you be able to check my syntax? Link to Gist

Question: can the Mongoclient handle a URL to Atlas? Link to Atlas docs

@pofider
Copy link
Owner

pofider commented Feb 22, 2018

Sure it can connect to atlas. However this is not related to this package and I keep it up to you to find out how.

@emasjin
Copy link

emasjin commented Aug 15, 2019

Hello pofider, i am also need a sample for mongodb, i dont know how to modify the simple.js file to suit mongodb.Thanks.

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

3 participants