I am loving this command line function (thanks again Grimborg and Jarsto!)
Here's another tweak: "update books set reading_time=added_date where reading_time is null;"
This way each book has a unique reading_time, the date is more meaningful than January 1, 1970, and it still takes only one command.
|