Skip to content

add set noCursorTimeout method. #250

@PPG007

Description

@PPG007

Is your feature request related to a problem? Please describe.
When I need to iterate a cursor to process hundred thousands or even millions documents, it's important to make sure that the cursor session will not timeout until the process over, but the QueryI interface doesn't support til now.

Describe the solution you'd like
Add a NoCursorTimeout(n bool) QueryI method to the QueryI interface and use it in the Cursor() and All() methods.

Describe alternatives you've considered
None.

Additional context
None.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions