Sha256: 4503794d6c0841733f97beadcdb54327264c678d9569ce7d8ada6aa1e0b620a7

Contents?: true

Size: 248 Bytes

Versions: 24

Compression:

Stored size: 248 Bytes

Contents

#!/usr/bin/env ruby

require 'pg' unless defined?( PG )


class PG::Result

	### Returns all tuples as an array of arrays
	def values
		return enum_for(:each_row).to_a
	end

end # class PG::Result

# Backward-compatible alias
PGresult = PG::Result

Version data entries

24 entries across 24 versions & 3 rubygems

Version Path
jruby-pg-0.1-java lib/pg/result.rb
pg_jruby-0.17.1-java lib/pg/result.rb
pg-0.18.0.pre20140820094244 lib/pg/result.rb
pg-0.17.2.pre.546 lib/pg/result.rb
pg-0.17.1-x64-mingw32 lib/pg/result.rb
pg-0.17.1-x86-mingw32 lib/pg/result.rb
pg-0.17.1 lib/pg/result.rb
pg-0.17.0-x86-mingw32 lib/pg/result.rb
pg-0.17.0-x64-mingw32 lib/pg/result.rb
pg-0.17.0 lib/pg/result.rb
pg-0.16.0-x86-mingw32 lib/pg/result.rb
pg-0.16.0-x64-mingw32 lib/pg/result.rb
pg-0.16.0 lib/pg/result.rb
pg-0.15.1-x86-mingw32 lib/pg/result.rb
pg-0.15.1-x64-mingw32 lib/pg/result.rb
pg-0.15.1 lib/pg/result.rb
pg-0.15.0-x86-mingw32 lib/pg/result.rb
pg-0.15.0-x64-mingw32 lib/pg/result.rb
pg-0.15.0 lib/pg/result.rb
pg-0.15.0.pre.454-x64-mingw32 lib/pg/result.rb