镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

would like to use the pymongo "distinct" operation in Collection #11

Open

Description

@Accuratelli

Hi, this isn't an issue - more of a desire for a new keyword please.

We'd like to be able to submit queries in the form db.myCollection.distinct("nestedDoc.Type", returning a list of distinct values for the supplied field.

I see that pymongo supports the use of "distinct" so I think it's possible to extend the library if someone has the skills and time? or is it technically not possible to do this?

Thanks in advance

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