Skip to content

Possible logic inversion in iterate a cursor #452

Closed
@stelar7

Description

@stelar7

openCursor creates a cursor with the key only flag set to false, source as an ObjectStore and then iterates it.

iterate a cursor step 13 checks if the key only flag is false, and then tries to access the referenced value.

Only Index Records have referenced values

Should step 13 be checking if the flag is true? If source is an index? Or am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions