X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=TODO;h=fee5fe3e7ab461357f01334fd37a8dd7aac38b77;hb=89465a80557c2b03b9701b4239a34ded292eb018;hp=aaaa3d7ac644473d681c040616cdeae75f3f930d;hpb=b193d5d794ea2ec1feb850136ec0affccda5d835;p=clsql.git diff --git a/TODO b/TODO index aaaa3d7..fee5fe3 100644 --- a/TODO +++ b/TODO @@ -1,14 +1,13 @@ -GENERAL - -* port Oracle backend to UFFI. - TESTS TO ADD * CACHE-TABLE-QUERIES -* :VOID-VALUE -* :db-kind :key adds an index for that key, complicated by different - backends show autogenerated primary key in different ways. - +* 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* + COMMONSQL SPEC * Missing: @@ -21,23 +20,12 @@ COMMONSQL SPEC SELECT o keyword arg :refresh should function as advertised - o should return (values result-list field-names) - o should coerce values returned as strings to appropriate lisp type - - QUERY - o should coerce values returned as strings to appropriate lisp type - for SQLite backend - + >> The object-oriented sql interface 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 - - >> Symbolic SQL syntax o Complete sql expressions (see operations.lisp) @@ -56,6 +44,20 @@ COMMONSQL SPEC o variables (e.g., table identifiers) should be instantiated at runtime +OPTIMIZATIONS + +* Revisit result-type list creation,perhaps caching +* Use an inner join for :target-slot in SELECTS rather than multiple + queries. For example, in the test suite: + SELECT address.addressid,address.street_number,... FROM address + INNER JOIN employee_address ON employe_address.address_id=address.address_id + AND emplid= + +POSSIBLE EXTENSIONS + +* port Oracle backend to UFFI +* large object support +* add support for prepared statements NOTES ABOUT THE BACKENDS