Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

distinct values #373

Closed
techfort opened this issue Mar 10, 2016 · 14 comments
Closed

distinct values #373

techfort opened this issue Mar 10, 2016 · 14 comments
Labels

Comments

@techfort
Copy link
Owner

distinct should be supported out of the box

@obeliskos
Copy link
Collaborator

This could possibly be implemented internally via map/reduce. Should be trivial for top level properties (where you just pass in property name), might need recursion for dot notation (in map function).

http://stackoverflow.com/a/10468004

@obeliskos
Copy link
Collaborator

Oh save us, github now has emojis. At least they seem somewhat safe right now.

@Simsal
Copy link

Simsal commented Jul 11, 2016

Hi!
is there any progression on this feature?

@techfort
Copy link
Owner Author

@Simsal this week is going to be madness but next week i should be able to get onto this.

@Simsal
Copy link

Simsal commented Jul 11, 2016

@techfort Sounds great :) wish you a happy coding week ;)

@mirho
Copy link

mirho commented Oct 5, 2016

Any progress on adding distinct support? Thanks!

@obeliskos
Copy link
Collaborator

If you are really interested and your results are somewhat small you can do something like this in the meantime.

Might take a bit more effort to optimize it across a variety of values and types.

@mirho
Copy link

mirho commented Oct 6, 2016

Thanks for the quick response! I will give that a try.

@IrosTheBeggar
Copy link

Any update on this? I'm looking from switching from SQLite to Loki and a distinct operation would help a lot

@julien9999
Copy link

Hi, is this feature now implemented?

@Viatorus
Copy link
Collaborator

For me, these are some open questions:

  • How should distinct be used (syntax, code example)?
  • Should it be part of the query in find(...) or an extra function call like sort?

@stale
Copy link

stale bot commented Jul 13, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jul 13, 2018
@stale stale bot closed this as completed Jul 20, 2018
@adrienbuffet
Copy link

Bump ?

@Wyzix33
Copy link

Wyzix33 commented Feb 21, 2021

bump ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

9 participants