# File lib/sdb/active_sdb.rb, line 357 def select(*args) options = args.last.is_a?(Hash) ? args.pop : {} case args.first when :all then sql_select(options) when :first then sql_select(options.merge(:limit => 1)).first else select_from_ids args, options end end