android-beginners  

Re: [android-beginners] sort order for sqlite query

Alex Hall
Wed, 17 Mar 2010 15:10:04 -0700

Ah, so what about descending, and which argumnts of the query would
these (the column name and order) be?

On 3/17/10, Mark Murphy <mmur...@commonsware.com> wrote:
> Alex Hall wrote:
>> Hi all,
>> I am trying to sort the result set of an sql query, but google is not
>> telling me what I can put in for the "sortOrder" parameter of
>> "mdb.query()"
>> Which argument in the list is this sortOrder, and what do I put in
>> there for, say, an ascending sort of the "modified" column? Thanks!
>
> You put in "modified". Or "modified ASC", if you want, but ascending
> order is the default, IIRC.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://twitter.com/commonsguy
>
> Android Training in US: 14-18 June 2010: http://bignerdranch.com
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
>
> NEW! Try asking and tagging your question on Stack Overflow at
> http://stackoverflow.com/questions/tagged/android
>
> To unsubscribe from this group, send email to
> android-beginners+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en


-- 
Have a great day,
Alex (msg sent from GMail website)
mehg...@gmail.com; http://www.facebook.com/mehgcap

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en