Skip to content

Commit 1cd9c32

Browse files
committed
Update documents#write to address transform param as array
1 parent a987e8b commit 1cd9c32

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/documents.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -606,9 +606,9 @@ function writeListOutputTransform(headers, data) {
606606
* @param {string|transactions.Transaction} [txid] - a string
607607
* transaction id or Transaction object identifying an open
608608
* multi-statement transaction
609-
* @param {string} [transform] - the name of a transform extension to apply
610-
* to each document; the transform must have been installed using
611-
* the {@link transforms#write} function.
609+
* @param {string|mixed[]} [transform] - the name of a transform extension to apply to each document
610+
* or an array including the name of the transform extension and an object of parameter values; the
611+
* transform must have been installed using the {@link transforms#write} function.
612612
* @param {string} [forestName] - the name of a forest in which to write
613613
* the documents.
614614
* @param {string} [temporalCollection] - the name of the temporal collection;

0 commit comments

Comments
 (0)