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

GROUP BY #9

Closed
sal0max opened this issue Aug 20, 2014 · 4 comments
Closed

GROUP BY #9

sal0max opened this issue Aug 20, 2014 · 4 comments

Comments

@sal0max
Copy link

sal0max commented Aug 20, 2014

First, thank you so much for this great project!

I am trying it on a new app and now came to a point where I ask myself whether it is possible to generate a ContentUri with a GROUP BY-statement.

@SimonVT
Copy link
Owner

SimonVT commented Aug 22, 2014

There's no annotation for passing values to the groupBy parameter of [SQLiteDatabase#Query](https://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html#query%28java.lang.String, java.lang.String[], java.lang.String, java.lang.String[], java.lang.String, java.lang.String, java.lang.String, java.lang.String%29), but I'll see if I can get that added within a reasonable amount of time :)

@SimonVT
Copy link
Owner

SimonVT commented Aug 23, 2014

There's now a groupBy value on the ContentUri and InexactContentUri annotations :)
The value is passed to [SQLiteDatabase#Query](https://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html#query%28java.lang.String, java.lang.String[], java.lang.String, java.lang.String[], java.lang.String, java.lang.String, java.lang.String, java.lang.String%29).

@SimonVT SimonVT closed this as completed Aug 23, 2014
@sal0max
Copy link
Author

sal0max commented Aug 27, 2014

Awesome!
Will you upload it to maven central, soon?

@SimonVT
Copy link
Owner

SimonVT commented Aug 31, 2014

I just released version 0.5.3, you should be able to find it in maven central soon :)

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

No branches or pull requests

2 participants