# Nested read \[Jul 10\]

**URL:** <https://community.nocodb.com/t/nested-read-jul-10/594>\
**Category:** Discord-Discussions\
**Created:** [November 3, 2022, 10:23am UTC](https://community.nocodb.com/t/nested-read-jul-10/594 "2022-11-03T10:23:41Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![NocoDB](https://avatars.discourse-cdn.com/v4/letter/n/6f9a4e/32.png) [@NocoDB](https://community.nocodb.com/u/NocoDB)\
**Post date:** [November 3, 2022, 10:23am UTC](https://community.nocodb.com/t/nested-read-jul-10/594/1 "2022-11-03T10:23:41Z")

</div>

> 🙋‍♂️ **matte** _asked_

## Hi i am trying to use nested fields child record to display other than the primary but i just get empty return. I am trying to use nested[Equipment][fields]=Key with api call [https://nocodb.app.maranics.com/api/v1/db/data/v1/event/event](https://nocodb.app.maranics.com/api/v1/db/data/v1/event/event). Any idea what i am doing wrong

---

<div class="post-metadata">

**Author:** ![NocoDB](https://avatars.discourse-cdn.com/v4/letter/n/6f9a4e/32.png) [@NocoDB](https://community.nocodb.com/u/NocoDB)\
**Post date:** [November 3, 2022, 10:23am UTC](https://community.nocodb.com/t/nested-read-jul-10/594/2 "2022-11-03T10:23:42Z")

</div>

> 👨‍🦲 **dstala** _replied_

#### \<@848465010748817438\> could you elaborate requirement with an example?

#### 

#### If you have a link established between table-a, table-b. And if you want to read a field belonging to table-b from table-a, you will have to add a lookup for that field in table-a.

#

---

<div class="post-metadata">

**Author:** ![NocoDB](https://avatars.discourse-cdn.com/v4/letter/n/6f9a4e/32.png) [@NocoDB](https://community.nocodb.com/u/NocoDB)\
**Post date:** [November 3, 2022, 10:23am UTC](https://community.nocodb.com/t/nested-read-jul-10/594/3 "2022-11-03T10:23:43Z")

</div>

> 🙋‍♂️ **matte** _replied_

#### okey so it is not enoguht with only a relation?

#

---

<div class="post-metadata">

**Author:** ![NocoDB](https://avatars.discourse-cdn.com/v4/letter/n/6f9a4e/32.png) [@NocoDB](https://community.nocodb.com/u/NocoDB)\
**Post date:** [November 3, 2022, 10:23am UTC](https://community.nocodb.com/t/nested-read-jul-10/594/4 "2022-11-03T10:23:44Z")

</div>

> 🙋‍♂️ **matte** _replied_

#### i was trying to use this [REST APIs](https://docs.nocodb.com/developer-resources/rest-apis#nested-childrenhas-many). Where i thought it was possible to select what fields should be return from the child?

#

---

<div class="post-metadata">

**Author:** ![NocoDB](https://avatars.discourse-cdn.com/v4/letter/n/6f9a4e/32.png) [@NocoDB](https://community.nocodb.com/u/NocoDB)\
**Post date:** [November 3, 2022, 10:23am UTC](https://community.nocodb.com/t/nested-read-jul-10/594/5 "2022-11-03T10:23:46Z")

</div>

> 💁 **o1lab** _replied_

#### [http://localhost:9200/api/v1/db/data/noco/p\_nok8ahxsgf6u7j/City/?nested[Country][fields]=LastUpdate,Country,CountryId](http://localhost:9200/api/v1/db/data/noco/p_nok8ahxsgf6u7j/City/?nested%5BCountry%5D%5Bfields%5D=LastUpdate,Country,CountryId)

#

---

<div class="post-metadata">

**Author:** ![NocoDB](https://avatars.discourse-cdn.com/v4/letter/n/6f9a4e/32.png) [@NocoDB](https://community.nocodb.com/u/NocoDB)\
**Post date:** [November 3, 2022, 10:23am UTC](https://community.nocodb.com/t/nested-read-jul-10/594/6 "2022-11-03T10:23:47Z")

</div>

> 💁 **o1lab** _replied_

#### City BelongsTo Country in above example

#

---

<div class="post-metadata">

**Author:** ![NocoDB](https://avatars.discourse-cdn.com/v4/letter/n/6f9a4e/32.png) [@NocoDB](https://community.nocodb.com/u/NocoDB)\
**Post date:** [November 3, 2022, 10:23am UTC](https://community.nocodb.com/t/nested-read-jul-10/594/7 "2022-11-03T10:23:48Z")

</div>

> 🙋‍♂️ **matte** _replied_

#### Thank now i mad it work, for some reason it dont work in swagger

#

---

<div class="post-metadata">

**Author:** ![NocoDB](https://avatars.discourse-cdn.com/v4/letter/n/6f9a4e/32.png) [@NocoDB](https://community.nocodb.com/u/NocoDB)\
**Post date:** [November 3, 2022, 10:23am UTC](https://community.nocodb.com/t/nested-read-jul-10/594/8 "2022-11-03T10:23:49Z")

</div>

[Autogenerated from discord](https://discord.com/channels/661905455894888490/995259902824034315)

* * *

#### Join [NocoDB’s](http://www.nocodb.com/) community

[Discord](https://discord.gg/5RgZmkW) • [Twitter](https://twitter.com/nocodb) • [Reddit](https://www.reddit.com/r/NocoDB/) • [Docs](https://docs.nocodb.com/)
