[asterisk-bugs] [JIRA] (ASTERISK-30136) db: Add AMI action to retrieve all keys beginning with a prefix

Birger "WIMPy" Harzenetter (JIRA) noreply at issues.asterisk.org
Wed Sep 21 18:41:09 CDT 2022


     [ https://issues.asterisk.org/jira/browse/ASTERISK-30136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Birger "WIMPy" Harzenetter updated ASTERISK-30136:
--------------------------------------------------

    Attachment: gettreecount.diff

The event always reports "ListItems: 1".
This patch adds a correct count.

> db: Add AMI action to retrieve all keys beginning with a prefix
> ---------------------------------------------------------------
>
>                 Key: ASTERISK-30136
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-30136
>             Project: Asterisk
>          Issue Type: New Feature
>      Security Level: None
>          Components: Core/AstDB
>    Affects Versions: 18.13.0
>            Reporter: N A
>            Assignee: N A
>              Labels: patch
>      Target Release: 20.0.0, 19.6.0, 16.28.0, 18.14.0
>
>         Attachments: gettreecount.diff
>
>
> Adds an AMI action to retrieve all the keys beginning with a prefix.
> For example, the following CLI command will do that:
> database show myprefix/a/b/c
> However, there is currently no way to do this via AMI. This adds that capability.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list