flake8
passed.
JSHint
passed.
Review Request #11104 — Created July 30, 2020 and submitted
SQLResultnow gracefully handles adding aNonevalue, ignoring the
value instead of raising an exception. This helps avoid issues and
simplifies code that otherwise had to check values before adding to the
result.It also now handles
Statementvalues, which are what most SQL
generation functions generate in Django 2.0 and higher. It will convert
them to SQL and ensure they have a trailing;.Both of these will be more necessary with upcoming support for
constraints in Django 2.2+.
Unit tests pass on all versions of Django, for all databases.
Tested both
NoneandStatementhandling in some in-progress changes.
| Summary | ID |
|---|---|
| b70726b477586a14a57267ed0e3cf0ed3f5bee4e |