wpntv/erlmongo — Issue #30: not_connected 
Author: raviraj555
Created: 2012-01-02 14:14:15+00:00
State: open

test() ->
application:start(erlmongo),
mongodb:singleServer(testmongo),
ok = mongodb:connect(testmongo),
M = mongoapi:new(testmongo,<<"test">>),
Data =M:find("mydoc",[{'or',[{"a",1},{"i",11}]}],undefined,0,100),
Data.

this gives me output
not_connected

please help.