Forum Discussion

Inactive User's avatar
Inactive User
9 years ago

Are there LiQL JOINs?

Is there such a thing as a LiQL JOIN command? I can't find anything. Right now I have to use a really contorted combination of

 

 

 

<#import "common-functions.ftl" as utils />

<#assign query1 = rest("2.0","/search?q = SELECT somestuff FROM sometable WHERE someid = '9' "/>

<#list query1 as query1>
    <#assign query2 = rest("2.0","/search?q = SELECT otherstuff FROM othertable WHERE someid = '${query1.id}'  "/>
</#list>

Which, as you can see, is a pain. 

 

So, can we JOIN in LiQL?