How can I get an array with only the column "Name" of my Category
model?
I can get all my categories using
List<Category> categoryList = new Select()
.from(Category.class)
.execute();
and then create another array with the name of the Category
, but I guess there is a way to get it directly and I cannot find how.