Sha256: cacab2020ccba96a7705dba578669952c63063da3feca7b87dc0e80f099213a3
Contents?: true
Size: 359 Bytes
Versions: 4
Compression:
Stored size: 359 Bytes
Contents
#!/usr/bin/env ruby $:.unshift File.join(File.dirname(__FILE__), "../../lib/") require 'sqlpostgres' include SqlPostgres Connection.open do |connection| connection.exec("create temporary table person (name text)") # Example: ../manual.dbk insert = Insert.new('person', connection) insert.insert('name', 'Fred') insert.exec # End example end
Version data entries
4 entries across 4 versions & 1 rubygems