Chapter 12.1.5. Expired Rows

When using caching, SQLObject retrieves a row just one time from the database and returns the cached result for subsequent query. Some situations require that some row be retrieved again from the DB without turning off caching for the entire table. For example, maybe there is a special row in a table that every process that modifies the table needs to update (perhaps for some internal bookkeeping purpose). SQLObject enables you to expire a particular instance, while the other rows of this table will remain cached (after the first time they are queried).

Get Rapid Web Applications with TurboGears: Using Python to Create Ajax-Powered Sites now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.