I come from the background of RDBMS, and I have an application that requires good scalability and low latency. I want to give CouchDB a try. However, I need to determine when a particular INSERT operation failed due to a unique key constraint. Does CouchDB support this? I looked at the documents, but I could not find anything suitable.
The _id for each document is unique (within the same database), but there are no restrictions for other fields in the document.
In particular, there are no restrictions that apply across two or more documents.
, .
, , _id. _id couchdb . ( , , ).
API, PUT , HTTP 409 - ( _rev) .
couchdb, Apache . .
Source: https://habr.com/ru/post/1711486/More articles:Visual Studio brings up a blue screen - visual-studio-2008What symbol is distributed cache? - symbolsVisual Studio 2003 C ++ debugger extension using autoexp.dat and DLL - c ++How can I sign an assembly that references unsigned COM interop assemblies? - .netWhat is the difference between these two groups of utterances? - javaHow to create a contact with LDAP and show it in the GAL? - active-directoryReasons not to overestimate the solution to the current problem - designAre GWT shells over javascript libraries encouraged? - javascriptASP.Net LabelURL Charts - asp.netMySQL - which key is more optimized - optimizationAll Articles