#30484: Using RawSQL with CheckConstraint
-------------------------------------+-------------------------------------
     Reporter:  David Sanders        |                    Owner:  nobody
         Type:  New feature          |                   Status:  closed
    Component:  Database layer       |                  Version:  2.2
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  wontfix
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Simon Charette):

 This came out [https://groups.google.com/forum/#!topic/django-
 users/cC9QcS0kh1Q on the user mailing list today].

 Wouldn't `CheckConstraint(Func('a,' 'b', 'c', function='num_nonnulls'))`
 work once support for expression is added in #30916?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30484#comment:4>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.a97293b62d83f6fdcb477fedc8137983%40djangoproject.com.

Reply via email to