lib/bmg/sequel.rb in bmg-0.16.3 vs lib/bmg/sequel.rb in bmg-0.16.4
- old
+ new
@@ -26,10 +26,10 @@
[source, sequel_db, type]
end
module_function :sequel_params
def infer_type(sequel_db, source)
- TypeInference.new(sequel_db).call(source) if source.is_a?(Symbol)
+ TypeInference.new(sequel_db).call(source) if source.is_a?(Symbol) || source.is_a?(::Sequel::SQL::QualifiedIdentifier)
end
module_function :infer_type
end