Selected tasks database table - TaskDepender

Selected tasks database table

From TaskDepender
Jump to: navigation, search
 
Line 1: Line 1:
''This page describes the temporary table that is created to hold the ids of the selected tasks.''
+
__NOTOC__''This page describes the temporary table that is created to hold the ids of the selected tasks.''
  
 
== Description ==
 
== Description ==
Line 20: Line 20:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
=== Adding an element ===
+
=== Add a task ===
  
 
<syntaxhighlight lang="sql">
 
<syntaxhighlight lang="sql">
ADD TO
+
INSERT INTO SelectedTasks VALUE(%d)
 +
</syntaxhighlight>
  
=== Enter
+
=== Delete a task ===
 +
 
 +
<syntaxhighlight lang="sql">
 +
DELETE FROM SelectedTasks WHERE Id=%d
 +
</syntaxhighlight>
 +
 
 +
=== Clear table ===
 +
 
 +
<syntaxhighlight lang="sql">
 +
DELETE FROM SelectedTasks
 +
</syntaxhighlight>
  
 
----
 
----
  
 
* [[Database]]
 
* [[Database]]

Latest revision as of 18:33, 16 October 2011