Skip to content

does rqlite support recursive CTE? #1729

Answered by otoolep
l1t1 asked this question in Q&A
Discussion options

You must be logged in to vote

with recursive t(a) as (select 1 as a union all select 1+a from t where a<10000) select count(*) from t;

Send this to the /db/query endpoint of rqlite, it should work.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by l1t1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants