lib/query_builder/cql/contexts/table.rb in query_builder-0.0.2 vs lib/query_builder/cql/contexts/table.rb in query_builder-0.0.3
- old
+ new
@@ -89,11 +89,11 @@
#
# @param [Hash] options
#
# @return [QueryBuilder::Statements::Insert]
#
- def insert(options)
+ def insert(options = {})
Statements::Insert.new(context: self).insert(options)
end
# Builds the 'SELECT' CQL statement
#
@@ -109,10 +109,10 @@
#
# @param [Hash] options
#
# @return [QueryBuilder::Statements::Update]
#
- def update(options)
+ def update(options = {})
Statements::Update.new(context: self).update(options)
end
# Builds the 'DELETE' CQL statement
#