Revision 2172
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql.py | ||
---|---|---|
496 | 496 |
LANGUAGE sql |
497 | 497 |
AS $$'''+mogrify(db, query, params)+''';$$; |
498 | 498 |
''' |
499 |
run_query(db, function_query, cacheable=True) |
|
499 |
run_query(db, function_query) |
|
500 |
# don't cache because function def could change and then change back |
|
500 | 501 |
|
501 | 502 |
# Return query that uses function |
502 | 503 |
return mk_select(db, function+'() AS f ('+returning+')', start=0, |
Also available in: Unified diff
sql.py: mk_insert_select(): embeddable: Don't cache function_query because function def could change and then change back