Quote:
Originally Posted by eschwartz
Really?  Why doesn't it just have the formatted number?
I jumped to the assumption that your script would produce the actual number, it seemed like a more obvious result. 
|
Because that would require writing every book with a different value, meaning a transaction per book in series. As it is, I use the write_many API so there is a transaction per series. I wanted the script to be as fast as possible, and didn't care about any extra work to use the format.
The scheme permits you to copy the format instead of running the script if you know that the existing format is correct. It also permits you to change the format manually in one bulk edit if you change the series structure for a book.
Feel free to change it if you want.