[sr-dev] Feature request: sql row number, route-specific avps
Klaus Darilion
klaus.mailinglists at pernau.at
Wed Mar 31 10:52:02 CEST 2010
Am 30.03.2010 16:02, schrieb Henning Westerholt:
> On Tuesday 30 March 2010, Jasmin Schnatterbeck wrote:
>> I also noticed, that it does not seem to be possible to get the number
>> of result rows of avp_db_query - may (in the case of an successful
>> query) can the function return the number of results for example?
>
> The avp_db_query is a bit a deprecated function, take a look to the 'sqlops'
> module, which provides a more advanced interface. I think it also export the
> number of rows.
Indeed,
http://sip-router.org/docbook/sip-router/branch/master/modules_k/sqlops/sqlops.html#id2818744
regards
klaus
More information about the sr-dev
mailing list