Need to under stand best approch for Parent Child relation in data

I am new to bubble can anyone guide me data structure used in bubble for parent child relation in database. as of now i am familiar with relational database but how things work in bubble i need to understand.

Example: like in relational database Location table is there.
we will have location id (primary key), location name, location parent etc.

we as location parent act as foreign key to that sub location.

rally i’ll be very thankful to you guys.