Skip to content

Commit

Permalink
Update Db.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
anicolaspp committed Dec 8, 2018
1 parent 920225e commit 3dbf190
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ object Db {

val documents = documentStore.find(query)

println(s"Notice that the deletion process might take a while based on the size of the table ${config.tableName}.")

documentStore.delete(documents, config.id)

documentStore.close()
Expand All @@ -36,5 +38,5 @@ case class Error(e: Throwable) extends DBError
sealed trait DBMessage

case class CompletionMessage(query: Query) extends DBMessage {
override def toString: String = s"Done deleting documents for query: $query"
override def toString: String = s"Done deleting documents for query: $query."
}

0 comments on commit 3dbf190

Please sign in to comment.