Sha256: 87f076deebee9d40cb6950b1f42d71021652dcbbfe501e359c15658ff1fd88c6

Contents?: true

Size: 367 Bytes

Versions: 4

Compression:

Stored size: 367 Bytes

Contents

#!/usr/bin/env ruby

$:.unshift(File.join(File.dirname(__FILE__), "../../lib"))
$:.unshift(File.join(File.dirname(__FILE__), "../../test"))

require 'Assert'
require 'sqlpostgres'

include SqlPostgres
include Assert

# Example: ../../lib/sqlpostgres/Update.rb
update = Update.new('foo')
update.set_array('i', [1, 2, 3])
p update.statement      # OUTPUT
# End example

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sqlpostgres-1.3.0 doc/examples/update_set_array.rb
sqlpostgres-1.2.6 doc/examples/update_set_array.rb
sqlpostgres-1.2.5 doc/examples/update_set_array.rb
sqlpostgres-1.2.4 doc/examples/update_set_array.rb