summaryrefslogtreecommitdiff
path: root/app/frontend/sqlmap/events.xml
blob: 030a77345bb50a243fd077ba488f7a1efc2d2d02 (plain)
1
2
3
4
5
6
7
8
9
10
11
<?xml version="1.0" encoding="utf-8" ?>
<sqlMapConfig>
  <select id="getEvents" resultClass="Entry">
    <![CDATA[
             SELECT * FROM entries
             WHERE end_date >= #date_from# AND begin_date <= #date_to#
               AND $calendar_clause$
             ORDER BY begin_date $order_clause$;
    ]]>
  </select>
</sqlMapConfig>