[OpenSIPS-Users] avp_db_query for Insert, Update and Delete

Vishal Pai vishalmpai at gmail.com
Wed Jan 3 11:21:42 EST 2018


Yeah.. I tried and it’s working like charm.


Thanks..





On Wed, 3 Jan 2018 at 7:53 PM, Bogdan-Andrei Iancu <bogdan at opensips.org>
wrote:

> Hello Vishal,
>
> A Happy New Year too !
>
> With the avp_db_query() you can run any kind of raw query, so just write
> your SQL query exactly as you do in your mysql client CLI.
>
> Regards,
>
> Bogdan-Andrei Iancu
>
> OpenSIPS Founder and Developer
>   http://www.opensips-solutions.com
> OpenSIPS Summit 2018
>   http://www.opensips.org/events/Summit-2018Amsterdam
>
> On 01/01/2018 07:16 PM, Vishal Pai wrote:
>
> Hi Everyone
>
> Merry Christmas and Happy New Year to all.
>
> As i am new to opensips, I just want to know what is the best possible way
> to do Insert, Update and Delete using avp_db_query.
>
>
> Thanks
> Vishal Pai
>
>
> _______________________________________________
> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20180103/57f348eb/attachment.html>


More information about the Users mailing list