title: LoopBack Remote Methods and Access to Model Data
body: <p>I've been working on this for hours and I'm completely lost, because the loopback documentation is not helpful.</p>
  
  <p>I'm trying to write application logic into a model.  The documentation for that is <a href="http://docs.strongloop.com/display/public/LB/Remote+methods">here</a>.  Unfortunately, the example doesn't demonstrate anything useful other than passing an external value into the remote method and returning it again.  I'd like to understand how to run a query in this context and access model data, but I have searched for hours and not been able to find documentation on even these simple tasks.  Maybe I'm just looking in the wrong places.  Can anyone help?</p>