File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ async function fetchAllDocuments(params) {
157157 const allDocuments = [];
158158 // Automatically fetches more pages as needed.
159159 for await (const documentGetInfoListResponse of client .documents .getInfoList ({
160- collection_name: ' collection_name ' ,
160+ collection_name: ' example_collection ' ,
161161 })) {
162162 allDocuments .push (documentGetInfoListResponse );
163163 }
@@ -168,7 +168,7 @@ async function fetchAllDocuments(params) {
168168Alternatively, you can request a single page at a time:
169169
170170``` ts
171- let page = await client .documents .getInfoList ({ collection_name: ' collection_name ' });
171+ let page = await client .documents .getInfoList ({ collection_name: ' example_collection ' });
172172for (const documentGetInfoListResponse of page .documents ) {
173173 console .log (documentGetInfoListResponse );
174174}
You can’t perform that action at this time.
0 commit comments