1 DOCUMENTATION TO DO LIST
3 1. Variances from CommonSQL
5 - Ideally, this will be extremely minimal
7 - The SQL syntax state functions are macros in CLSQL.
9 2. Underdocumented CommonSQL features:
12 - SQL operators: ||, SUBSTR, MINUS, INTERSECT, UNION, NVL
14 2. CLSQL extensions to CommonSQL
16 - RESULT-TYPES, FIELD-NAMES keywords for SELECT, QUERY, DO-QUERY and
19 - New types such as wall-time, boolean, and bigint
21 - SQL operators: group-by, limit, not-null, ==, is, having, the, uplike,
22 sql-view-class, coalesce, except (just from a quick scan of
25 - FDDL: list-views, view-exists-p, list-indexes, list-table-indexes,
26 index-exists-p, create-sequence, drop-sequence, list-sequences,
27 sequence-exists-p, sequence-next, sequence-last, set-sequence-position
29 - FDML: TRUNCATE-DATABASE, DESCRIBE-TABLE, FOR-EACH-ROW and large object
32 - OODML: *db-auto-sync*
34 - SELECT: additional keyword arguments accepted include :LIMIT, :OFFSET,
37 - SQL-RECORDING-P: also accepts :both and :either values for the TYPE
40 - DROP-TABLE/DROP-VIEW/DROP-INDEX: keyword arg :if-does-not-exist.
42 - DROP-INDEX: keyword arg :on (for MySQL).
44 - DEF-VIEW-CLASS: DB-CONSTRAINTS, DB-TYPE and VOID-VALUE slot options.
46 - CREATE-TABLE: keyword args :TRANSACTIONS (for MySQL) and :CONSTRAINTS;
47 description arg accepts optional DB-TYPE string.
49 - transactions: START-TRANSACTION and IN-TRANSACTION-P.
51 - FIND-DATABASE: :db-type keyword arg.
53 - CONNECT: :make-default and :pool keyword args.
55 - Tranactions: AUTOCOMMIT
57 4. Documenting lower level, non-CommonSQL functions (some of this is already
61 - database-query-result-set
62 - with-default-database, with-database, create-database, probe-database,
63 destroy-database, list-databases.
66 5. Notes on any peculiarities of each of the backends (e.g., unsupported
67 features, notable extensions etc.).
71 drop-index: requires a table to be specified with the :from parameter
72 views: mysql does not support views
73 queries: nested subqueries are not supported
74 syntax: doesn't support the sql concatenation operator (||).
75 doesn't support INTERSECT/EXCEPT set operations.
76 create-table: the transactions keyword arg controls whether the created
77 table is an InnoDB table (supporting transactions) or not.
81 connection: specifying ":memory:" gives you an SQLite database in RAM.
82 create-view: column-list parameter not supported
83 syntax: doesn't support the sql SUBSTRING operator.