Relationship pluck


Hi, I’ve got a user relationship named properties that return multiple records per user, I want to basically return for a specific user an array with the properties ids. What I currently have is and it’s returning everything. How can I return only the ids?


Can you try?



It returns me all the properties ids on the table, it should be only two


Can u share the query being executed by setting debug: true inside the config/database.js file?


Hello, I can confirm that returning all ids from the pivot table.

Example repo:



Hey @BatuhanK! :wave:

It’s a confirmed bug and we already have a regression test on same.