Fossil SCM

Improvements to comments in the introduction to the files_of_checkin virtual table.

drh 2016-05-18 02:28 trunk
Commit 06e2327c90fe7e7c60817bb67eb45efcd29bc284
1 file changed +6 -7
+6 -7
--- src/foci.c
+++ src/foci.c
@@ -13,23 +13,22 @@
1313
** [email protected]
1414
** http://www.hwaci.com/drh/
1515
**
1616
*******************************************************************************
1717
**
18
-** This routine implements an SQLite virtual table that gives all of the
19
-** files associated with a single check-in.
18
+** This routine implements eponymous virtual table for SQLite that gives
19
+** all of the files associated with a single check-in.
2020
**
21
-** The filename "foci" is short for "Files of Check-in".
21
+** The source code filename "foci" is short for "Files of Check-in".
2222
**
2323
** Usage example:
2424
**
25
-** CREATE VIRTUAL TABLE temp.foci USING files_of_checkin;
26
-** -- ^^^^--- important!
27
-** SELECT * FROM foci WHERE checkinID=symbolic_name_to_rid('trunk');
25
+** SELECT * FROM files_of_checkin
26
+** WHERE checkinID=symbolic_name_to_rid('trunk');
2827
**
2928
** The symbolic_name_to_rid('trunk') function finds the BLOB.RID value
30
-** corresponding to the 'trunk' tag. Then the files_of_checkin virtual table
29
+** corresponding to the 'trunk' tag. Then the foci virtual table
3130
** decodes the manifest defined by that BLOB and returns all files described
3231
** by that manifest. The "schema" for the temp.foci table is:
3332
**
3433
** CREATE TABLE files_of_checkin(
3534
** checkinID INTEGER, -- RID for the check-in manifest
3635
--- src/foci.c
+++ src/foci.c
@@ -13,23 +13,22 @@
13 ** [email protected]
14 ** http://www.hwaci.com/drh/
15 **
16 *******************************************************************************
17 **
18 ** This routine implements an SQLite virtual table that gives all of the
19 ** files associated with a single check-in.
20 **
21 ** The filename "foci" is short for "Files of Check-in".
22 **
23 ** Usage example:
24 **
25 ** CREATE VIRTUAL TABLE temp.foci USING files_of_checkin;
26 ** -- ^^^^--- important!
27 ** SELECT * FROM foci WHERE checkinID=symbolic_name_to_rid('trunk');
28 **
29 ** The symbolic_name_to_rid('trunk') function finds the BLOB.RID value
30 ** corresponding to the 'trunk' tag. Then the files_of_checkin virtual table
31 ** decodes the manifest defined by that BLOB and returns all files described
32 ** by that manifest. The "schema" for the temp.foci table is:
33 **
34 ** CREATE TABLE files_of_checkin(
35 ** checkinID INTEGER, -- RID for the check-in manifest
36
--- src/foci.c
+++ src/foci.c
@@ -13,23 +13,22 @@
13 ** [email protected]
14 ** http://www.hwaci.com/drh/
15 **
16 *******************************************************************************
17 **
18 ** This routine implements eponymous virtual table for SQLite that gives
19 ** all of the files associated with a single check-in.
20 **
21 ** The source code filename "foci" is short for "Files of Check-in".
22 **
23 ** Usage example:
24 **
25 ** SELECT * FROM files_of_checkin
26 ** WHERE checkinID=symbolic_name_to_rid('trunk');
 
27 **
28 ** The symbolic_name_to_rid('trunk') function finds the BLOB.RID value
29 ** corresponding to the 'trunk' tag. Then the foci virtual table
30 ** decodes the manifest defined by that BLOB and returns all files described
31 ** by that manifest. The "schema" for the temp.foci table is:
32 **
33 ** CREATE TABLE files_of_checkin(
34 ** checkinID INTEGER, -- RID for the check-in manifest
35

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button