projects
/
clsql.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r1664: *** empty log message ***
[clsql.git]
/
doc
/
ref.sgml
diff --git
a/doc/ref.sgml
b/doc/ref.sgml
index 71d6da3a3afb6af0053ac3b702df619b4c6e4226..a0334ea5891a9b7090527fd8c2d4fb10e49aee05 100644
(file)
--- a/
doc/ref.sgml
+++ b/
doc/ref.sgml
@@
-1780,7
+1780,7
@@
</refnamediv>
<refsect1>
<title>Syntax</title>
</refnamediv>
<refsect1>
<title>Syntax</title>
- <synopsis><function>query</function> <replaceable>query-expression</replaceable> &key <replaceable>database</replaceable> => <returnvalue>result</returnvalue></synopsis>
+ <synopsis><function>query</function> <replaceable>query-expression</replaceable> &key <replaceable>database</replaceable>
<replaceable>types</replaceable>
=> <returnvalue>result</returnvalue></synopsis>
</refsect1>
<refsect1>
<title>Arguments and Values</title>
</refsect1>
<refsect1>
<title>Arguments and Values</title>
@@
-1889,7
+1889,7
@@
</refnamediv>
<refsect1>
<title>Syntax</title>
</refnamediv>
<refsect1>
<title>Syntax</title>
- <synopsis><function>map-query</function> <replaceable>output-type-spec</replaceable> <replaceable>function</replaceable> <replaceable>query-expression</replaceable> &key <replaceable>database</replaceable> => <returnvalue>result</returnvalue></synopsis>
+ <synopsis><function>map-query</function> <replaceable>output-type-spec</replaceable> <replaceable>function</replaceable> <replaceable>query-expression</replaceable> &key <replaceable>database</replaceable>
<replaceable>types</replaceable>
=> <returnvalue>result</returnvalue></synopsis>
</refsect1>
<refsect1>
<title>Arguments and Values</title>
</refsect1>
<refsect1>
<title>Arguments and Values</title>
@@
-1985,8
+1985,9
@@
(map-query '(vector double-float)
#'(lambda (salary name)
(declare (ignorable name))
(map-query '(vector double-float)
#'(lambda (salary name)
(declare (ignorable name))
- (coerce (read-from-string salary) 'double-float))
- "select salary,name from simple where salary > 8000")
+ (let ((*read-default-float-format* 'double-float))
+ (coerce (read-from-string salary) 'double-float))
+ "select salary,name from simple where salary > 8000"))
=> #(10000.0d0 8000.5d0)
(type-of *)
=> (SIMPLE-ARRAY DOUBLE-FLOAT (2))
=> #(10000.0d0 8000.5d0)
(type-of *)
=> (SIMPLE-ARRAY DOUBLE-FLOAT (2))
@@
-2048,7
+2049,7
@@
</refnamediv>
<refsect1>
<title>Syntax</title>
</refnamediv>
<refsect1>
<title>Syntax</title>
- <synopsis><function>do-query</function> ((&rest <replaceable>args</replaceable>) <replaceable>query-expression</replaceable> &key <replaceable>database</replaceable>) &body <replaceable>body</replaceable> => <returnvalue>nil</returnvalue></synopsis>
+ <synopsis><function>do-query</function> ((&rest <replaceable>args</replaceable>) <replaceable>query-expression</replaceable> &key <replaceable>database</replaceable>
<replaceable>types</replaceable>
) &body <replaceable>body</replaceable> => <returnvalue>nil</returnvalue></synopsis>
</refsect1>
<refsect1>
<title>Arguments and Values</title>
</refsect1>
<refsect1>
<title>Arguments and Values</title>
@@
-2163,6
+2164,10
@@
query via a loop clause</refpurpose>
<refclass>Loop Clause</refclass>
</refnamediv>
query via a loop clause</refpurpose>
<refclass>Loop Clause</refclass>
</refnamediv>
+ <refsect1>
+ <title>Compatibility</title>
+ <caution><para><function>loop-for-as-tuples</function> only works with &cmucl;.</para></caution>
+ </refsect1>
<refsect1>
<title>Syntax</title>
<synopsis><replaceable>var</replaceable> [<replaceable>type-spec</replaceable>] being {each | the} {record | records | tuple | tuples} {in | of} <replaceable>query</replaceable> [from <replaceable>database</replaceable>]</synopsis>
<refsect1>
<title>Syntax</title>
<synopsis><replaceable>var</replaceable> [<replaceable>type-spec</replaceable>] being {each | the} {record | records | tuple | tuples} {in | of} <replaceable>query</replaceable> [from <replaceable>database</replaceable>]</synopsis>
@@
-2289,6
+2294,7
@@
</refsect1>
</refentry>
</reference>
</refsect1>
</refentry>
</reference>
+
<reference>
<title><symbol>CLSQL-SYS</symbol></title>
<partintro>
<reference>
<title><symbol>CLSQL-SYS</symbol></title>
<partintro>
@@
-2297,11
+2303,6
@@
exported from <symbol>CLSQL</symbol>. These symbols are part of
the interface for database back-ends, but not part of the normal
user-interface of &clsql;.</para>
exported from <symbol>CLSQL</symbol>. These symbols are part of
the interface for database back-ends, but not part of the normal
user-interface of &clsql;.</para>
- <note>
- <para>This part has only one demonstration entry, since the
- rest still has to be written. In the meantime, use the
- source to understand the database back-end interface.</para>
- </note>
</partintro>
<refentry id="database-initialize-database-type">
<refnamediv>
</partintro>
<refentry id="database-initialize-database-type">
<refnamediv>