Hii

If u want to store a queue in a databast then consider a table  as a
queue with one column of string type in which insert query is
applicable only at the rear end that is at the last and delete query
should have a where condition such that it deletes the first record
onlyyy.

Ohterwise i dont feel the need of storing queue in the
database.Asimple arry would wrk in ur case as it contains one string
item olyyy.

On May 5, 12:25 pm, "[email protected]"
<[email protected]> wrote:
> Hello, I am a SQLite newbie -- I need to store a queue into a DB. I
> need to be able to insert at the head, and append at the tail. I also
> need to remove items from the head.
>
> Each item is just a string. I need to maintain a todo list -- high
> priority items are added to the beginning of the queue. and low
> priority items are append to the end.
>
> How to do this?
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group 
> athttp://groups.google.com/group/android-developers?hl=en

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

Reply via email to