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

1
The Beautiful Web
Jens Oliver Meiert 2 votes
3
LLM Use in the Python Source Code
Miguel Grinberg 1 votes
4
Wagon’s algorithm in Python
John D. Cook 1 votes