File: 40update.rb

package info (click to toggle)
libodbc-ruby 0.99991-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 480 kB
  • ctags: 572
  • sloc: ansic: 7,160; ruby: 807; makefile: 44
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