How can I make a recursive CTE query in an ActiveRecord scope?

后端 未结 0 476
轮回少年
轮回少年 2020-12-04 01:38

I have a simple table to represent a hierarchy of organizations:

CREATE TABLE public.organizations (
    id integer NO         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题