mentat/rusqlite/limits/enum.Limit.html

157 lines
10 KiB
HTML
Raw Normal View History

2018-08-22 17:04:13 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `Limit` enum in crate `rusqlite`.">
<meta name="keywords" content="rust, rustlang, rust-lang, Limit">
<title>rusqlite::limits::Limit - Rust</title>
<link rel="stylesheet" type="text/css" href="../../normalize.css">
<link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle">
<link rel="stylesheet" type="text/css" href="../../dark.css">
<link rel="stylesheet" type="text/css" href="../../main.css" id="themeStyle">
<script src="../../storage.js"></script>
</head>
<body class="rustdoc enum">
<!--[if lte IE 8]>
<div class="warning">
This old browser is unsupported and will most likely display funky
things.
</div>
<![endif]-->
<nav class="sidebar">
<div class="sidebar-menu">&#9776;</div>
<p class='location'>Enum Limit</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#variants">Variants</a><div class="sidebar-links"><a href="#variant.SQLITE_LIMIT_LENGTH">SQLITE_LIMIT_LENGTH</a><a href="#variant.SQLITE_LIMIT_SQL_LENGTH">SQLITE_LIMIT_SQL_LENGTH</a><a href="#variant.SQLITE_LIMIT_COLUMN">SQLITE_LIMIT_COLUMN</a><a href="#variant.SQLITE_LIMIT_EXPR_DEPTH">SQLITE_LIMIT_EXPR_DEPTH</a><a href="#variant.SQLITE_LIMIT_COMPOUND_SELECT">SQLITE_LIMIT_COMPOUND_SELECT</a><a href="#variant.SQLITE_LIMIT_VDBE_OP">SQLITE_LIMIT_VDBE_OP</a><a href="#variant.SQLITE_LIMIT_FUNCTION_ARG">SQLITE_LIMIT_FUNCTION_ARG</a><a href="#variant.SQLITE_LIMIT_ATTACHED">SQLITE_LIMIT_ATTACHED</a><a href="#variant.SQLITE_LIMIT_LIKE_PATTERN_LENGTH">SQLITE_LIMIT_LIKE_PATTERN_LENGTH</a><a href="#variant.SQLITE_LIMIT_VARIABLE_NUMBER">SQLITE_LIMIT_VARIABLE_NUMBER</a><a href="#variant.SQLITE_LIMIT_TRIGGER_DEPTH">SQLITE_LIMIT_TRIGGER_DEPTH</a><a href="#variant.SQLITE_LIMIT_WORKER_THREADS">SQLITE_LIMIT_WORKER_THREADS</a></div></div><p class='location'><a href='../index.html'>rusqlite</a>::<wbr><a href='index.html'>limits</a></p><script>window.sidebarCurrent = {name: 'Limit', ty: 'enum', relpath: ''};</script><script defer src="sidebar-items.js"></script></div>
</nav>
<div class="theme-picker">
<button id="theme-picker" aria-label="Pick another theme!">
<img src="../../brush.svg" width="18" alt="Pick another theme!">
</button>
<div id="theme-choices"></div>
</div>
<script src="../../theme.js"></script>
<nav class="sub">
<form class="search-form js-only">
<div class="search-container">
<input class="search-input" name="search"
autocomplete="off"
placeholder="Click or press S to search, ? for more options…"
type="search">
</div>
</form>
</nav>
<section id='main' class="content">
<h1 class='fqn'><span class='in-band'>Enum <a href='../index.html'>rusqlite</a>::<wbr><a href='index.html'>limits</a>::<wbr><a class="enum" href=''>Limit</a></span><span class='out-of-band'><span id='render-detail'>
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
[<span class='inner'>&#x2212;</span>]
</a>
</span><a class='srclink' href='../../src/libsqlite3_sys/lib.rs.html#20-46' title='goto source code'>[src]</a></span></h1>
<pre class='rust enum'><div class="docblock attributes">#[repr(C)]
</div>pub enum Limit {
SQLITE_LIMIT_LENGTH,
SQLITE_LIMIT_SQL_LENGTH,
SQLITE_LIMIT_COLUMN,
SQLITE_LIMIT_EXPR_DEPTH,
SQLITE_LIMIT_COMPOUND_SELECT,
SQLITE_LIMIT_VDBE_OP,
SQLITE_LIMIT_FUNCTION_ARG,
SQLITE_LIMIT_ATTACHED,
SQLITE_LIMIT_LIKE_PATTERN_LENGTH,
SQLITE_LIMIT_VARIABLE_NUMBER,
SQLITE_LIMIT_TRIGGER_DEPTH,
SQLITE_LIMIT_WORKER_THREADS,
}</pre><div class='docblock'><p>Run-Time Limit Categories</p>
</div><h2 id='variants' class='variants small-section-header'>
Variants<a href='#variants' class='anchor'></a></h2>
<span id="variant.SQLITE_LIMIT_LENGTH" class="variant small-section-header"><a href="#variant.SQLITE_LIMIT_LENGTH" class="anchor field"></a><span id='SQLITE_LIMIT_LENGTH.v' class='invisible'><code>SQLITE_LIMIT_LENGTH</code></span></span><div class='docblock'><p>The maximum size of any string or BLOB or table row, in bytes.</p>
</div><span id="variant.SQLITE_LIMIT_SQL_LENGTH" class="variant small-section-header"><a href="#variant.SQLITE_LIMIT_SQL_LENGTH" class="anchor field"></a><span id='SQLITE_LIMIT_SQL_LENGTH.v' class='invisible'><code>SQLITE_LIMIT_SQL_LENGTH</code></span></span><div class='docblock'><p>The maximum length of an SQL statement, in bytes.</p>
</div><span id="variant.SQLITE_LIMIT_COLUMN" class="variant small-section-header"><a href="#variant.SQLITE_LIMIT_COLUMN" class="anchor field"></a><span id='SQLITE_LIMIT_COLUMN.v' class='invisible'><code>SQLITE_LIMIT_COLUMN</code></span></span><div class='docblock'><p>The maximum number of columns in a table definition or in the result set of a SELECT
or the maximum number of columns in an index or in an ORDER BY or GROUP BY clause.</p>
</div><span id="variant.SQLITE_LIMIT_EXPR_DEPTH" class="variant small-section-header"><a href="#variant.SQLITE_LIMIT_EXPR_DEPTH" class="anchor field"></a><span id='SQLITE_LIMIT_EXPR_DEPTH.v' class='invisible'><code>SQLITE_LIMIT_EXPR_DEPTH</code></span></span><div class='docblock'><p>The maximum depth of the parse tree on any expression.</p>
</div><span id="variant.SQLITE_LIMIT_COMPOUND_SELECT" class="variant small-section-header"><a href="#variant.SQLITE_LIMIT_COMPOUND_SELECT" class="anchor field"></a><span id='SQLITE_LIMIT_COMPOUND_SELECT.v' class='invisible'><code>SQLITE_LIMIT_COMPOUND_SELECT</code></span></span><div class='docblock'><p>The maximum number of terms in a compound SELECT statement.</p>
</div><span id="variant.SQLITE_LIMIT_VDBE_OP" class="variant small-section-header"><a href="#variant.SQLITE_LIMIT_VDBE_OP" class="anchor field"></a><span id='SQLITE_LIMIT_VDBE_OP.v' class='invisible'><code>SQLITE_LIMIT_VDBE_OP</code></span></span><div class='docblock'><p>The maximum number of instructions in a virtual machine program used to implement an SQL statement.</p>
</div><span id="variant.SQLITE_LIMIT_FUNCTION_ARG" class="variant small-section-header"><a href="#variant.SQLITE_LIMIT_FUNCTION_ARG" class="anchor field"></a><span id='SQLITE_LIMIT_FUNCTION_ARG.v' class='invisible'><code>SQLITE_LIMIT_FUNCTION_ARG</code></span></span><div class='docblock'><p>The maximum number of arguments on a function.</p>
</div><span id="variant.SQLITE_LIMIT_ATTACHED" class="variant small-section-header"><a href="#variant.SQLITE_LIMIT_ATTACHED" class="anchor field"></a><span id='SQLITE_LIMIT_ATTACHED.v' class='invisible'><code>SQLITE_LIMIT_ATTACHED</code></span></span><div class='docblock'><p>The maximum number of attached databases.</p>
</div><span id="variant.SQLITE_LIMIT_LIKE_PATTERN_LENGTH" class="variant small-section-header"><a href="#variant.SQLITE_LIMIT_LIKE_PATTERN_LENGTH" class="anchor field"></a><span id='SQLITE_LIMIT_LIKE_PATTERN_LENGTH.v' class='invisible'><code>SQLITE_LIMIT_LIKE_PATTERN_LENGTH</code></span></span><div class='docblock'><p>The maximum length of the pattern argument to the LIKE or GLOB operators.</p>
</div><span id="variant.SQLITE_LIMIT_VARIABLE_NUMBER" class="variant small-section-header"><a href="#variant.SQLITE_LIMIT_VARIABLE_NUMBER" class="anchor field"></a><span id='SQLITE_LIMIT_VARIABLE_NUMBER.v' class='invisible'><code>SQLITE_LIMIT_VARIABLE_NUMBER</code></span></span><div class='docblock'><p>The maximum index number of any parameter in an SQL statement.</p>
</div><span id="variant.SQLITE_LIMIT_TRIGGER_DEPTH" class="variant small-section-header"><a href="#variant.SQLITE_LIMIT_TRIGGER_DEPTH" class="anchor field"></a><span id='SQLITE_LIMIT_TRIGGER_DEPTH.v' class='invisible'><code>SQLITE_LIMIT_TRIGGER_DEPTH</code></span></span><div class='docblock'><p>The maximum depth of recursion for triggers.</p>
</div><span id="variant.SQLITE_LIMIT_WORKER_THREADS" class="variant small-section-header"><a href="#variant.SQLITE_LIMIT_WORKER_THREADS" class="anchor field"></a><span id='SQLITE_LIMIT_WORKER_THREADS.v' class='invisible'><code>SQLITE_LIMIT_WORKER_THREADS</code></span></span><div class='docblock'><p>The maximum number of auxiliary worker threads that a single prepared statement may start.</p>
</div></section>
<section id='search' class="content hidden"></section>
<section class="footer"></section>
<aside id="help" class="hidden">
<div>
<h1 class="hidden">Help</h1>
<div class="shortcuts">
<h2>Keyboard Shortcuts</h2>
<dl>
<dt><kbd>?</kbd></dt>
<dd>Show this help dialog</dd>
<dt><kbd>S</kbd></dt>
<dd>Focus the search field</dd>
<dt><kbd></kbd></dt>
<dd>Move up in search results</dd>
<dt><kbd></kbd></dt>
<dd>Move down in search results</dd>
<dt><kbd></kbd></dt>
<dd>Switch tab</dd>
<dt><kbd>&#9166;</kbd></dt>
<dd>Go to active search result</dd>
<dt><kbd>+</kbd></dt>
<dd>Expand all sections</dd>
<dt><kbd>-</kbd></dt>
<dd>Collapse all sections</dd>
</dl>
</div>
<div class="infos">
<h2>Search Tricks</h2>
<p>
Prefix searches with a type followed by a colon (e.g.
<code>fn:</code>) to restrict the search to a given type.
</p>
<p>
Accepted types are: <code>fn</code>, <code>mod</code>,
<code>struct</code>, <code>enum</code>,
<code>trait</code>, <code>type</code>, <code>macro</code>,
and <code>const</code>.
</p>
<p>
Search functions by type signature (e.g.
<code>vec -> usize</code> or <code>* -> vec</code>)
</p>
</div>
</div>
</aside>
<script>
window.rootPath = "../../";
window.currentCrate = "rusqlite";
</script>
<script src="../../main.js"></script>
<script defer src="../../search-index.js"></script>
</body>
</html>