Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(QueryCursor): add getDriverCursor() function that returns the raw driver cursor #14745

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

vkarpov15
Copy link
Collaborator

Summary

Minor pain point in working with QueryCursor: sometimes you want to access the raw cursor property, but that property isn't set when the cursor is initially created. You need to wait for a cursor event.

This PR adds a new getDriverCursor() function which waits for the cursor event if necessary

Examples

@vkarpov15 vkarpov15 added this to the 8.6 milestone Jul 12, 2024
@vkarpov15 vkarpov15 changed the base branch from master to 8.6 July 15, 2024 13:50
@vkarpov15 vkarpov15 merged commit 5db83ec into 8.6 Jul 15, 2024
46 checks passed
@hasezoey hasezoey deleted the vkarpov15/getdrivercursor branch July 15, 2024 16:23
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