mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-10-11 08:53:20 +08:00
v0.0.2
This commit is contained in:
@@ -1,83 +1,83 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
<title>Specify new primary key for a relation</title>
|
||||
</head>
|
||||
<body class="docs"><div id="layout">
|
||||
<div id="layout-content"><div id="function.dbplus-rkeys" class="refentry">
|
||||
<div class="refnamediv">
|
||||
<h1 class="refname">dbplus_rkeys</h1>
|
||||
<p class="verinfo">(PHP 4 <= 4.1.0, PECL dbplus >= 0.9)</p><p class="refpurpose"><span class="refname">dbplus_rkeys</span> — <span class="dc-title">Specify new primary key for a relation</span></p>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="refsect1 description" id="refsect1-function.dbplus-rkeys-description">
|
||||
<h3 class="title">说明</h3>
|
||||
<div class="methodsynopsis dc-description">
|
||||
<span class="methodname"><strong>dbplus_rkeys</strong></span>
|
||||
( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$relation</code></span>
|
||||
, <span class="methodparam"><span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <code class="parameter">$domlist</code></span>
|
||||
) : <span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span></div>
|
||||
|
||||
<p class="para rdfs-comment">
|
||||
<span class="function"><strong>dbplus_rkeys()</strong></span> will replace the current
|
||||
primary key for <code class="parameter">relation</code> with the
|
||||
combination of domains specified by <code class="parameter">domlist</code>.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 parameters" id="refsect1-function.dbplus-rkeys-parameters">
|
||||
<h3 class="title">参数</h3>
|
||||
<p class="para">
|
||||
<dl>
|
||||
|
||||
|
||||
<dt>
|
||||
<code class="parameter">relation</code></dt>
|
||||
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
A relation opened by <span class="function"><a href="dbplus_open.html" class="function">dbplus_open()</a></span>.
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
|
||||
|
||||
<dt>
|
||||
<code class="parameter">domlist</code></dt>
|
||||
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
A combination of domains. May be passed as a single domain name
|
||||
string or as an array of domain names.
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 returnvalues" id="refsect1-function.dbplus-rkeys-returnvalues">
|
||||
<h3 class="title">返回值</h3>
|
||||
<p class="para">
|
||||
Returns resource on success or <strong><code>DBPLUS_ERR_UNKNOWN</code></strong> on
|
||||
failure.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 notes" id="refsect1-function.dbplus-rkeys-notes">
|
||||
<h3 class="title">注释</h3>
|
||||
<div class="warning"><strong class="warning">Warning</strong><p class="simpara">此函数是<em class="emphasis">实验性</em>的。此函数的表象,包括名称及其相关文档都可能在未来的
|
||||
PHP 发布版本中未通知就被修改。使用本函数风险自担 。</p></div>
|
||||
</div>
|
||||
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
<title>Specify new primary key for a relation</title>
|
||||
</head>
|
||||
<body class="docs"><div id="layout">
|
||||
<div id="layout-content"><div id="function.dbplus-rkeys" class="refentry">
|
||||
<div class="refnamediv">
|
||||
<h1 class="refname">dbplus_rkeys</h1>
|
||||
<p class="verinfo">(PHP 4 <= 4.1.0, PECL dbplus >= 0.9)</p><p class="refpurpose"><span class="refname">dbplus_rkeys</span> — <span class="dc-title">Specify new primary key for a relation</span></p>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="refsect1 description" id="refsect1-function.dbplus-rkeys-description">
|
||||
<h3 class="title">说明</h3>
|
||||
<div class="methodsynopsis dc-description">
|
||||
<span class="methodname"><strong>dbplus_rkeys</strong></span>
|
||||
( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$relation</code></span>
|
||||
, <span class="methodparam"><span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <code class="parameter">$domlist</code></span>
|
||||
) : <span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span></div>
|
||||
|
||||
<p class="para rdfs-comment">
|
||||
<span class="function"><strong>dbplus_rkeys()</strong></span> will replace the current
|
||||
primary key for <code class="parameter">relation</code> with the
|
||||
combination of domains specified by <code class="parameter">domlist</code>.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 parameters" id="refsect1-function.dbplus-rkeys-parameters">
|
||||
<h3 class="title">参数</h3>
|
||||
<p class="para">
|
||||
<dl>
|
||||
|
||||
|
||||
<dt>
|
||||
<code class="parameter">relation</code></dt>
|
||||
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
A relation opened by <span class="function"><a href="dbplus_open.html" class="function">dbplus_open()</a></span>.
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
|
||||
|
||||
<dt>
|
||||
<code class="parameter">domlist</code></dt>
|
||||
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
A combination of domains. May be passed as a single domain name
|
||||
string or as an array of domain names.
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 returnvalues" id="refsect1-function.dbplus-rkeys-returnvalues">
|
||||
<h3 class="title">返回值</h3>
|
||||
<p class="para">
|
||||
Returns resource on success or <strong><code>DBPLUS_ERR_UNKNOWN</code></strong> on
|
||||
failure.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 notes" id="refsect1-function.dbplus-rkeys-notes">
|
||||
<h3 class="title">注释</h3>
|
||||
<div class="warning"><strong class="warning">Warning</strong><p class="simpara">此函数是<em class="emphasis">实验性</em>的。此函数的表象,包括名称及其相关文档都可能在未来的
|
||||
PHP 发布版本中未通知就被修改。使用本函数风险自担 。</p></div>
|
||||
</div>
|
||||
|
||||
|
||||
</div></div></div></body></html>
|
Reference in New Issue
Block a user