X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=TODO;h=bf7884a19001bb60db9692a1ac6d671d48db124e;hp=2a8c417fe5583e4c5662eaca4e54ae49c86148b4;hb=e303385b84c6246c7d60ebd95d764a282a181a23;hpb=fd11963eb2f46ffac6da2b18fab3d7ff2a4390cf diff --git a/TODO b/TODO index 2a8c417..bf7884a 100644 --- a/TODO +++ b/TODO @@ -1,9 +1,3 @@ -GENERAL - -* port Oracle backend to UFFI. -* consider adding large object support to mysql and odbc -* add support for prepared statements. - TESTS TO ADD * CACHE-TABLE-QUERIES @@ -12,50 +6,44 @@ TESTS TO ADD * Large object testing * Test bigint type * :db-constraint tests +* test *db-auto-sync* +* test SELECT caching +* for-each-row macro +* universal-time COMMONSQL SPEC -* Missing: - - UPDATE-OBJECT-JOINS - * Incompatible >> The functional sql interface SELECT o keyword arg :refresh should function as advertised - o should accept type-modified database identifiers (e.g., - [foo :string] which means that the values in column foo are returned - as Lisp strings) - >> The object-oriented sql interface + >> Symbolic SQL syntax - DEF-VIEW-CLASS - o get :target-slot working - o implement :retrieval :immediate + o userenv (Oracle specific but deprecated in Oracle 9) - LOOP - o should work with object queries as well as functional ones +VARIANCES FROM COMMONSQL - >> Symbolic SQL syntax +UPDATE-OBJECT-JOINS: + Rather than simply reading the values for each + object, to meet CommonSQL spec need to generate a single + query to read values for all objects, up to max-len count. - o Complete sql expressions (see operations.lisp) +COMMIT,ROLLBACK,START-TRANSACTION: + When COMMIT or ROLLBACK are called outside of WITH-TRANSACTION, an sql + transaction must be explicitly started first with START-TRANSACTION. - substr - some - order-by - times - nvl - null - distinct - except - intersect - between - userenv +OPTIMIZATIONS + +* Revisit result-type list creation,perhaps caching - o variables (e.g., table identifiers) should be instantiated at runtime +POSSIBLE EXTENSIONS +* port Oracle backend to UFFI +* large object support +* add support for prepared statements NOTES ABOUT THE BACKENDS @@ -65,7 +53,9 @@ MYSQL drop-index: requires a table to be specified with the :from keyword parameter views: mysql does not support views queries: nested subqueries are not supported +syntax: doesn't support the sql concatenation operator (||). SQLITE -create-view: column-list parameter not supported +create-view: column-list parameter not supported +syntax: doesn't support the sql SUBSTRING operator.