• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/db-4.8.30/docs/api_reference/TCL/
1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml">
4  <head>
5    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6    <title>db get_join</title>
7    <link rel="stylesheet" href="apiReference.css" type="text/css" />
8    <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
9    <link rel="start" href="index.html" title="Berkeley DB TCL API Reference" />
10    <link rel="up" href="tclapi.html" title="Chapter��1.�� Berkeley DB Tcl APIs" />
11    <link rel="prev" href="db_get.html" title="db get" />
12    <link rel="next" href="db_get_type.html" title="db get_type" />
13  </head>
14  <body>
15    <div class="navheader">
16      <table width="100%" summary="Navigation header">
17        <tr>
18          <th colspan="3" align="center"><span class="emphasis"><em>db</em></span> get_join</th>
19        </tr>
20        <tr>
21          <td width="20%" align="left"><a accesskey="p" href="db_get.html">Prev</a>��</td>
22          <th width="60%" align="center">Chapter��1.��
23                Berkeley DB Tcl APIs
24        </th>
25          <td width="20%" align="right">��<a accesskey="n" href="db_get_type.html">Next</a></td>
26        </tr>
27      </table>
28      <hr />
29    </div>
30    <div class="sect1" lang="en" xml:lang="en">
31      <div class="titlepage">
32        <div>
33          <div>
34            <h2 class="title" style="clear: both"><a id="db_get_join"></a><span class="emphasis"><em>db</em></span> get_join</h2>
35          </div>
36        </div>
37      </div>
38      <pre class="programlisting">db get_join
39	[-txn txnid]
40	{<span class="emphasis"><em>db</em></span> key}
41	{<span class="emphasis"><em>db</em></span> key}
42	... </pre>
43      <p>
44         The <span class="emphasis"><em>db</em></span> <span class="bold"><strong>get_join</strong></span>
45         command performs the cursor operations required to join the specified
46         keys and returns a list of joined {key data} pairs. 
47         See <a href="../../programmer_reference/am_cursor.html#am_join" class="olink">Equality Join</a>
48         in the <em class="citetitle">Berkeley DB Programmer's Reference Guide</em>  for more
49         information on the underlying requirements for joining.
50    </p>
51      <p>
52        The options are as follows:
53    </p>
54      <div class="itemizedlist">
55        <ul type="disc">
56          <li>
57            <p>
58                 <span class="bold"><strong>-txn txnid</strong></span> 
59            </p>
60            <p>
61                 If the operation is part of an application-specified transaction, the
62                 <span class="bold"><strong>txnid</strong></span> parameter is a transaction
63                 handle returned from <span class="emphasis"><em>env</em></span> <span class="bold"><strong>txn</strong></span>.  If no transaction handle is specified,
64                 but the operation occurs in a transactional database, the operation
65                 will be implicitly transaction protected.
66            </p>
67          </li>
68        </ul>
69      </div>
70      <p>
71        In the case of error, a Tcl error is thrown.
72    </p>
73    </div>
74    <div class="navfooter">
75      <hr />
76      <table width="100%" summary="Navigation footer">
77        <tr>
78          <td width="40%" align="left"><a accesskey="p" href="db_get.html">Prev</a>��</td>
79          <td width="20%" align="center">
80            <a accesskey="u" href="tclapi.html">Up</a>
81          </td>
82          <td width="40%" align="right">��<a accesskey="n" href="db_get_type.html">Next</a></td>
83        </tr>
84        <tr>
85          <td width="40%" align="left" valign="top"><span class="emphasis"><em>db</em></span> get��</td>
86          <td width="20%" align="center">
87            <a accesskey="h" href="index.html">Home</a>
88          </td>
89          <td width="40%" align="right" valign="top">��<span class="emphasis"><em>db</em></span> get_type</td>
90        </tr>
91      </table>
92    </div>
93  </body>
94</html>
95