Hii @mr_monkey, hope you’re having a nice day. Can you provide any documentation on orm used in bookbrainz server. Is it something custom build or you’re using something like knexjs?
A good question ! We’ve got a separate repository and package that uses BookshelfJS (unrelated to BookBrainz, despise the close name ) , which is an ORM built on top of KnexJS.
As such there are standard ORM objects you can interact with, as well as the ability to pass sql queries directly to Knex.
You can find the repo here: https://github.com/bookbrainz/bookbrainz-data-js
Let me know if you have any specific questions about it or are looking for a part of the codebase.
Thanks for the help @mr_monkey!
Hi! There is already a PR in progress for that issue: https://github.com/bookbrainz/bookbrainz-site/pull/571
I think I might have made a mistake previously and unassigned the person who was working on it, my bad