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

Undefined function error #21

Open
sinasamavati opened this issue Mar 22, 2013 · 4 comments
Open

Undefined function error #21

sinasamavati opened this issue Mar 22, 2013 · 4 comments

Comments

@sinasamavati
Copy link

It throws undefined function error

$ erl -pa ebin deps/*/ebin
Erlang R16B (erts-5.10.1) [source-05f1189] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false]

Eshell V5.10.1  (abort with ^G)
1> application:start(bson).
ok
2> application:start(mongodb).
ok
3> mongo:connect({localhost, 27017}).
** exception error: undefined function mongo:connect/1

Why?

@calvinfroedge
Copy link

Same issue here

@phuesler
Copy link

phuesler commented Apr 2, 2013

Check the test/mongo_SUITE.erl

{ok, Connection} = mongo_connection:start_link({"127.0.0.1", 27017}, [])

Also: The default branch is Refactor, which changed the API (but the Readme wasn't updated). Try the master branch.

@devjev
Copy link

devjev commented Jun 23, 2013

Hi!

The README does seem to be terribly out of date (i.e. mongo:connect, mongo:next not existing). Does anyone know, whether the refactor branch is production ready?

Thanks!

@dmsnell
Copy link
Contributor

dmsnell commented Feb 13, 2021

@comtihon I think this is out-of-date as I no longer see the references in the README so possibly it can be closed

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

5 participants