Skip to content

Commit

Permalink
WIP rework
Browse files Browse the repository at this point in the history
  • Loading branch information
vlmiroshnikov committed Jan 27, 2018
1 parent d294b9a commit 46beaf3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This project provides scala client to Aerospike database.

Dependencies
------------

- scala 2.12
- shapeless-2.3.3
- java aerospike-client 4

Expand All @@ -17,8 +17,7 @@ Quick start
-----------
To start working with Aero you have to add dependency sbt:
```scala


libraryDependencies += "org.aero" % "aero" % "0.1.1"
```

Now you can use it like this:
Expand All @@ -44,8 +43,8 @@ Now you can use it like this:
(key, value) <- get("002", ("key".as[String], "double_column".as[Double]))
optionResult <- getOpt("002", "string_column".as[String])
} yield {
println(s"$key = $value") // print 002 = 1.1
println(optionResult) // print Some(String)
println(s"$key = $value") // 002 = 1.1
println(optionResult) // Some(String)
}

Await.ready(eventualUnit, Duration.Inf)
Expand Down
1 change: 0 additions & 1 deletion project/Settings.scala
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import sbt._
import bintray.BintrayKeys._

object Settings {

Expand Down

0 comments on commit 46beaf3

Please sign in to comment.