2005-11-27 11:56:53 +01:00
|
|
|
<h1>Help for SQL expressions</h1>
|
|
|
|
|
|
|
|
<h2>Description</h2>
|
|
|
|
|
|
|
|
<p>The «SQL expression» is added to WHERE clause of
|
|
|
|
view feed query. You can match on ttrss_entries table fields
|
|
|
|
and even use subselect to query additional information. This
|
|
|
|
functionality is considered to be advanced and requires basic
|
|
|
|
understanding of SQL.</p>
|
|
|
|
|
|
|
|
<h2>Examples</h2>
|
|
|
|
|
|
|
|
<p>Match all unread articles:</p>
|
|
|
|
|
2006-08-01 10:04:38 +02:00
|
|
|
<pre>ttrss_user_entries.unread = true</pre>
|
2005-11-27 11:56:53 +01:00
|
|
|
|
|
|
|
<p>Matches all articles which mention Linux in the title:</p>
|
|
|
|
|
2006-08-01 10:04:38 +02:00
|
|
|
<pre>ttrss_user_entries.title like '%Linux%'</pre>
|
2005-11-27 11:56:53 +01:00
|
|
|
|
|
|
|
<p>See the database schema included in the distribution package for gruesome
|
|
|
|
details.</p>
|
|
|
|
|