diff --git a/README.md b/README.md index b5c8297..82a3c97 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,13 @@ Ecto integration for Apache Cassandra. Documentation: http://hexdocs.pm/cassandra_ecto/ +## Features + +* Migrations (with UDT support) +* Lightweight transactions +* Batching (only for `insert_all` queries) +* Streaming + ## Example ```elixir @@ -50,8 +57,6 @@ Tested against 3.7+. ## Installation -If [available in Hex](https://hex.pm/docs/publish), the package can be installed as: - 1. Add `cassandra_ecto` and `cqerl` to your list of dependencies in `mix.exs`: ```elixir diff --git a/lib/cassandra_ecto/adapter/cql.ex b/lib/cassandra_ecto/adapter/cql.ex index ecfe000..e6b382d 100644 --- a/lib/cassandra_ecto/adapter/cql.ex +++ b/lib/cassandra_ecto/adapter/cql.ex @@ -80,7 +80,7 @@ defmodule Cassandra.Ecto.Adapter.CQL do :exists -> if_op("EXISTS") nil -> "" wheres when is_list(wheres) -> - Enum.map_join(wheres, " AND ", fn {k, v} -> quote_name(k) <> " = ?" end) + Enum.map_join(wheres, " AND ", fn {k, _v} -> quote_name(k) <> " = ?" end) |> if_op end end