I found an unanswered mail in the archives that implied that perhaps there is no direct way to delete a DB entry with the new "Set" syntax. I have been playing, and so far if there is a way to do it I haven't been able to suss it out. Set(DB(family/key)=) sets the value for the key to null, but that doesn't appear to be equivalent to removing the key entirely. Or maybe DBDel isn't deprecated, like the other two are. Anyone know the score? Thx. B.
> I found an unanswered mail in the archives that implied that perhaps > there is no direct way to delete a DB entry with the new "Set" syntax. > > Set(DB(family/key)=) sets the value for the key to null, but that > doesn't appear to be equivalent to removing the key entirely. > > Or maybe DBDel isn't deprecated, like the other two are. > > Anyone know the score?I was wondering the same thing myself... I guess dbdel is not deprecated, and that is confusing because dbput is deprecated. Maybe this should be posted to the -dev list because I don't think that -users is being heavily monitored by Digium. -- Nicol?s Gudi?o Buenos Aires - Argentina
Brian Capouch wrote:> Set(DB(family/key)=) sets the value for the key to null, but that > doesn't appear to be equivalent to removing the key entirely. > > Or maybe DBDel isn't deprecated, like the other two are.It's not deprecated. There is no code yet for a DBDel type function.