Skip to content

Collection getDocument method always pull blob content, taking really long time. #38

Description

@robin-lcr

Hey,

I have notice that whenever I run a collection.getDocument(docId), the result always contains all my blobs content which sometimes can be quite important.
Even for blobs around 5MB, it takes many seconds to get the document.

Even if the documentation says that "Blobs can be arbitrarily large. They are only read on demand, not when you load a the document.". It is not what happening.

I would want to be able to retrieve only my bklobs metadata such as the digest in order to check if I already have downloaded the blob locally. If not, then explicitly ask to fetch the BlobContent.

is there something I'm missing, or this is the current behaviour and is it possible to change it?

Thank you!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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