<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Hugh,</p>
<p>that depends on the provider in use, a PostGIS provider might
behave differently from a Shapefile. See if wrapping the comment
in /* comment */ works.</p>
<p>Cheers, Hannes<br>
</p>
<div class="moz-cite-prefix">Am 03.02.22 um 15:16 schrieb Hugh
Kelley:<br>
</div>
<blockquote type="cite"
cite="mid:CAOrcXHHdBKTzTi-Pjv9BimuMTjUiwRNk6xnWg=D0=QVS1Ro-5w@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>Hi all, <br>
</div>
<div><br>
</div>
<div>in the Layer Properties >> source >> Query
Builder dialogue, if I use "--" it shows that I've commented
out that line. when I test the query though, it throws an
error complaining about the comment I included. <br>
</div>
<div><br>
</div>
<div>Is there a way to include a comment in the query? <br>
</div>
<div><br>
</div>
<div>i've like to include a note to myself when I filter things
sometimes as it can be hard months or years later to figure
out the motivation. for example: <br>
</div>
<div><br>
</div>
<div>-- remove built neighborhood bikeway according to KML file
from client, per email 2022-02-03<br>
"LOCAL_ID" NOT IN (4030, 3533, 4307, 6015, 5217)</div>
<div><br>
</div>
<div>Maybe there's a better way to include this note, but it
seems that the closer the note is to the filter query
definition the more likely I am to see it. <br>
</div>
<div><br>
</div>
<div>thanks<br>
</div>
<br>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">Hugh <br>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Johannes Kröger / GIS-Entwickler/-Berater
WhereGroup GmbH
Grevenweg 89
20537 Hamburg
Germany
Tel: +49 (0)228 / 90 90 38 - 36
Fax: +49 (0)228 / 90 90 38 - 11
<a class="moz-txt-link-abbreviated" href="mailto:johannes.kroeger@wheregroup.com">johannes.kroeger@wheregroup.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.wheregroup.com">www.wheregroup.com</a>
Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885
-------------------------------
---------------------------------------------
Schon gewusst?
In unserem Blog geben wir Tipps & Tricks zu
Open-Source-GIS-Software
und berichten aus unserem Experten-Alltag:
<a class="moz-txt-link-freetext" href="https://wheregroup.com/blog/">https://wheregroup.com/blog/</a>
---------------------------------------------
</pre>
</body>
</html>