Hacker News new | ask | show | jobs
by jcparkyn 815 days ago
Your first example should be more like

  return source(criteria).results
In your SQL, `results` isn't the variable you're assigning to, it's the column you're reading from source.