[OpenSIPS-Users] trigger on acc table

Bogdan-Andrei Iancu bogdan at opensips.org
Mon Jan 15 11:10:52 EST 2018


Hi Khalil,

YEs, for SQL, OpenSIPS tries to group inserts into a single query. To 
control this, see:
http://www.opensips.org/Documentation/Script-CoreParameters-2-3#toc84

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/14/2018 12:18 AM, Khalil Khamlichi wrote:
> Hi,
>
> We are implementing a trigger on acc table, for each insert.
> My question is : does opensips group multiple inserts into one single
> transcation or it does an insert of one single row per call at a time.
>
> this is very important for triggers as they can see only the last
> inserted line in a transaction if opensips groups inserts into one
> transaction.
>
> Thanks in advance.
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list