func_db: Add function to return cardinality at prefix

Adds the DB_KEYCOUNT function, which can be used to retrieve
the number of keys at a given prefix in AstDB.

ASTERISK-29968 #close

Change-Id: Ib2393b77b7e962dbaae6192f8576bc3f6ba92d09
This commit is contained in:
Naveen Albert
2022-03-15 01:41:29 +00:00
committed by Joshua Colp
parent d1c23c2cec
commit d75da1de1f
2 changed files with 78 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
Subject: func_db
The function DB_KEYCOUNT has been added, which
returns the cardinality of the keys at a specified
prefix in AstDB, i.e. the number of keys at a
given prefix.