I think it may be impossible to do cross-database in a single query
This design is hopeless, I think
You can get one-to-many references nested in the object
Merge pull request #15 from iffy/reflist

Reflist