News for hackers. Stuff that matters.
Re:Notset: A Do-Not-Care value for Python by shmeedogg on Saturday November 10, 2012 @04:09PM (#4767746)
That example could probably use some clarification, but the idea is that `name` and `age` in that example are both nullable, so passing in `None` (setting the column to NULL) is different than omitting the value (leaving the column unchanged).
Re:Notset: A Do-Not-Care value for Python by eurleif on Saturday November 10, 2012 @04:14PM (#4767756)
I think this could handled more elegantly if Python supported an Option type, by making 'name' an Option[Option[String]]