querying - Volt/mongodb query for list of unique fields? -


in volt: have bunch of people (nonunique) job_title fields, there way query list of existing job titles?

e.g. if have:

{name: 'sam', job_title: 'boss' }, {name: 'alex', job_title: 'lieutenant' }, {name: 'cal', job_title: 'underling' }, {name: 'morgan', job_title: 'underling' }, {name: 'harper', job_title: 'underling' } 

i use store.??? ['boss', 'lieutenant', 'underling'], or similar? there way this? tried in this answer, got undefined method 'group'.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -