Subject: Developers of Sympa
List archive
[sympa-dev] Patch to support SQL Named filters, like LDAP Named filters
- From: Sylvain Amrani <address@concealed>
- To: address@concealed, sympa-authors <address@concealed>
- Subject: [sympa-dev] Patch to support SQL Named filters, like LDAP Named filters
- Date: Tue, 12 Sep 2006 21:07:46 +0200
Hi, I submit a small patch on sourcesup to add SQL Named filters functionality : http://sourcesup.cru.fr/tracker/index.php?func=detail&aid=997&group_id=23&atid=170 This way, you can write this scenario condition : search(example.sql, [sender]) smtp,smime,md5 -> do_itHere is the example.sql named filter : sql_named_filter_query db_type mysql db_name people db_host dbserver.rennes1.fr db_user sympa db_passwd pw_sympa_mysqluser statement SELECT count(*) as c FROM users WHERE mail=[sender] AND EmployeeType='PROFESSOR' AND department='mathematics' This patch :
Hope it can be usefull. Regards, Sylvain. -- Sylvain Amrani Direction Générale de la Gendarmerie Nationale DGGN/SPM/SDTI/BSA Section Architecture des Systèmes 01.56.28.86.47 |
-
[sympa-dev] Patch to support SQL Named filters, like LDAP Named filters,
Sylvain Amrani, 09/12/2006
- Re: [sympa-dev] Patch to support SQL Named filters, like LDAP Named filters, Olivier Salaün - CRU, 09/26/2006
Archive powered by MHonArc 2.6.19+.