#16211: using negated F()-expression in update query -------------------------------------+------------------------------------- Reporter: wdoekes | Owner: nobody Type: New feature | Status: reopened Component: Database layer | Version: master (models, ORM) | Resolution: Severity: Release blocker | Triage Stage: Ready for Keywords: | checkin Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by twoolie): So if we want &/| to work in the same way for Q and F objects then this should be the goal? {{{ SQL | ORM -----------------+------------------------------------ field1 & field2 | F('field1').bitand(F('field2')) field1 && field2 | F('field1') & F('field2') field1 | field2 | F('field1').bitor(F('field2')) field1 || field2 | F('field1') | F('field2') }}} -- Ticket URL: <https://code.djangoproject.com/ticket/16211#comment:32> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.