Changeset 89 in bookmarks


Ignore:
Timestamp:
06/05/15 18:47:42 (9 years ago)
Author:
peter
Message:

issue #8: more notes about the deletion API

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/api

    r82 r89  
    3939      dtime integer 
    4040  ); 
     41  create view active_bookmarks as select * from bookmarks where id not in (select id from deleted_bookmarks) 
    4142 
    4243  insert into deleted_bookmarks (id) values (?)  <-- {id} 
    43   delete from bookmarks where id = ? <-- {id} 
    4444 
    4545  then a request to /{id} checks the deleted_bookmarks table and issues a 410 (cacheable) if it is in there 
Note: See TracChangeset for help on using the changeset viewer.