Skip to content

Commit

Permalink
[DOCS][NO-REF]: example code update
Browse files Browse the repository at this point in the history
  • Loading branch information
fsanaulla authored Jun 10, 2018
1 parent 41b24d9 commit 1457731
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,13 @@ val measurement: Measurement[Resume] =
influx.measurement[Resume](databaseName, measurementName)

// let's write into measurement
val resume =
Resume("dasdasfsadf", "Jame", "Lanni", "Scala developer", Some(25), 4.5, 12312312L)
val resume = Resume("dasdasfsadf",
"Jame",
"Lanni",
"Scala developer",
Some(25),
4.5,
System.currentTimeMillis() * 1000000)

// insert entity
measurement.write(resume).onComplete {
Expand Down

0 comments on commit 1457731

Please sign in to comment.