Legend

Forum

Unread topics or posts

Topic

Unread posts

Locked

Announcement

Forums > Developers

Are task id's unique forever?



AuthorMessage
yuri.lenskiy

Posted: Apr 04, 2010
Score: 0



Pretty much what the title says, I was wondering if a task's id is reserved forever; i.e. if I have a task with id = 2, and I delete this task, will the next created task then have id = 2, or can I be sure that id = 2 will never again be taken? Thank you.
Toodledo

Administrator
Posted: Apr 05, 2010
Score: 0



Deleted ids are never reused. The only thing that might trip you up is that a repeating task will always have the same id. Its the same task, it's due-date just keeps getting moved. To retain a historical record of the task, completed copies are inserted and these have different ids. So, that can be a little strange if you are expecting the new version of the task to have a new id.


To participate in these forums, you must be signed in.



Toodledo Forums > Developers

Contact Us | Blog | API | Help | Forums Privacy | Terms | Copyright © 2006-2012