Tuesday, January 11, 2011

[android-developers] Re: Order of insert

Thanks for your answers. I was suggested a easier solution by sorting
the list by rowid so i do not need to add another column.

On 11 Sty, 13:37, Marcin Orlowski <webnet.andr...@gmail.com> wrote:
> On 11 January 2011 13:10, Serdel <adam.lichwierow...@gmail.com> wrote:
>
> > I am wondering how can I insert an element at the beginning of the
> > data base?
>
> There's no such thing like "beginning of database". Database is set of data.
> Order of data is irrelevant to database itself. If you want to ensure
> certain order just sort your data. Or add numeric sequence (index), store
> record creation date etc etc
>
> > I was searching for a solution but I am starting to wonder I have any
> > control of how the element are inserted.
>
> No. There's no point to have anything like that exposed. You seem
> to miss basics of modern databases.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate