]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Documentation updates only (CVS 189)
authordrh <drh@noemail.net>
Tue, 20 Feb 2001 13:06:30 +0000 (13:06 +0000)
committerdrh <drh@noemail.net>
Tue, 20 Feb 2001 13:06:30 +0000 (13:06 +0000)
FossilOrigin-Name: d44abe54eb4a0c5eedf8f3ff59704ddb8dd68faf

manifest
manifest.uuid
www/lang.tcl

index 5e305493fdea7f56d9ca9c190002e3fd79665adc..ef7f264e3a3a04aa93c84d2164817980d587d16c 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Version\s1.0.23\s(CVS\s480)
-D 2001-02-20T00:00:00
+C Documentation\supdates\sonly\s(CVS\s189)
+D 2001-02-20T13:06:31
 F COPYRIGHT 74a8a6531a42e124df07ab5599aad63870fa0bd4
 F Makefile.in 7efa81e2985b45ba73db27d55b70cc927f5abfd7
 F README 51f6a4e7408b34afa5bc1c0485f61b6a4efb6958
@@ -85,13 +85,13 @@ F www/crosscompile.tcl c99efacb3aefaa550c6e80d91b240f55eb9fd33e
 F www/dynload.tcl 02eb8273aa78cfa9070dd4501dca937fb22b466c
 F www/fileformat.tcl cfb7fba80b7275555281ba2f256c00734bcdd1c9
 F www/index.tcl 0ca6421e6e82b17ed0c1779d46463211498f9d12
-F www/lang.tcl 9192e114b19987e630a41e879585b87006eb84a1
+F www/lang.tcl e3905bec9f0d0fd47d9838e991cab7d6f7aff47d
 F www/mingw.tcl fc5f4ba9d336b6e8c97347cc6496d6162461ef60
 F www/opcode.tcl cb3a1abf8b7b9be9f3a228d097d6bf8b742c2b6f
 F www/sqlite.tcl cb0d23d8f061a80543928755ec7775da6e4f362f
 F www/tclsqlite.tcl 06f81c401f79a04f2c5ebfb97e7c176225c0aef2
 F www/vdbe.tcl 0c8aaa529dd216ccbf7daaabd80985e413d5f9ad
-P 88447d45c8ac316868a8a3e3cbb0b0cdf279d89c
-R c6e68d8e0acc79309e138f6bca7eae27
+P cbfa44c32365a1c9d10c9fcfeebad2fea139aafb
+R 51dbb4fe2655a1b43c87ea8ebca2b24f
 U drh
-Z 4da5d2b3970bc87010da684a5997932a
+Z 14d4e5ae0729dab203dc2cf30932cb57
index f64790326a831a45f65f19d0dc4e7c160a65b800..34fd2ed1e7dff5054953b15be7d4f3d6b3ef405d 100644 (file)
@@ -1 +1 @@
-cbfa44c32365a1c9d10c9fcfeebad2fea139aafb
\ No newline at end of file
+d44abe54eb4a0c5eedf8f3ff59704ddb8dd68faf
\ No newline at end of file
index 49db367df6cc50099da7f53aaa19c5e3c2fd6e15..7ab318c1d82e861f4890c61bfcbe1337004a16a0 100644 (file)
@@ -1,7 +1,7 @@
 #
 # Run this Tcl script to generate the sqlite.html file.
 #
-set rcsid {$Id: lang.tcl,v 1.5 2000/08/04 13:49:03 drh Exp $}
+set rcsid {$Id: lang.tcl,v 1.6 2001/02/20 13:06:31 drh Exp $}
 
 puts {<html>
 <head>
@@ -361,6 +361,30 @@ operand of an IN operator, then the first row of the result of the
 SELECT becomes the value used in the expression.  If the SELECT yields
 more than one result row, all rows after the first are ignored.  If
 the SELECT yeilds no rows, then the value of the SELECT is NULL.</p>
+
+<p>The expression syntax currently supports the following
+functions:</p>
+
+<blockquote><pre>
+<font color="#2c2cf0"><big>count    min       max       sum
+avg      length    substr</big></font>
+</pre></blockquote>
+
+<p>
+The functions <b>count</b>, <b>sum</b>, and <b>avg</b> and the functions
+<b>min</b> and <b>max</b> used with only one argument are all aggregate
+functions.  This means that they are computed across all rows of the result.
+The functions <b>min</b> and <b>max</b>
+with two or more arguments and the 
+functions <b>length</b> and <b>substr</b>
+are non-aggregates.  Non-aggregate functions
+are computed separately for each row of the result.
+</p>
+
+<p>
+The "<b>count(*)</b>" syntax is supported but
+"<b>count(distinct</b> <i>COLUMN-NAME</i><b>)</b>" is not.
+</p>
 }
 
 Section INSERT insert
@@ -492,7 +516,7 @@ puts {
 command found in PostgreSQL.  If VACUUM is invoked with the name of a
 table or index, then the <b>gdbm_reorganize()</b> function is called
 on the corresponding GDBM file.  If VACUUM is invoked with no arguments,
-then <b>gdbm_reorganize()</b> is call on every GDBM file in the database.</p>
+then <b>gdbm_reorganize()</b> is called for every GDBM file in the database.</p>
 
 <p>It is a good idea to run VACUUM after creating large indices,
 especially indices where a single index value refers to many