gomongo icon indicating copy to clipboard operation
gomongo copied to clipboard

Insert() miss Error ?

Open wukun opened this issue 15 years ago • 1 comments

Collection.Insert do not raise Error when duplicate key ?

wukun avatar Dec 24 '10 07:12 wukun

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.

vysdel avatar Jan 27 '11 10:01 vysdel