Hey all. I'm playing around with Room Persistence ...
# android
r
Hey all. I'm playing around with Room Persistence Library in my fitness app for my database. I'm using Kotlin and I've hit a bit of a snag. For my select Query I am trying to write one that would read as (SELECT DISTINCT Category FROM Exercises), but I'm not quite sure how to write the function for that. Can anyone push me in the right direction. The DISTINCT is what I'm having trouble with. I've attached a small screen shot that shows my table/headers. Table name is Exercises