The get method accepts a FiremanQuery object to filter and sort results. You can define multiple filters using the where array, specify sorting with orderBy, and restrict the result set size with limit.
Note: Fireman does not catch errors internally; you must handle them using .catch() or try/catch blocks.
fireman.get("users", {
where: [{ field: "name", op: "==", val: "fireman" }],
orderBy: [{ field: "createdOn", dir: "desc" }],
limit: 20
}).then((usersFound) => {
console.log(usersFound);
}).catch(err => console.error(err));