From af1db6756ea5ff3026ab01d008040f43c9d2181e Mon Sep 17 00:00:00 2001 From: Sathishkumar Kandasamy Date: Fri, 8 Jan 2016 14:53:03 -0800 Subject: [PATCH] Fixing 'Amazon DynamoDB' example to query items with condition 'Company' equals 'Google'. Currently its written as cond.gt("Google") that is not returning any results. Fix to change it to cond.eq("Google") --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e2c53fdb..a40e9252 100644 --- a/README.md +++ b/README.md @@ -215,7 +215,7 @@ table.put(1, "Japan", "Name" -> "Alice", "Age" -> 23, "Company" -> "Google") table.put(2, "U.S.", "Name" -> "Bob", "Age" -> 36, "Company" -> "Google") table.put(3, "Japan", "Name" -> "Chris", "Age" -> 29, "Company" -> "Amazon") -val googlers: Seq[Item] = table.scan(Seq("Company" -> cond.gt("Google"))) +val googlers: Seq[Item] = table.scan(Seq("Company" -> cond.eq("Google"))) table.destroy() ```