> > Depends on where you look in the book: > http://www.web2py.com/books/default/chapter/35/06/the-database-abstraction-layer > > - i just copied that line yesterday. Because of the differences between > your line and mine i googled 'virtual fields web2py' > <https://www.google.nl/search?hl=nl&q=db.item.total_price+%3D+Field.Virtual(&meta=&aq=f&oq=&gws_rd=ssl#hl=nl&q=Virtual+Fields+Web2py> > > and found both old (4th edition) and new documentation (6th edition)in the > book.
Your first link is to the Chinese translation of the book, which is (a) incomplete (therefore, most of it is still English) and (b) still at the 4th edition. We should probably do something to avoid this confusion when coming from Google search results. In the meantime, please be sure to link to the current English edition: http://web2py.com/book. Anthony -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.