# File lib/aws/simple_db/item_collection.rb, line 535 def where_clause conditions = self.conditions.dup if @not_null_attribute conditions << coerce_attribute(@not_null_attribute) + " IS NOT NULL" end conditions.empty? ? nil : "WHERE #{conditions.join(" AND ")}" end