Hi!
The Wiki section "Lua Bindings for UCI" in the UCI article contains information about extended notation that is no longer true.
From what I know, there seem to be no way to access
“@rdate[0]”
directly. You have to iterate withx:foreach
to list all the elements of a given type.
...
So if you want to modify
system.@rdate[0].server
you need to iterate the type, retrieve the section name[“.name”]
and then call:
The extended notation in Lua code is supported since 2017 (commit: ff33bb219bc409ce3071734a1c28d9165392d6ea).