If you want to select users by industries, you can make separate model for the industries which has many-to-many relationship with users model.
What is the datatype to store multiselect picklists?
-
01-09-2022 - |
Question
In a recruitment app, for the application model I'd like to have a multiselect picklist called desired_industry.
I would like to be able to filter users by their desired industries, and to notify users when a new job is created, for their chosen industries.
I'm a bit confused as to how to approach this though.
When I'm making the model, what datatype should I ascribe to it?
If it's a string, how will I go about making sure that I can filter based on the answers, etc?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow