$ command line ruby cheat sheets
Cheat Sheet Title: [ no_spaces_alphanumeric_only ]
Cheat Sheet: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
Your cheat sheet will be editable (fixable) by anyone. Each cheat sheet is essentially a wiki page. It may also be used by millions of people for reference purposes from the comfort of their command line. If this is okay with you, please save.
Advertisement