r8914: rework test suites
[clsql.git] / TODO
1 GENERAL 
2
3 * test on mcl. SCL no longer affordable to individuals;
4 * implement remaining functions for CLSQL AODBC backend;
5 * port Oracle and ODBC backend to UFFI.
6
7 COMMONSQL SPEC
8
9 * Missing: 
10
11   RECONNECT 
12   CACHE-TABLE-QUERIES 
13   *CACHE-TABLE-QUERIES-DEFAULT*
14   *DEFAULT-UPDATE-OBJECTS-MAX-LEN* 
15   UPDATE-OBJECT-JOINS 
16   INSTANCE-REFRESHED
17
18
19 * Incompatible 
20
21
22  >> Initialisation and connection 
23
24     INITIALIZE-DATABASE-TYPE
25      o should initialise appropriate backend 
26
27     STATUS 
28      o what is the behaviour in CommonSQL (esp :full parameter)? 
29
30
31  >> The functional sql interface 
32   
33     SELECT 
34       o should accept keyword arg :refresh and call INSTANCE-REFRESHED
35       o should return (values result-list field-names)
36       o should coerce values returned as strings to appropriate lisp type
37
38     QUERY 
39       o should return (values result-list field-names) 
40       o should coerce values returned as strings to appropriate lisp type
41
42     LIST-ATTRIBUTE-TYPES
43       o should return list of (attribute datatype precision scale nullable)     
44
45
46  >> The object-oriented sql interface
47
48     DEF-VIEW-CLASS
49       o get :target-slot working 
50       o implement :retrieval :immediate 
51
52     LIST-CLASSES 
53       o keyword arg :root-class should do something (portable)
54
55     DO-QUERY,MAP-QUERY,LOOP
56       o should work with object queries as well as functional ones 
57
58
59  >> Symbolic SQL syntax 
60
61       o Complete sql expressions (see operations.lisp)
62
63          substr
64          some 
65          order-by 
66          times 
67          nvl
68          null 
69          distinct
70          except 
71          intersect 
72          between
73          userenv
74
75       o variables (e.g., table identifiers) should be instantiated at runtime 
76
77
78
79 NOTES ABOUT THE BACKENDS
80
81 MYSQL 
82
83 drop-index:   requires a table to be specified with the :from keyword parameter
84 transactions: don't seem to work  
85 views:        mysql does not support views  
86 queries:      nested subqueries do not seem to work 
87
88 SQLITE 
89
90 create-view: column-list parameter not supported