[OpenSIPS-Users] how to use prepared statement in opensips

Bogdan-Andrei Iancu bogdan at opensips.org
Fri Oct 13 08:33:22 EDT 2017


Hi Diptesh,

Can you use the avp_db_load() function for your purpose ?

Regards,

Bogdan-Andrei Iancu
   OpenSIPS Founder and Developer
   http://www.opensips-solutions.com

On 10/13/2017 08:05 AM, Dipteshkumar Patel wrote:
> hello sir,
>
> Thanks for your reply
>
> Any other way to use prepaid statement in opensips
>
> *Diptesh Patel*
> Jr. Software Developer
> Ecosmob Technologies Ltd
> Ahmedabad
> Mo:*+919898962659*
>
> On Fri, Oct 13, 2017 at 1:35 AM, Bogdan-Andrei Iancu 
> <bogdan at opensips.org <mailto:bogdan at opensips.org>> wrote:
>
>     Hi Diptesh,
>
>     The avp_db_query, as being a generic way to run raw queries, has
>     no support for prepared statements.
>
>     Regards,
>
>     Bogdan-Andrei Iancu
>        OpenSIPS Founder and Developer
>        http://www.opensips-solutions.com <http://www.opensips-solutions.com>
>
>     On 09/29/2017 01:23 PM, Dipteshkumar Patel wrote:
>>     Dear Sir,
>>
>>
>>     I am using opensips 2.3.1 with multiple queries(using
>>     avp_db_query) in opensips configuration and i want to optimise
>>     it, and yes i also use async for that but i need to more
>>     optimisation.
>>
>>     how can we use prepared statement in opensips script ?
>>
>>
>>     _______________________________________________
>>     Users mailing list
>>     Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>     <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20171013/ab21fda0/attachment-0001.html>


More information about the Users mailing list