Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (17 sloc) 0.575 kb
---
groovy_sql: |-
Sql methods:
void eachRow(sql) { row -> code }
void eachRow(prepStmt, [values]) { row -> code }
void query(sql) { resultSet -> code }
void query(prepStmt, [values]) { resultSet -> code }
List rows(sql)
List rows(prepStmt, [values])
Object firstRow(sql)
Object firstRow(prepStmt, [values])
boolean execute(sql)
boolean execute(prepStmt, [values])
int executeUpdate(sql)
int executeUpdate(prepStmt, [values])
ref: http://groovy.codehaus.org/GSQL
api: http://groovy.codehaus.org/gapi/groovy/sql/package-summary.html
Jump to Line
Something went wrong with that request. Please try again.