Skip to content

Commit

Permalink
add feature list to README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vintikzzz committed Dec 15, 2016
1 parent e620fef commit 734329e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/cassandra_ecto/adapter/cql.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 734329e

Please sign in to comment.