Em 29/03/2021 03:37, Viktor Dukhovni escreveu:
Congrats. I should perhaps note that with SQL you hardly need a
unionmap:

     query = SELECT email as user FROM virtual_users WHERE email='%s' UNION
             SELECT owned as user FROM virtual_delegation WHERE owner='%s'


    I have this exact setup running with UNION on the MySQL query for years. Actually i wasn't even aware of the unionmap map type :)

--


        Atenciosamente / Sincerily,
        Leonardo Rodrigues
        Solutti Tecnologia
        http://www.solutti.com.br

        Minha armadilha de SPAM, NÃO mandem email
        gertru...@solutti.com.br
        My SPAMTRAP, do not email it



Reply via email to