Database patterns are restricted to the glob syntax (see ). You can
create multiple patterns…
for $n in 10 to 999
return user:grant('000590', 'write', '000590-' || $n || '_settings')
…but you should do some performance tests before going live with that.
On Thu, May 21, 2020 at 3:32 PM Ветошкин Владимир <en-tra...@yandex.ru> wrote:
Hi, basex team!
How can I use regex in patterns? Or that's impossible?
Or only so:
Ok. Thank you for another way.
I decided to leave "user:grant('000590',('write'),('000590-*_settings'))"
There will be no overlap in database names.
21.05.2020, 16:59, "Christian Grün" <christian.gr...@gmail.com>: