---
title: "Query Graph Models With Couchbase Recursive CTE"
url: https://daily.dev/posts/query-graph-models-with-couchbase-recursive-cte-oauuag6s8
source_url: https://www.couchbase.com/blog/query-graph-recursive-cte/
type: article
source: "Couchbase"
published: 2024-05-09T17:08:19.464Z
updated: 2024-05-09T17:08:18.667Z
tags: ["database", "sql", "couchbase"]
reading_time: 9
upvotes: 1
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Query Graph Models With Couchbase Recursive CTE

**[Couchbase](https://daily.dev/sources/couchbase)** · 9 min read · 1 upvotes · 0 comments

## Summary

This post explores the use of Recursive Common Table Expressions (CTEs) in Couchbase for querying complex data structures, provides examples of use cases, and offers best practices and limitations for using Recursive CTEs in Couchbase SQL++.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.couchbase.com/blog/query-graph-recursive-cte/>

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#database](https://daily.dev/tags/database), [#sql](https://daily.dev/tags/sql), [#couchbase](https://daily.dev/tags/couchbase)

[View this post on daily.dev](https://daily.dev/posts/query-graph-models-with-couchbase-recursive-cte-oauuag6s8)
