# \#subquery

**URL:** https://community.neo4j.com/tag/subquery/514.md

[Latest](https://community.neo4j.com/latest.md) · [Categories](https://community.neo4j.com/categories.md) · [Tags](https://community.neo4j.com/tags.md)

---

## [Questions about my query model](https://community.neo4j.com/t/questions-about-my-query-model/72813)

<div class="topic-metadata">

**Author:** [@victor](https://community.neo4j.com/u/victor)\
**Replies:** 13\
**Last updated:** [March 6, 2025, 5:07pm UTC](https://community.neo4j.com/t/questions-about-my-query-model/72813 "2025-03-06T17:07:56Z")

</div>

Hi folks, I am building a Graph API where I can get nodes and edges subsequently in the same request. I am having a bit of trouble trying to optimize this query (please ignore literal values as I replace them with param…

---

## [Optimizing apoc.path.spanningTree and other cypher related isuue](https://community.neo4j.com/t/optimizing-apoc-path-spanningtree-and-other-cypher-related-isuue/72837)

<div class="topic-metadata">

**Author:** [@graph\_user\_057](https://community.neo4j.com/u/graph_user_057)\
**Replies:** 1\
**Last updated:** [February 28, 2025, 11:34am UTC](https://community.neo4j.com/t/optimizing-apoc-path-spanningtree-and-other-cypher-related-isuue/72837 "2025-02-28T11:34:20Z")

</div>

This a cypher query I have written on neo4j's "movies" dataset, even though the dataset just a simple one it serves for the use case, please read the query as stated below: CALL { match (m:Movie{title:$movie\_name}) m…

---

## [Limit Data Processed By Subqueries](https://community.neo4j.com/t/limit-data-processed-by-subqueries/66586)

<div class="topic-metadata">

**Author:** [@matteweva](https://community.neo4j.com/u/matteweva)\
**Replies:** 0\
**Last updated:** [February 29, 2024, 9:47pm UTC](https://community.neo4j.com/t/limit-data-processed-by-subqueries/66586 "2024-02-29T21:47:13Z")

</div>

I have a question regarding the use of LIMIT. Based on the documentation provided, it looks like we can LIMIT the number of nodes that are handled by a subsequent subquery: Ex: If we want to limit the number of update…

---

## [CALL {..} IN TRANSACTIONS does not work properly in Neo4j 5.4?](https://community.neo4j.com/t/call-in-transactions-does-not-work-properly-in-neo4j-5-4/61149)

<div class="topic-metadata">

**Author:** [@busymo16](https://community.neo4j.com/u/busymo16)\
**Replies:** 5\
**Last updated:** [February 28, 2023, 4:41pm UTC](https://community.neo4j.com/t/call-in-transactions-does-not-work-properly-in-neo4j-5-4/61149 "2023-02-28T16:41:34Z")

</div>

Hi everyone, I am trying to execute the following subquery for batching the deletion of 1+ mil nodes in my graph. MATCH (n) CALL{ WITH n DETACH DELETE n } IN TRANSACTIONS When I try the above query it …
