simov / express-admin

MySQL, MariaDB, PostgreSQL, SQLite admin for Node.js
MIT License
1.17k stars 223 forks source link

Relationship for comma seperated ids #105

Closed aniruddhasm closed 8 years ago

aniruddhasm commented 8 years ago

Hello

I've column in my table which have values as comma seperated

,37,2,12, 

These are nothing but user id. But I want to display the usernames on the listing page instead of ids.

Any work around to solve this using oneToMany, or manyToMany relations in settings.json

Please help I am stuck. Thanks,

simov commented 8 years ago

That's not implemented. The listview's query joins only on oneToMany and manyToMany fields, the rest of the columns are shown with their actual values.

aniruddhasm commented 8 years ago

Thanks for quick reply Thank you.