File: 40update.rb

package info (click to toggle)
ruby-odbc 0.99994-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 500 kB
  • sloc: ansic: 7,663; ruby: 808; makefile: 32
file content (4 lines) | stat: -rw-r--r-- 143 bytes parent folder | download | duplicates (9)
1
2
3
4
$q = $c.run("update test set id=0, str='hoge'")
if $q.nrows != 4 then
  $stderr.print "update row count: expected 4, got ", $q.nrows, "\n"
end