# How to remove a row?
- Specify the query condition using the collection's Query class, ex:
LotteryQuery - Use the collection's Writer api
removepassing the query.
val lotteryQry = LotteryQuery().lotteryName.is("lotto-1")
LotteryWriter().remove(lotteryQry)