lib/mosql/sql.rb in mosql-0.3.1 vs lib/mosql/sql.rb in mosql-0.3.2
- old
+ new
@@ -5,9 +5,10 @@
attr_reader :db
def initialize(schema, uri, pgschema=nil)
@schema = schema
connect_db(uri, pgschema)
+ @db.extension :pg_array
end
def connect_db(uri, pgschema)
@db = Sequel.connect(uri, :after_connect => proc do |conn|
if pgschema