You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/helpers.asciidoc
+31-1Lines changed: 31 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ To create a new instance of the Bulk helper, you should access it as shown in th
43
43
[cols=2*]
44
44
|===
45
45
|`datasource`
46
-
a|An array or a readable stream with the data you need to index/create/update/delete.
46
+
a|An array, async generator or a readable stream with the data you need to index/create/update/delete.
47
47
It can be an array of strings or objects, but also a stream of json strings or JavaScript objects. +
48
48
If it is a stream, we recommend to use the https://www.npmjs.com/package/split2[`split2`] package, that will split the stream on new lines delimiters. +
49
49
This parameter is mandatory.
@@ -182,6 +182,36 @@ const result = await client.helpers.bulk({
0 commit comments