r9365: 15 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
[clsql.git] / TODO
1 TESTS TO ADD
2
3 * CACHE-TABLE-QUERIES
4 * Test that ":db-kind :key" adds an index for that key. This is complicated by different
5   backends showing autogenerated primary key in different ways.
6 * Test bigint type
7 * :db-constraint tests
8 * test *db-auto-sync* 
9 * for-each-row macro
10 * universal-time 
11
12 COMMONSQL INCOMPATIBILITY
13
14 <<<<<<< .mine
15   o Complete sql expressions (see operations.lisp)
16
17       nvl (Oracle specific) 
18       userenv (Oracle specific) 
19       minus (Oracle specific: does the same as EXCEPT) 
20       || 
21
22 =======
23 >>>>>>> .r9364
24    o variables (e.g., table identifiers) should be instantiated at runtime 
25
26 <<<<<<< .mine
27 =======
28  >> The functional sql interface 
29   
30     SELECT 
31       o keyword arg :refresh should function as advertised 
32
33  >> Symbolic SQL syntax 
34
35       o userenv (Oracle specific but deprecated in Oracle 9) 
36
37 VARIANCES FROM COMMONSQL
38
39 UPDATE-OBJECT-JOINS:
40  Rather than simply reading the values for each
41  object, to meet CommonSQL spec need to generate a single
42  query to read values for all objects, up to max-len count.
43
44 >>>>>>> .r9364
45 COMMIT,ROLLBACK,START-TRANSACTION: 
46  When COMMIT or ROLLBACK are called outside of WITH-TRANSACTION, an sql 
47  transaction must be explicitly started first with START-TRANSACTION. 
48
49 OPTIMIZATIONS
50  
51 * Revisit result-type list creation, perhaps caching
52
53 POSSIBLE EXTENSIONS
54
55 * extend large object support to databases beyond postgresql, improve large object api
56 * add support for prepared statements
57 * port Oracle backend to UFFI
58
59
60 NOTES ABOUT THE BACKENDS
61
62 MYSQL 
63
64 drop-index:   requires a table to be specified with the :from keyword parameter
65 views:        mysql does not support views  
66 queries:      nested subqueries are not supported
67 syntax:       doesn't support the sql concatenation operator (||). 
68
69 SQLITE 
70
71 create-view:  column-list parameter not supported 
72 syntax:       doesn't support the sql SUBSTRING operator.