Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module Sequel
- module JDBC
- class Database
- def quote_identifiers_default
- false
- end
- end
- module Informix
- module DatabaseMethods
- # Informix uses the :informix database type.
- def database_type
- :informix
- end
- def dataset(opts=nil)
- Sequel::JDBC::Informix::Dataset.new(self, opts)
- end
- end
- class Dataset < JDBC::Dataset
- def count
- select_map{COUNT(:*)}.first.to_i
- end
- end
- end
- end
- end
Add Comment
Please, Sign In to add comment