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
If I try to get records greater than 1,000, I get the "expecting POST /_api/cursor" error when I call the cursor.all() method in using the JavaScript driver Arangojs.
Here is my installation:
ArangoDB version 3.11.3
Arangojs versioin 8.6.0
Node.js version 18.14.0
If I add 'LIMIT 1000' to the query, everything works as expected.
If I add 'LIMIT 1001' or anything over 1,000 I get the error.
My Test database has one collection (FOICU) with 5,000 documents and only one attribute (CU_NAME).
To replicate:
const Database = require( 'arangojs' ).Database;
let db = new Database({
url: 'HTTP://127.0.0.1:8529',
databaseName: 'TEST',
auth: { username: 'root', password: 'test' }
});
let cursor = await db.query( 'FOR doc1 IN FOICU RETURN { "CU_NAME": doc1.CU_NAME }' );
let result = await cursor.all();
return result;
I've tried this on multiple databases, multiple collections all with the same result.
Release 8.3.0 of arangojs works, the problem started with release 8.4.0.
The text was updated successfully, but these errors were encountered:
This is a re-opening of issue #800.
If I try to get records greater than 1,000, I get the "expecting POST /_api/cursor" error when I call the cursor.all() method in using the JavaScript driver Arangojs.
Here is my installation:
If I add 'LIMIT 1000' to the query, everything works as expected.
If I add 'LIMIT 1001' or anything over 1,000 I get the error.
My Test database has one collection (FOICU) with 5,000 documents and only one attribute (CU_NAME).
To replicate:
I've tried this on multiple databases, multiple collections all with the same result.
Release 8.3.0 of arangojs works, the problem started with release 8.4.0.
The text was updated successfully, but these errors were encountered: