getUsers

returns a DataCollections with users

DataCollection getUsers();
DataCollectiona collection of user records

Example

const users = $$("comments").getUsers();
const user = users.getItem(5);
/*
{"id":5,"value":"Emily Kaldwin","image":"/imgs/emily.jpg"}
*/

See also
Back to top