<div dir="ltr">Hi,<div><br></div><div>What I asked for was for you to give me an example of the proposed function and how you wanted to see the syntax being used as if the function exists.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 4, 2017 at 1:41 AM, Aron Podrigal <span dir="ltr"><<a href="mailto:aronp@guaranteedplus.com" target="_blank">aronp@guaranteedplus.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Here [1] is an example, where the same query may have been executed only once using IN</p>
<p dir="ltr">[1] <a href="https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/src/mod/applications/mod_fifo/mod_fifo.c#1671" target="_blank">https://freeswitch.org/stash/<wbr>projects/FS/repos/freeswitch/<wbr>browse/src/mod/applications/<wbr>mod_fifo/mod_fifo.c#1671</a></p><div class="HOEnZb"><div class="h5">
<br><div class="gmail_quote"><div dir="ltr">On Tue, Jan 3, 2017, 6:06 PM Anthony Minessale <<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="m_8102782061330438047gmail_msg">I don't think we have such a thing.<div class="m_8102782061330438047gmail_msg">Can you give an example of using the theoretical function so I can understand better?</div><div class="m_8102782061330438047gmail_msg"><br class="m_8102782061330438047gmail_msg"></div></div><div class="gmail_extra m_8102782061330438047gmail_msg"><br class="m_8102782061330438047gmail_msg"><div class="gmail_quote m_8102782061330438047gmail_msg"></div></div><div class="gmail_extra m_8102782061330438047gmail_msg"><div class="gmail_quote m_8102782061330438047gmail_msg">On Tue, Jan 3, 2017 at 2:24 PM, Podrigal, Aron <span dir="ltr" class="m_8102782061330438047gmail_msg"><<a href="mailto:aronp@guaranteedplus.com" class="m_8102782061330438047gmail_msg" target="_blank">aronp@guaranteedplus.com</a>></span> wrote:<br class="m_8102782061330438047gmail_msg"></div></div><div class="gmail_extra m_8102782061330438047gmail_msg"><div class="gmail_quote m_8102782061330438047gmail_msg"><blockquote class="gmail_quote m_8102782061330438047gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="m_8102782061330438047gmail_msg">Hi,<div class="m_8102782061330438047gmail_msg"><br class="m_8102782061330438047gmail_msg"></div><div class="m_8102782061330438047gmail_msg">I would like to know if there exists any code that would solve constructing a SQL IN query.</div><div class="m_8102782061330438047gmail_msg">If not, I would like to contribute one. </div><div class="m_8102782061330438047gmail_msg"><br class="m_8102782061330438047gmail_msg"></div><div class="m_8102782061330438047gmail_msg">I think of implementing something ie `switch_sqlinmprintf` which would call `base_vprintf` with a callback accepting an array of char * and formatting them with '%Q' specifier.</div><div class="m_8102782061330438047gmail_msg"><br class="m_8102782061330438047gmail_msg"></div><div class="m_8102782061330438047gmail_msg">I would greatly appreciate any help or pointers on function names implementation... <span class="m_8102782061330438047m_-2603295221933091322HOEnZb m_8102782061330438047gmail_msg"><font color="#888888" class="m_8102782061330438047gmail_msg"><br clear="all" class="m_8102782061330438047gmail_msg"><div class="m_8102782061330438047gmail_msg"><br class="m_8102782061330438047gmail_msg"></div>-- <br class="m_8102782061330438047gmail_msg"><div class="m_8102782061330438047m_-2603295221933091322m_2525616655603229596gmail_signature m_8102782061330438047gmail_msg"><div dir="ltr" class="m_8102782061330438047gmail_msg"><div class="m_8102782061330438047gmail_msg"><div dir="ltr" class="m_8102782061330438047gmail_msg"><div dir="ltr" class="m_8102782061330438047gmail_msg"><br class="m_8102782061330438047gmail_msg"><div class="m_8102782061330438047gmail_msg">-</div><div class="m_8102782061330438047gmail_msg"><span style="font-size:12.8px" class="m_8102782061330438047gmail_msg">Aron Podrigal</span><br class="m_8102782061330438047gmail_msg"></div><div class="m_8102782061330438047gmail_msg"><span style="font-size:12.8px" class="m_8102782061330438047gmail_msg"><br class="m_8102782061330438047gmail_msg"></span></div></div></div></div></div></div>
</font></span></div></div>
<br class="m_8102782061330438047gmail_msg"></blockquote></div></div><div class="gmail_extra m_8102782061330438047gmail_msg"><div class="gmail_quote m_8102782061330438047gmail_msg"><blockquote class="gmail_quote m_8102782061330438047gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">______________________________<wbr>______________________________<wbr>_____________<br class="m_8102782061330438047gmail_msg">
Professional FreeSWITCH Consulting Services:<br class="m_8102782061330438047gmail_msg">
<a href="mailto:consulting@freeswitch.org" class="m_8102782061330438047gmail_msg" target="_blank">consulting@freeswitch.org</a><br class="m_8102782061330438047gmail_msg">
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" class="m_8102782061330438047gmail_msg" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br class="m_8102782061330438047gmail_msg">
<br class="m_8102782061330438047gmail_msg">
Official FreeSWITCH Sites<br class="m_8102782061330438047gmail_msg">
<a href="http://www.freeswitch.org" rel="noreferrer" class="m_8102782061330438047gmail_msg" target="_blank">http://www.freeswitch.org</a><br class="m_8102782061330438047gmail_msg">
<a href="http://wiki.freeswitch.org" rel="noreferrer" class="m_8102782061330438047gmail_msg" target="_blank">http://wiki.freeswitch.org</a><br class="m_8102782061330438047gmail_msg">
<a href="http://www.cluecon.com" rel="noreferrer" class="m_8102782061330438047gmail_msg" target="_blank">http://www.cluecon.com</a><br class="m_8102782061330438047gmail_msg">
<br class="m_8102782061330438047gmail_msg">
FreeSWITCH-dev mailing list<br class="m_8102782061330438047gmail_msg">
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org" class="m_8102782061330438047gmail_msg" target="_blank">FreeSWITCH-dev@lists.<wbr>freeswitch.org</a><br class="m_8102782061330438047gmail_msg">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" rel="noreferrer" class="m_8102782061330438047gmail_msg" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>dev</a><br class="m_8102782061330438047gmail_msg">
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" rel="noreferrer" class="m_8102782061330438047gmail_msg" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-dev</a><br class="m_8102782061330438047gmail_msg">
<a href="http://www.freeswitch.org" rel="noreferrer" class="m_8102782061330438047gmail_msg" target="_blank">http://www.freeswitch.org</a><br class="m_8102782061330438047gmail_msg">
<br class="m_8102782061330438047gmail_msg"></blockquote></div><br class="m_8102782061330438047gmail_msg"><br clear="all" class="m_8102782061330438047gmail_msg"><div class="m_8102782061330438047gmail_msg"><br class="m_8102782061330438047gmail_msg"></div>-- <br class="m_8102782061330438047gmail_msg"><div class="m_8102782061330438047m_-2603295221933091322gmail_signature m_8102782061330438047gmail_msg" data-smartmail="gmail_signature"><div dir="ltr" class="m_8102782061330438047gmail_msg"><div class="m_8102782061330438047gmail_msg"><div dir="ltr" class="m_8102782061330438047gmail_msg"><div class="m_8102782061330438047gmail_msg"><div dir="ltr" class="m_8102782061330438047gmail_msg">Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬<div class="m_8102782061330438047gmail_msg"><br class="m_8102782061330438047gmail_msg"><div class="m_8102782061330438047gmail_msg">☞ <a href="http://freeswitch.org/" class="m_8102782061330438047gmail_msg" target="_blank">http://freeswitch.org/</a> ☞ <a href="http://cluecon.com/" class="m_8102782061330438047gmail_msg" target="_blank">http://cluecon.com/</a> ☞ <a href="http://twitter.com/FreeSWITCH" class="m_8102782061330438047gmail_msg" target="_blank">http://twitter.com/FreeSWITCH</a></div><div class="m_8102782061330438047gmail_msg"><div class="m_8102782061330438047gmail_msg">☞ <a href="http://irc.freenode.net" class="m_8102782061330438047gmail_msg" target="_blank">irc.freenode.net</a> #freeswitch ☞ <u class="m_8102782061330438047gmail_msg"><a href="http://freeswitch.org/g+" class="m_8102782061330438047gmail_msg" target="_blank">http://freeswitch.org/g+</a></u><br class="m_8102782061330438047gmail_msg"><br class="m_8102782061330438047gmail_msg"></div><div class="m_8102782061330438047gmail_msg">ClueCon Weekly Development Call <br class="m_8102782061330438047gmail_msg"></div><div class="m_8102782061330438047gmail_msg">☎ <a href="mailto:sip%3A888@conference.freeswitch.org" class="m_8102782061330438047gmail_msg" target="_blank">sip:888@conference.<wbr>freeswitch.org</a> ☎ <a href="tel:(919)%20386-9900" value="+19193869900" target="_blank">+19193869900</a> </div><div class="m_8102782061330438047gmail_msg"><br class="m_8102782061330438047gmail_msg"></div></div></div><div class="m_8102782061330438047gmail_msg"><a href="https://www.youtube.com/watch?v=9XXgW34t40s" style="color:rgb(17,85,204);font-size:12.8000001907349px" class="m_8102782061330438047gmail_msg" target="_blank">https://www.youtube.com/watch?<wbr>v=9XXgW34t40s</a></div><div class="m_8102782061330438047gmail_msg"><a href="https://www.youtube.com/watch?v=NLaDpGQuZDA" class="m_8102782061330438047gmail_msg" target="_blank">https://www.youtube.com/watch?<wbr>v=NLaDpGQuZDA</a><br class="m_8102782061330438047gmail_msg"></div></div></div></div></div></div></div>
</div>
______________________________<wbr>______________________________<wbr>_____________<br class="m_8102782061330438047gmail_msg">
Professional FreeSWITCH Consulting Services:<br class="m_8102782061330438047gmail_msg">
<a href="mailto:consulting@freeswitch.org" class="m_8102782061330438047gmail_msg" target="_blank">consulting@freeswitch.org</a><br class="m_8102782061330438047gmail_msg">
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" class="m_8102782061330438047gmail_msg" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br class="m_8102782061330438047gmail_msg">
<br class="m_8102782061330438047gmail_msg">
Official FreeSWITCH Sites<br class="m_8102782061330438047gmail_msg">
<a href="http://www.freeswitch.org" rel="noreferrer" class="m_8102782061330438047gmail_msg" target="_blank">http://www.freeswitch.org</a><br class="m_8102782061330438047gmail_msg">
<a href="http://wiki.freeswitch.org" rel="noreferrer" class="m_8102782061330438047gmail_msg" target="_blank">http://wiki.freeswitch.org</a><br class="m_8102782061330438047gmail_msg">
<a href="http://www.cluecon.com" rel="noreferrer" class="m_8102782061330438047gmail_msg" target="_blank">http://www.cluecon.com</a><br class="m_8102782061330438047gmail_msg">
<br class="m_8102782061330438047gmail_msg">
FreeSWITCH-dev mailing list<br class="m_8102782061330438047gmail_msg">
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org" class="m_8102782061330438047gmail_msg" target="_blank">FreeSWITCH-dev@lists.<wbr>freeswitch.org</a><br class="m_8102782061330438047gmail_msg">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" rel="noreferrer" class="m_8102782061330438047gmail_msg" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>dev</a><br class="m_8102782061330438047gmail_msg">
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" rel="noreferrer" class="m_8102782061330438047gmail_msg" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-dev</a><br class="m_8102782061330438047gmail_msg">
<a href="http://www.freeswitch.org" rel="noreferrer" class="m_8102782061330438047gmail_msg" target="_blank">http://www.freeswitch.org</a><br class="m_8102782061330438047gmail_msg">
</blockquote></div>
</div></div><br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" rel="noreferrer" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬<div><br><div>☞ <a href="http://freeswitch.org/" target="_blank">http://freeswitch.org/</a> ☞ <a href="http://cluecon.com/" target="_blank">http://cluecon.com/</a> ☞ <a href="http://twitter.com/FreeSWITCH" target="_blank">http://twitter.com/FreeSWITCH</a></div><div><div>☞ <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch ☞ <u><a href="http://freeswitch.org/g+" target="_blank">http://freeswitch.org/g+</a></u><br><br></div><div>ClueCon Weekly Development Call <br></div><div>☎ <a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a> ☎ +19193869900 </div><div><br></div></div></div><div><a href="https://www.youtube.com/watch?v=9XXgW34t40s" style="color:rgb(17,85,204);font-size:12.8000001907349px" target="_blank">https://www.youtube.com/watch?v=9XXgW34t40s</a></div><div><a href="https://www.youtube.com/watch?v=NLaDpGQuZDA" target="_blank">https://www.youtube.com/watch?v=NLaDpGQuZDA</a><br></div></div></div></div></div></div></div>
</div>