Skip to content

Commit 96ff7db

Browse files
committed
documented limitation about insertDocument with fields having null values
1 parent 4c12293 commit 96ff7db

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/main/java/com/arangodb/ArangoCollection.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ public interface ArangoCollection extends ArangoSerializationAccessor {
6060
* @throws ArangoDBException
6161
* @see <a href="https://www.arangodb.com/docs/stable/http/document-working-with-documents.html#create-document">API
6262
* Documentation</a>
63+
*
64+
* @implNote The current implementation has the following limitations:
65+
* - the fields having {@code null} value are always removed during serialization
6366
*/
6467
<T> DocumentCreateEntity<T> insertDocument(T value) throws ArangoDBException;
6568

@@ -73,6 +76,9 @@ public interface ArangoCollection extends ArangoSerializationAccessor {
7376
* @throws ArangoDBException
7477
* @see <a href="https://www.arangodb.com/docs/stable/http/document-working-with-documents.html#create-document">API
7578
* Documentation</a>
79+
*
80+
* @implNote The current implementation has the following limitations:
81+
* - the fields having {@code null} value are always removed during serialization
7682
*/
7783
<T> DocumentCreateEntity<T> insertDocument(T value, DocumentCreateOptions options) throws ArangoDBException;
7884

@@ -85,6 +91,9 @@ public interface ArangoCollection extends ArangoSerializationAccessor {
8591
* @throws ArangoDBException
8692
* @see <a href="https://www.arangodb.com/docs/stable/http/document-working-with-documents.html#create-document">API
8793
* Documentation</a>
94+
*
95+
* @implNote The current implementation has the following limitations:
96+
* - the fields having {@code null} value are always removed during serialization
8897
*/
8998
<T> MultiDocumentEntity<DocumentCreateEntity<T>> insertDocuments(Collection<T> values) throws ArangoDBException;
9099

@@ -98,6 +107,9 @@ public interface ArangoCollection extends ArangoSerializationAccessor {
98107
* @throws ArangoDBException
99108
* @see <a href="https://www.arangodb.com/docs/stable/http/document-working-with-documents.html#create-document">API
100109
* Documentation</a>
110+
*
111+
* @implNote The current implementation has the following limitations:
112+
* - the fields having {@code null} value are always removed during serialization
101113
*/
102114
<T> MultiDocumentEntity<DocumentCreateEntity<T>> insertDocuments(
103115
Collection<T> values, DocumentCreateOptions options) throws ArangoDBException;

0 commit comments

Comments
 (0)