meilisync icon indicating copy to clipboard operation
meilisync copied to clipboard

Related Field Referencing in Meilisync?

Open zebra-f opened this issue 1 year ago • 2 comments

I couldn't find anything in the documentation mentioning this feature, but it would be nice if meilisync could reference related fields (foreign keys in MySQL and PostgreSQL)

Here's an example of how it could work:

    fields:
      id:
      title:
      user__username: username

or

    fields:
      id:
      title:
      user: 
        username:

Edit: Now that I think about it; the tricky part would be dealing with updates to related fields.

zebra-f avatar Oct 04 '23 22:10 zebra-f

Yes, maybe you can use plugins docs in https://github.com/long2ice/meilisync#plugins-optional

long2ice avatar Oct 05 '23 02:10 long2ice

Hey @zebra-f Did you figure it out?

@long2ice After reading the documentation, I'm still not able to figure out how to structure my meilisync project to get my plugins to work

ishaqkhattana avatar Apr 01 '24 00:04 ishaqkhattana