Hi,
my suggestion is to use Digikam to manage you library, and darktable only for editing.
You can run darktable db-less. Here I’m sharing some ideas. If you have specific questions, I can share more details.
I’m managing metadata in Digikam and there was another thread where I was sharing some tips on how to setup Digikam to write metadata in the sidecar files.