This file is indexed.

/usr/share/doc/cl-sql/html/delete-records.html is in cl-sql 6.5.0-1.

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
43
44
<?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>DELETE-RECORDS</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-fdml.html" title="Functional Data Manipulation Language (FDML)" /><link rel="prev" href="update-records.html" title="UPDATE-RECORDS" /><link rel="next" href="execute-command.html" title="EXECUTE-COMMAND" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">DELETE-RECORDS</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="update-records.html">Prev</a> </td><th width="60%" align="center">Functional Data Manipulation Language (FDML)</th><td width="20%" align="right"> <a accesskey="n" href="execute-command.html">Next</a></td></tr></table><hr /></div><div class="refentry"><a id="delete-records"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>DELETE-RECORDS — Delete records from a database table.<strong>Function</strong></p></div><div class="refsect1"><a id="idp62426768"></a><h2>Syntax</h2><pre class="synopsis">
      <code class="function">delete-records</code> &amp;key <em class="replaceable"><code>from</code></em> <em class="replaceable"><code>where</code></em> <em class="replaceable"><code>database</code></em> =&gt; <span class="returnvalue"></span></pre></div><div class="refsect1"><a id="idp62430576"></a><h2>Arguments and Values</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="parameter"><code>from</code></em></span></dt><dd><p>
              A string, symbol or symbolic SQL expression representing
              the name of a table existing in
              <em class="parameter"><code>database</code></em>.
            </p></dd><dt><span class="term"><em class="parameter"><code>where</code></em></span></dt><dd><p>
              A symbolic SQL expression. 
            </p></dd><dt><span class="term"><em class="parameter"><code>database</code></em></span></dt><dd><p>A 
            <a class="glossterm" href="glossary.html#gloss-database-object"><em class="glossterm">database
            object</em></a>. This will default to the value
            of <span class="symbol">*default-database*</span>.</p></dd></dl></div></div><div class="refsect1"><a id="idp62440448"></a><h2>Description</h2><p>Deletes records satisfying the SQL expression
      <em class="parameter"><code>where</code></em> from the table specified by
      <em class="parameter"><code>from</code></em> in <em class="parameter"><code>database</code></em>
      specifies a database which defaults to
      <span class="symbol">*default-database*</span>.
      </p></div><div class="refsect1"><a id="idp62444352"></a><h2>Examples</h2><pre class="screen">
(select [first-name] [last-name] [email] 
        :from [employee]
        :where [= [emplid] 11] 
        :field-names nil)
=&gt; (("Yuri" "Gagarin" "gagarin@soviet.org"))
(delete-records :from [employee] :where [= [emplid] 11])
=&gt; 
(select [first-name] [last-name] [email] 
        :from [employee]
        :where [= [emplid] 11] 
        :field-names nil)
=&gt; NIL
      </pre></div><div class="refsect1"><a id="idp62446320"></a><h2>Side Effects</h2><p>
        Modifications are made to the underlying database. 
      </p></div><div class="refsect1"><a id="idp62447712"></a><h2>Affected by</h2><p>
        None. 
      </p></div><div class="refsect1"><a id="idp62449056"></a><h2>Exceptional Situations</h2><p>
        An error of type <span class="symbol">sql-database-data-error</span> is
        signalled if <em class="parameter"><code>from</code></em> is not an existing
        table in <em class="parameter"><code>database</code></em> or if the SQL
        statement resulting from the symbolic expression
        <em class="parameter"><code>where</code></em> does not return a Boolean value. 
      </p></div><div class="refsect1"><a id="idp62452992"></a><h2>See Also</h2><p>
        </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="link" href="insert-records.html" title="INSERT-RECORDS"><code class="function">insert-records</code></a></td></tr><tr><td><a class="link" href="update-records.html" title="UPDATE-RECORDS"><code class="function">update-records</code></a></td></tr></table><p>
      </p></div><div class="refsect1"><a id="idp62457552"></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="update-records.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ref-fdml.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="execute-command.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">UPDATE-RECORDS </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> EXECUTE-COMMAND</td></tr></table></div></body></html>