X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=TODO;h=0bfb10dec3c45ca6ca950f1607c1e6f31f2a1e4d;hp=9e3d694ba3317d08123a3165f138f142fe65242c;hb=279b34c9e8e28545c8f2a0959acb01d90138eeda;hpb=b89f494d185b0ba98b06175404704cc9d762e321 diff --git a/TODO b/TODO index 9e3d694..0bfb10d 100644 --- a/TODO +++ b/TODO @@ -1,57 +1,30 @@ -GENERAL +TESTS TO ADD -* test on mcl. SCL no longer affordable to individuals; -* implement remaining functions for CLSQL AODBC backend; -* port Oracle and ODBC backend to UFFI. +* CACHE-TABLE-QUERIES +* Test that ":db-kind :key" adds an index for that key. This is complicated by different + backends showing autogenerated primary key in different ways. +* Large object testing +* Test bigint type +* :db-constraint tests +* *update-records-on-make-instance* +* test :retrieval :deferred joins COMMONSQL SPEC * Missing: - RECONNECT - CACHE-TABLE-QUERIES - *CACHE-TABLE-QUERIES-DEFAULT* - *DEFAULT-UPDATE-OBJECTS-MAX-LEN* UPDATE-OBJECT-JOINS - INSTANCE-REFRESHED - * Incompatible - - >> Initialisation and connection - - INITIALIZE-DATABASE-TYPE - o should initialise appropriate backend - - STATUS - o what is the behaviour in CommonSQL (esp :full parameter)? - - >> The functional sql interface SELECT - o should accept keyword arg :refresh and call INSTANCE-REFRESHED - o should return (values result-list field-names) - o should coerce values returned as strings to appropriate lisp type - - QUERY - o should return (values result-list field-names) - o should coerce values returned as strings to appropriate lisp type - - LIST-ATTRIBUTE-TYPES - o should return list of (attribute datatype precision scale nullable) - - - >> The object-oriented sql interface + o keyword arg :refresh should function as advertised DEF-VIEW-CLASS - o get :target-slot working - o implement :retrieval :immediate - - DO-QUERY,MAP-QUERY,LOOP - o should work with object queries as well as functional ones - + o Rework functioning of :immediate to be conformant. It + works as expect with target-slot, but not without target-slot >> Symbolic SQL syntax @@ -71,6 +44,15 @@ COMMONSQL SPEC o variables (e.g., table identifiers) should be instantiated at runtime +OPTIMIZATIONS + +* Revisit result-type list creation,perhaps caching + +POSSIBLE EXTENSIONS + +* port Oracle backend to UFFI +* large object support +* add support for prepared statements NOTES ABOUT THE BACKENDS @@ -78,9 +60,8 @@ NOTES ABOUT THE BACKENDS MYSQL drop-index: requires a table to be specified with the :from keyword parameter -transactions: don't seem to work views: mysql does not support views -queries: nested subqueries do not seem to work +queries: nested subqueries are not supported SQLITE