Skip to content

support for Query.ReturnSizes #34

Closed
@MichaelMure

Description

@MichaelMure

In ipfs/go-datastore#134 is added a new request field in queries: Query.ReturnSizes.

To honor this field, datastore implementations can either:

  • return the size of the entry in Entry.Size if Query.ReturnSizes is set, or -1 otherwise
  • consider that returning the size doesn't imply a performance cost and always return the size in Entry.Size

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