/usr/share/doc/cl-sql/html/sql-expression.html is in cl-sql 6.7.0-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>SQL-EXPRESSION</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1" /><link rel="home" href="index.html" title="CLSQL Users' Guide" /><link rel="up" href="ref-syntax.html" title="The Symbolic SQL Syntax" /><link rel="prev" href="sql.html" title="SQL" /><link rel="next" href="sql-operation.html" title="SQL-OPERATION" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">SQL-EXPRESSION</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="sql.html">Prev</a> </td><th width="60%" align="center">The Symbolic SQL Syntax</th><td width="20%" align="right"> <a accesskey="n" href="sql-operation.html">Next</a></td></tr></table><hr /></div><div class="refentry"><a id="sql-expression"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>SQL-EXPRESSION — Constructs an SQL expression from supplied keyword arguments.<strong>Function</strong></p></div><div class="refsect1"><a id="idp73270912"></a><h2>Syntax</h2><pre class="synopsis">
<code class="function">sql-expression &key</code> <em class="parameter"><code>string</code></em> <em class="parameter"><code>table</code></em> <em class="parameter"><code>alias</code></em> <em class="parameter"><code>attribute</code></em> <em class="parameter"><code>type</code></em> => <span class="returnvalue">result</span></pre></div><div class="refsect1"><a id="idp73277136"></a><h2>Arguments and Values</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="parameter"><code>string</code></em></span></dt><dd><p>A string.</p></dd><dt><span class="term"><em class="parameter"><code>table</code></em></span></dt><dd><p>A symbol representing a database table identifier.</p></dd><dt><span class="term"><em class="parameter"><code>alias</code></em></span></dt><dd><p>A table alias.</p></dd><dt><span class="term"><em class="parameter"><code>attribute</code></em></span></dt><dd><p>A symbol representing an attribute identifier.</p></dd><dt><span class="term"><em class="parameter"><code>type</code></em></span></dt><dd><p>A type specifier.</p></dd><dt><span class="term"><span class="returnvalue">result</span></span></dt><dd><p>A object of type <span class="type">sql-expression</span>.</p></dd></dl></div></div><div class="refsect1"><a id="idp73291744"></a><h2>Description</h2><p>Returns an SQL expression constructed from the supplied
arguments which may be combined as follows:</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: opencircle; "><li class="listitem" style="list-style-type: circle"><p>
<em class="parameter"><code>attribute</code></em> and
<em class="parameter"><code>type</code></em>;
</p></li><li class="listitem" style="list-style-type: circle"><p>
<em class="parameter"><code>attribute</code></em>;
</p></li><li class="listitem" style="list-style-type: circle"><p>
<em class="parameter"><code>alias</code></em> or <em class="parameter"><code>table</code></em> and
<em class="parameter"><code>attribute</code></em> and
<em class="parameter"><code>type</code></em>;
</p></li><li class="listitem" style="list-style-type: circle"><p>
<em class="parameter"><code>alias</code></em> or
<em class="parameter"><code>table</code></em> and
<em class="parameter"><code>attribute</code></em>;
</p></li><li class="listitem" style="list-style-type: circle"><p>
<em class="parameter"><code>table</code></em>,
<em class="parameter"><code>attribute</code></em> and
<em class="parameter"><code>type</code></em>;
</p></li><li class="listitem" style="list-style-type: circle"><p>
<em class="parameter"><code>table</code></em> and
<em class="parameter"><code>attribute</code></em>;
</p></li><li class="listitem" style="list-style-type: circle"><p>
<em class="parameter"><code>table</code></em>
and <em class="parameter"><code>alias</code></em>;
</p></li><li class="listitem" style="list-style-type: circle"><p>
<em class="parameter"><code>table</code></em>;
</p></li><li class="listitem" style="list-style-type: circle"><p>
<em class="parameter"><code>string</code></em>.
</p></li></ul></div></div><div class="refsect1"><a id="idp73315648"></a><h2>Examples</h2><pre class="screen">
(sql-expression :table 'foo :attribute 'bar)
=> #<CLSQL-SYS:SQL-IDENT-ATTRIBUTE FOO.BAR>
(sql-expression :attribute 'baz)
=> #<CLSQL-SYS:SQL-IDENT-ATTRIBUTE BAZ>
</pre></div><div class="refsect1"><a id="idp73317424"></a><h2>Side Effects</h2><p>None.</p></div><div class="refsect1"><a id="idp73318768"></a><h2>Affected by</h2><p>
None.
</p></div><div class="refsect1"><a id="idp73320112"></a><h2>Exceptional Situations</h2><p>An error of type <a class="link" href="sql-user-error.html" title="SQL-USER-ERROR"><code class="function">sql-user-error</code></a>
is signalled if an unsupported combination of keyword arguments is
specified.
</p></div><div class="refsect1"><a id="idp73322656"></a><h2>See Also</h2><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="link" href="sql.html" title="SQL"><code class="function">sql</code></a></td></tr><tr><td><a class="link" href="sql-operation.html" title="SQL-OPERATION"><code class="function">sql-operation</code></a></td></tr><tr><td><a class="link" href="sql-operator.html" title="SQL-OPERATOR"><code class="function">sql-operator</code></a></td></tr></table></div><div class="refsect1"><a id="idp73328016"></a><h2>Notes</h2><p>None.</p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="sql.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ref-syntax.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="sql-operation.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">SQL </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> SQL-OPERATION</td></tr></table></div></body></html>
|