Bubble database - reference or deepcopy?

Hello,
I have a question regarding the bubble database .
if i create two new types , A and B. both are relatively big in size, for example each holds 100 fields. and type A holds a object of type B.
If i create a new object of type A , when i assign that object a type B object does it re-create that object and assign it to A, or does it give A a reference to that object.
I am asking this in a way to reduce search and data usage.
I mean to use an object of type A to access a specific object of type B related to him.

And if it does re-create (deepcopy) B , is there another way to get to B besides doing a search with the unique id?

Thanks!

It gives a reference.

You can test this by making two type “A” things

Give them both the same type “B” thing.

Then change type “B”s value in the database and that change will be reflected to in both type “A” things.