Skip to content
Browse files

Simplifies ExQL.select

  • Loading branch information...
1 parent 64ee5a6 commit f2c985635f0ebf85f6044e857bd89ffe32e804f6 @yrashk committed Jul 7, 2012
Showing with 2 additions and 6 deletions.
  1. +2 −6 lib/exql.ex
View
8 lib/exql.ex
@@ -1,9 +1,5 @@
defmodule ExQL do
-
- def select(options // []) when is_list(options) do
+ def select(options // []) do
ExQL.Select.new(options)
end
- def select(fields, options // []) do
- ExQL.Select.new(Keyword.put options, :fields, fields)
- end
-end
+end

0 comments on commit f2c9856

Please sign in to comment.
Something went wrong with that request. Please try again.