Other ORM Goodies
Read OriginalThis 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.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser