Documentation Source Text

Check-in [67a942c86f]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix typos in the swarmvtab document.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:67a942c86ff788731970e75faabe93dc60ce3258a69160578c1c42f960e16f2b
User & Date: drh 2018-01-22 17:51:55
Context
2018-01-22
17:53
Fix typos in the lemon.html document. check-in: 62f434c8b8 user: drh tags: trunk
17:51
Fix typos in the swarmvtab document. check-in: 67a942c86f user: drh tags: trunk
17:24
Add a News entry for 3.22.0. Set the release date for 3.22.0. check-in: 95328e21fb user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to pages/swarmvtab.in.

48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
...
275
276
277
278
279
280
281
282
  <li> <b>Minimum rowid</b>. The smallest rowid value that the component
  table may contain.

  <li> <b>Maximum rowid</b>. The smallest rowid value that the component
  table may contain.
</ul>

<p>The interpretation of the the final column, if it is present, is 
[swarmvtab context|described here].

<p>For example, say the SQL statement returns the following data when 
executed:

<table striped=1>
<tr><th>Database URI<th>Table name<th>Mimimum rowid<th>Maximum rowid
<tr><td>test.db1 <td>t1 <td>0 <td>10
<tr><td>test.db2 <td>t2 <td>11 <td>20
<tr><td>test.db3 <td>t1 <td>21 <td>30
<tr><td>test.db4 <td>t1 <td>31 <td>40
</table>

<p>and the user queries the swarmvtab table for the row with rowid value
................................................................................
<codeblock>
  SELECT missing_udf(&lt;database-name&gt;, &lt;context&gt;);
  SELECT openclose_udf(&lt;database-name&gt;, &lt;context&gt;, 0);
  SELECT openclose_udf(&lt;database-name&gt;, &lt;context&gt;, 1);
</codeblock>

<p>as required.








|






|







 







<
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
...
275
276
277
278
279
280
281

  <li> <b>Minimum rowid</b>. The smallest rowid value that the component
  table may contain.

  <li> <b>Maximum rowid</b>. The smallest rowid value that the component
  table may contain.
</ul>

<p>The interpretation of the final column, if it is present, is 
[swarmvtab context|described here].

<p>For example, say the SQL statement returns the following data when 
executed:

<table striped=1>
<tr><th>Database URI<th>Table name<th>Minimum rowid<th>Maximum rowid
<tr><td>test.db1 <td>t1 <td>0 <td>10
<tr><td>test.db2 <td>t2 <td>11 <td>20
<tr><td>test.db3 <td>t1 <td>21 <td>30
<tr><td>test.db4 <td>t1 <td>31 <td>40
</table>

<p>and the user queries the swarmvtab table for the row with rowid value
................................................................................
<codeblock>
  SELECT missing_udf(&lt;database-name&gt;, &lt;context&gt;);
  SELECT openclose_udf(&lt;database-name&gt;, &lt;context&gt;, 0);
  SELECT openclose_udf(&lt;database-name&gt;, &lt;context&gt;, 1);
</codeblock>

<p>as required.