需要根据字段用新值更新字段。例如:
update table set field = filed || '_hello';
如何对 hasura 做同样的事情?需要为移动分支的每个子节点获取一个新的 ltree 路径并更新它们:
update tree set path = subpath(path, 1) where path <@ 'a.c';
https://dzone.com/articles/manipulating-trees-using-sql-and-the-postgres-ltre