Skip to content
This repository has been archived by the owner on Nov 25, 2019. It is now read-only.

No distinct ? #23

Open
alexiscreuzot opened this issue Jan 25, 2013 · 2 comments
Open

No distinct ? #23

alexiscreuzot opened this issue Jan 25, 2013 · 2 comments

Comments

@alexiscreuzot
Copy link

The "distinct" statement is missing.
It would be useful to have something like:

 NSArray * distinctRecords= [[[Model LazyFetcher] distinct] fetchRecords];
@x0000ff
Copy link
Contributor

x0000ff commented Feb 22, 2013

kirualex, do you still need this feature?) And does SqLite support distinct?

@alexiscreuzot
Copy link
Author

Yes I still need this feature. For now I'm post-processing my data in order to end up with my target dataset, but using SQL would be much faster.

SQLite does support distinct as you can see here : http://sqlite.org/lang_select.html#distinct

Thanks for this library by the way, it's great work !

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

No branches or pull requests

2 participants