I am using Devonthink as my database. I am not sure how hard it is to implement. But here are some features which could be to my interests:
1. Store my notes in Deveonthink and it could be synced between different Mac and iOS devices.
2. Access Devonthink file by markdown link (which is already supported now).
3. In this way, as the devonthink system itself support the backlink, the files and notes could be found in both way.