phantom icon indicating copy to clipboard operation
phantom copied to clipboard

Remove key,value pair from MapColumn

Open lderks opened this issue 10 years ago • 1 comments

Is there a way to remove a key,value pair from a MapColumn?

I can only find the put, putAll and setTo operators.

lderks avatar Jun 07 '16 11:06 lderks

Hi @lderks,

     // props is a MapColumn[String, Int]
     TestDatabase.recipes
          .delete(_.props("test"), _.props("test2"))
          .where(_.url eqs url)
          .future()

Hope this helps!

alexflav23 avatar Jun 07 '16 11:06 alexflav23