-
Notifications
You must be signed in to change notification settings - Fork 11
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
create_objectId #10
Comments
Hey Arnaud, Cheers |
I will fix it tonight Xinuo Sent from my iPhone
|
The source bson.ml has been fixed and committed. If the value is 24 chars, then should consider it as a hex input, i.e., "99" -> '\153', every two char in the hex string should be converted to one char. @msimon hope you could help me about other versioning, opam stuff. thanks |
Sure. No worries. I will do that tomorrow. Marc Simon
|
@msimon thank you very much. @ArnaudParant in the mean time, in case you need the fix now, you can pull as the fixed source file has been committed. |
Hey @MassD @ArnaudParant, |
Thank you about this quick respond and fix. I can try the opam package, but what is the source url to add the bson repo in opam ? |
Here you go: opam repo add mongo-package git@github.com:MassD/mongo.git I will try to push it to the official repo very soon. Cheers |
should it be opam repo add mongo-package git@github.com:MassD/bson.git? |
No, I put the opam packages description for bson and mongo in the mongo repo. Not the smartest thing I agree, but it was suppose to be really temporary. I'll try to fix that asap |
Thanks Marc. Best Regards, Dr. Xinuo Chen On 5 November 2013 12:47, Marc Simon notifications@github.com wrote:
|
The opam package works correclty. Thank you both again. |
Hi,
I have a problem with create_objectId.
It is limited to 12 characters long.
In MongoDB documentation, it is well written than ObjectId is 12 bytes long, but when we go down, we can see that ObjectId is 24 characters long.
http://docs.mongodb.org/manual/reference/object-id/
It might be considered to Hexadecimal size : FF = 1 byte.
When I tried to put one of them "string id" in create_objectId "507f1f77bcf86cd799439011", it raised "Bson.Invalid_objectId"
Kind regards,
Arnaud Parant
The text was updated successfully, but these errors were encountered: