Skip to content

Insert() miss Error ? #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

Open
wukun opened this issue Dec 24, 2010 · 1 comment
Open

Insert() miss Error ? #11

wukun opened this issue Dec 24, 2010 · 1 comment

Comments

@wukun
Copy link

wukun commented Dec 24, 2010

Collection.Insert do not raise Error when duplicate key ?

@vysdel
Copy link

vysdel commented Jan 27, 2011

mongodb don't return any code after operation, client send stream into db and close connection. if you want safe operations you should use getLastError command.

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

2 participants