Tasks database table - TaskDepender

Tasks database table

From TaskDepender
Jump to: navigation, search
(Delete selected tasks)
(Cut)
Line 58: Line 58:
  
 
A task can only be updated when it is selected. The selected tasks are stored in the [[Selected tasks database table|selected tasks table]]. This means that the user does not have to supply the id when updating a selected task. To restrict the database to update more tasks when the selected tasks table contains more than one task, the update is [http://www.sqlite.org/lang_select.html limited] to the first element.
 
A task can only be updated when it is selected. The selected tasks are stored in the [[Selected tasks database table|selected tasks table]]. This means that the user does not have to supply the id when updating a selected task. To restrict the database to update more tasks when the selected tasks table contains more than one task, the update is [http://www.sqlite.org/lang_select.html limited] to the first element.
 
=== Cut ===
 
 
As described in [[Cut selected elements|"Cut selected elements"]], selected elements can be 'cut to the clipboard' by setting the <tt>ContainerId</tt> column to the maximum integer value. Since the <tt>Id</tt> of a task is stored in a [[Types|<tt>uint32</tt>]], this value is explicitly set to 4294967295 (=2<sup>32</sup>).
 
  
 
=== Paste ===
 
=== Paste ===

Revision as of 18:49, 1 December 2011

Personal tools