Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Groovy 2.2 released. Parent comment
Sql sql = new Sql(dataSource)
List results = sql.rows('SELECT * FROM mytable WHERE type_id = :type_id', [type_id: id])
There are no comments on this comment yet.
Sql sql = new Sql(dataSource)
List results = sql.rows('SELECT * FROM mytable WHERE type_id = :type_id', [type_id: id])