# Calling "sub" schema with \`db.schema()\`

**URL:** <https://community.neo4j.com/t/calling-sub-schema-with-db-schema/9432>\
**Category:** Product\
**Created:** [August 14, 2019, 3:40pm UTC](https://community.neo4j.com/t/calling-sub-schema-with-db-schema/9432 "2019-08-14T15:40:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mckenzma](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/mckenzma/32/78_2.png) [@mckenzma](https://community.neo4j.com/u/mckenzma)\
**Post date:** [August 14, 2019, 3:40pm UTC](https://community.neo4j.com/t/calling-sub-schema-with-db-schema/9432/1 "2019-08-14T15:40:21Z")

</div>

I would like to see the ability to call a "sub" schema of an overall graph schema. The idea is that I may be able to provide arguments (labels, properties, relationships):

```auto
CALL db.schema(labels: ["label 1", "label 2"]) 

```

to only show a subset of the overall schema based on those arguments.

---

<div class="post-metadata">

**Author:** ![dana\_canzano](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/dana_canzano/32/27392_2.png) [@dana\_canzano](https://community.neo4j.com/u/dana_canzano)\
**Post date:** [August 14, 2019, 5:39pm UTC](https://community.neo4j.com/t/calling-sub-schema-with-db-schema/9432/2 "2019-08-14T17:39:38Z")

</div>

if you have APOC installed this should be possible via apoc.meta,subGraph. See [https://neo4j.com/docs/labs/apoc/current/database-introspection/meta/](https://neo4j.com/docs/labs/apoc/current/database-introspection/meta/)

---

<div class="post-metadata">

**Author:** ![mckenzma](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/mckenzma/32/78_2.png) [@mckenzma](https://community.neo4j.com/u/mckenzma)\
**Post date:** [August 14, 2019, 8:19pm UTC](https://community.neo4j.com/t/calling-sub-schema-with-db-schema/9432/3 "2019-08-14T20:19:06Z")

</div>

Well I obviously didn't look hard enough. Might as well delete this thread.

---

<div class="post-metadata">

**Author:** ![michael.hunger](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/michael.hunger/32/27377_2.png) [@michael.hunger](https://community.neo4j.com/u/michael.hunger)\
**Post date:** [August 15, 2019, 2:14pm UTC](https://community.neo4j.com/t/calling-sub-schema-with-db-schema/9432/4 "2019-08-15T14:14:24Z")

</div>

No please leave it for others to find.
