lib/enrichment_db/datum.rb in enrichment_db-0.1.9 vs lib/enrichment_db/datum.rb in enrichment_db-0.1.10

- old
+ new

@@ -1,14 +1,4 @@ require 'helper' class EnrichmentDb::Datum < EnrichmentDb::DatumModel - def self.by_lambda(schema_name, table_name, condition) - puts "Finding object from #{table_name} with condition #{condition}." - query = "SELECT * FROM #{schema_name}.#{table_name} where #{condition}" - - result = EnrichmentDb.request(schema_name, query).collect do |record| - record - end - - format_result(result) - end end