File: 40update.rb

package info (click to toggle)
ruby-odbc 0.99998-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 564 kB
  • sloc: ansic: 8,517; ruby: 851; makefile: 3
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