Sha256: 471ecc9439216c0e3b97ffbeafb3f4481a4b70f0167359af6a39fedfd92dafa6

Contents?: true

Size: 315 Bytes

Versions: 4

Compression:

Stored size: 315 Bytes

Contents

#!/usr/bin/env ruby

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

require 'sqlpostgres'
include SqlPostgres

# Example: ../manual.dbk
Connection.open do |connection|
  Connection.default = connection
  select = Select.new
  select.select_literal(1, 'i')    # OUTPUT
  p select.exec
end
# End example

Version data entries

4 entries across 4 versions & 1 rubygems

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