i found the answer. To accomplish this, you need to create a new api, and use code similar to this
exports.get = function(request, response) {
var id = request.query.id;
request.service.mssql.query(
'select * from Users where name Like ?',["%test%"], {
success: function(results) {
response.send(200, results);
}
});
};