1 <?xml version=
"1.0" encoding=
"iso-8859-1" ?>
4 <base>CRM/Contact
</base>
5 <class>SavedSearch
</class>
6 <name>civicrm_saved_search
</name>
7 <comment>Users can save their complex SQL queries and use them later.
</comment>
11 <type>int unsigned
</type>
12 <required>true
</required>
13 <comment>Saved search ID
</comment>
18 <autoincrement>false
</autoincrement>
22 <title>SQL Query
</title>
25 <comment>SQL query for this search
</comment>
30 <name>form_values
</name>
31 <title>Submitted Form Values
</title>
34 <comment>Submitted form values for this search
</comment>
38 <name>is_active
</name>
40 <comment>Is this entry active?
</comment>
45 <name>mapping_id
</name>
46 <type>int unsigned
</type>
47 <comment>Foreign key to civicrm_mapping used for saved search-builder searches.
</comment>
51 <name>mapping_id
</name>
52 <table>civicrm_mapping
</table>
57 <name>search_custom_id
</name>
58 <type>int unsigned
</type>
59 <comment>Foreign key to civicrm_option value table used for saved custom searches.
</comment>
63 <name>where_clause
</name>
65 <comment>the sql where clause if a saved search acl
</comment>
69 <name>select_tables
</name>
71 <comment>the tables to be included in a select data
</comment>
75 <name>where_tables
</name>
77 <comment>the tables to be included in the count statement
</comment>