You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<resultMap id="personOuterInvest" type="Children"/> <resultMap id="outerInvest" type="Children"/> <resultMap id="have" type="Children"/> <select id="getBasicGraphItemsAll" resultSets="have,personOuterInvest,outerInvest"> go from #{id} overhave` yield
id($$) as entid,
true as hasChildren,
$$.company.entname as name,
"2" as parameter,
"" as ratio,
;
go from #{id} over person_outer_invest yield
<trim suffixOverrides=",">
properties(edge).entid as entid,
true as hasChildren,
properties(edge).entname as name,
"2" as parameter,
properties(edge).fundedratio as ratio,
</trim>;
go from #{id} over outer_invest yield
<trim suffixOverrides=",">
id($$) as entid,
true as hasChildren,
$$.company.entname as name,
"2" as parameter,
properties(edge).fundedratio as ratio,
</trim>;
</select>`
The text was updated successfully, but these errors were encountered:
我想实现类似于 https://blog.csdn.net/chp891202/article/details/85012940 这样的实现。
nebula 版本 2.6.1。
我的mapper.xml 里写法如下,但返回结果只有最后一条query的结果。依照mysql的实现方法,是需要指定一个allowMultiQueries的参数,请问nebula实现是需要指定什么参数吗?
<resultMap id="personOuterInvest" type="Children"/> <resultMap id="outerInvest" type="Children"/> <resultMap id="have" type="Children"/> <select id="getBasicGraphItemsAll" resultSets="have,personOuterInvest,outerInvest"> go from #{id} over
have` yieldid($$) as entid,
true as hasChildren,
$$.company.entname as name,
"2" as parameter,
"" as ratio,
;
The text was updated successfully, but these errors were encountered: