From 47a5097cd673a002e47952058485874434d2bf86 Mon Sep 17 00:00:00 2001 From: Jonathan Eskew Date: Mon, 23 Jan 2017 13:02:30 -0800 Subject: [PATCH] Move documentation for convertEmptyValues option from `createSet` to constructor --- lib/dynamodb/document_client.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/dynamodb/document_client.js b/lib/dynamodb/document_client.js index ae008353d5..b8ae85125b 100644 --- a/lib/dynamodb/document_client.js +++ b/lib/dynamodb/document_client.js @@ -62,6 +62,10 @@ AWS.DynamoDB.DocumentClient = AWS.util.inherit({ * @option options service [AWS.DynamoDB] An optional pre-configured instance * of the AWS.DynamoDB service object to use for requests. The object may * bound parameters used by the document client. + * @option options convertEmptyValues [Boolean] set to true if you would like + * the document client to convert empty values (0-length strings, binary + * buffers, and sets) to be converted to NULL types when persisting to + * DynamoDB. * @see AWS.DynamoDB.constructor * */ @@ -430,10 +434,6 @@ AWS.DynamoDB.DocumentClient = AWS.util.inherit({ * @param options [map] * * **validate** [Boolean] set to true if you want to validate the type * of each element in the set. Defaults to `false`. - * * **convertEmptyValues** [Boolean] set to true if you would like the - * document client to convert empty values (0-length strings, binary - * buffers, and sets) to be converted to NULL types when persisting to - * DynamoDB. * @example Creating a number set * var docClient = new AWS.DynamoDB.DocumentClient(); *