X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=TODO;h=f3852b0fd317cc1da6131ac6c93265d753a6cf5d;hb=ec9b352b8205e4204a06797f98970b03cf532ab2;hp=1b031763174e24aab28ed0b9edbdd72c3c5fecbc;hpb=66b64b326d109d6cb0d96923b60ed6aaeaeabb21;p=clsql.git diff --git a/TODO b/TODO index 1b03176..f3852b0 100644 --- a/TODO +++ b/TODO @@ -1,58 +1,33 @@ GENERAL -* test on (and port to) openmcl and mcl. SCL no longer affordable to - individuals; -* implement remaining functions for CLSQL AODBC backend; -* port Oracle and ODBC backend to UFFI. -* port postgresql-socket backend to OpenMCL +* 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 +* Test that ":db-kind :key" adds an index for that key. This is complicated by different + backends showing autogenerated primary key in different ways. +* Test New universal and bigint types, add tests for other types such as duration and money +* Large object testing +* :db-constraint tests 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 - - CONNECT - o should accept string as connection spec - - DISCONNECT - o should accept string as connection spec - - 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) - - LOOP - o the extension is currently CMUCL specific - + 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 @@ -60,13 +35,9 @@ COMMONSQL SPEC o get :target-slot working o implement :retrieval :immediate - LIST-CLASSES - o keyword arg :root-class should do something (portable) - - DO-QUERY,MAP-QUERY,LOOP + LOOP o should work with object queries as well as functional ones - >> Symbolic SQL syntax o Complete sql expressions (see operations.lisp) @@ -92,9 +63,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