If you remember my previous question, in db A I have a many-to-one relation field with db B. So I get the list of ids of B entities my querying on A:
const bEntities = (await fibery.getEntityById(dbA, aEntityId, ["field"]))["field"]
const ids = bEntities.map(({ Id }) => Id)
Any idea on how to fix this code?