Embedded objects

I was trying to query for embedded objects and got empty results. So I check with Realm Studio, and the embedded objects are actually embedded in the parent objects and not stored in their own tables though the tables exist. So this is the expected arrangement? I take it is the case. Then my question is since the objects are embedded, why there exist empty tables in the DB for the embedded objects?

Sorry, I take back the statement that query for embedded objects get empty results, but add another confusion: my query below on an embedded object actually got me the result:

val media = realm.query(FeedMedia::class).query(“id == $0”, mediaId).first().find()

How come?

OK, answer from from the documentation:

You can query any object, including embedded objects, that persist to the database and whose type is included in your database schema.