Project

General

Profile

« Previous | Next » 

Revision 3708

sql.py: flatten(): Documented that shouldn't cache query because the temp table will usually be truncated after use

View differences:

lib/sql.py
989 989
    cols = [sql_gen.NamedCol(new.name, old) for old, new in items]
990 990
    run_query_into(db, mk_select(db, joins, cols, order_by=None, limit=limit,
991 991
        start=start), into=into, add_pkey_=True)
992
        # don't cache because the temp table will usually be truncated after use
992 993
    return dict(items)
993 994

  
994 995
##### Database structure introspection

Also available in: Unified diff