# How to remove a row?

  1. Specify the query condition using the collection's Query class, ex: LotteryQuery
  2. Use the collection's Writer api remove passing the query.
val lotteryQry = LotteryQuery().lotteryName.is("lotto-1")
LotteryWriter().remove(lotteryQry)