mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-06-19 06:16:58 +08:00
83 lines
2.9 KiB
HTML
83 lines
2.9 KiB
HTML
<!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>Create a lob object</title>
|
|
</head>
|
|
<body class="docs"><div id="layout">
|
|
<div id="layout-content"><div id="function.cubrid-lob2-new" class="refentry">
|
|
<div class="refnamediv">
|
|
<h1 class="refname">cubrid_lob2_new</h1>
|
|
<p class="verinfo">(PECL CUBRID >= 8.4.1)</p><p class="refpurpose"><span class="refname">cubrid_lob2_new</span> — <span class="dc-title">Create a lob object</span></p>
|
|
|
|
</div>
|
|
|
|
<div class="refsect1 description" id="refsect1-function.cubrid-lob2-new-description">
|
|
<h3 class="title">说明</h3>
|
|
<div class="methodsynopsis dc-description">
|
|
<span class="methodname"><strong>cubrid_lob2_new</strong></span>
|
|
([ <span class="methodparam"><span class="type">resource</span> <code class="parameter">$conn_identifier</code></span>
|
|
[, <span class="methodparam"><span class="type">string</span> <code class="parameter">$type</code><span class="initializer"> = "BLOB"</span></span>
|
|
]] ) : <span class="type">resource</span></div>
|
|
|
|
<p class="para rdfs-comment">
|
|
The <span class="function"><strong>cubrid_lob2_new()</strong></span> function is used to create a lob object (both BLOB and CLOB).
|
|
This function should be used before you bind a lob object.
|
|
</p>
|
|
</div>
|
|
|
|
|
|
<div class="refsect1 parameters" id="refsect1-function.cubrid-lob2-new-parameters">
|
|
<h3 class="title">参数</h3>
|
|
<p class="para">
|
|
<dl>
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">conn_identifier</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">Connection identifier. If the connection identifier is not specified,
|
|
the last connection opened by <span class="function"><a href="cubrid_connect.html" class="function">cubrid_connect()</a></span> or
|
|
<span class="function"><a href="cubrid_connect_with_url.html" class="function">cubrid_connect_with_url()</a></span> is assumed.</p>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">type</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">It may be "BLOB" or "CLOB", it won't be case-sensitive. The default value is "BLOB".</p>
|
|
</dd>
|
|
|
|
|
|
</dl>
|
|
|
|
</p>
|
|
</div>
|
|
|
|
|
|
<div class="refsect1 returnvalues" id="refsect1-function.cubrid-lob2-new-returnvalues">
|
|
<h3 class="title">返回值</h3>
|
|
<p class="para">
|
|
Lob identifier when it is successful.
|
|
</p>
|
|
<p class="para">
|
|
<strong><code>FALSE</code></strong> on failure.
|
|
</p>
|
|
</div>
|
|
|
|
|
|
<div class="refsect1 seealso" id="refsect1-function.cubrid-lob2-new-seealso">
|
|
<h3 class="title">参见</h3>
|
|
<p class="para">
|
|
<ul class="simplelist">
|
|
<li class="member"><span class="function"><a href="cubrid_lob2_close.html" class="function" rel="rdfs-seeAlso">cubrid_lob2_close()</a> - Close LOB object</span></li>
|
|
</ul>
|
|
</p>
|
|
</div>
|
|
|
|
</div></div></div></body></html> |