Collections
component name="User" {
function newCollection( array entities = [] ) {
return variables._wirebox.getInstance(
name = "quick.extras.QuickCollection",
initArguments = {
"collection" = arguments.entities
}
);
}
}var users = getInstance("User").all();
users
.filter(function(user) {
return user.getActive();
})
.pluck("username")
.groupBy(function(username) {
return left(username, 1);
});load
$renderData
Last updated
Was this helpful?