Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

bson does not properly decode _id value #12

Open
engrost opened this Issue · 0 comments

1 participant

Grzegorz Borys
Grzegorz Borys

from shell:

19> emongo:find(db_pool,"users",[{"_id",{oid,"4ba503889a221a453f46e02e"}}]). [[{<<"_id">>,
{oid,<>}},
{<<"date_added">>,{2010,3,0}},
{<<"name">>,<<"Olo">>},
{<<"number">>,<<"235626">>},
{<<"password">>,<<"AAA">>}]]

"_id" should be decoded to:

24> emongo:dec2hex(<>).
<<"4ba503889a221a453f46e02e">>

at very least.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.