long2ice/meilisync

Primary key field documentation

Strift opened this issue · 1 comments

Strift commented

Hello,

I've noticed that the documentation doesn't explain how to configure a table's primary key.

AFAIK this is achieved by adding the pk field in the YAML configuration. But there might be some additional information we want to add that I'm not aware of.

Cheers,

This is important. Meilisync didn't sync the data from mongodb in my case, even though it incorrectly reported it did. Specifying pk in the config solved the issue.