Alex Gaynor 11/29/2008

Other ORM Goodies

Read Original

This article details a Django ORM enhancement for version 1.1: the introduction of F() expressions. It explains how developers can use F objects to create queries that compare model fields (e.g., height > width) and perform arithmetic operations directly in filter() and update() statements, such as giving all employees a 10% raise.

Other ORM Goodies

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week