Skip to content

Update to the latest version of arango-tools#1592

Merged
sleepycat merged 1 commit into
masterfrom
update-arango-tools
Feb 5, 2021
Merged

Update to the latest version of arango-tools#1592
sleepycat merged 1 commit into
masterfrom
update-arango-tools

Conversation

@sleepycat

Copy link
Copy Markdown
Contributor

Arangojs renamed methods on the cursor and transaction objects, which where
returned by Arango-tools. Given code makes some extensive use of those methods,
Arango-tools now returns a proxy object that translates the old calls
(cursor.each and transaction.run) to the new calls (cursor.forEach and
transaction.step).

cursor.hasNext was changed from a function to a boolean so this was fixed by a
simple search and replace.

Details:
https://arangodb.github.io/arangojs/CHANGELOG#cursor-api-1

Arangojs renamed methods on the cursor and transaction objects, which where
returned by Arango-tools. Given code makes some extensive use of those methods,
Arango-tools now returns a proxy object that translates the old calls
(cursor.each and transaction.run) to the new calls (cursor.forEach and
transaction.step).

cursor.hasNext was changed from a function to a boolean so this was fixed by a
simple search and replace.

Details:
https://arangodb.github.io/arangojs/CHANGELOG#cursor-api-1
@sleepycat sleepycat requested a review from nsdeschenes February 5, 2021 14:39
@sleepycat sleepycat merged commit 7628b96 into master Feb 5, 2021
@sleepycat sleepycat deleted the update-arango-tools branch February 5, 2021 16:44
sleepycat added a commit that referenced this pull request Feb 5, 2021
sleepycat added a commit that referenced this pull request Feb 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants