Changes between Initial Version and Version 1 of Ticket #26468, comment 2


Ignore:
Timestamp:
Apr 5, 2016, 5:33:29 PM (9 years ago)
Author:
jerch

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26468, comment 2

    initial v1  
    77Expected output: 'value_from_field_1-value_from_field_2'
    88
    9 Instead I just got an invalid syntax sql error.
     9Instead I just got an invalid syntax sql error:
     10
     11{{{
     12django.db.utils.OperationalError: near ")": syntax error
     13}}}
     14
     15Problem is that the empty Value('') creates something like this for sqlite:
     16
     17{{{
     18COALESCE("A", )
     19}}}
     20
     21which is not valid for sqlite:
     22
     23{{{
     24sqlite> SELECT COALESCE("A", );
     25Error: near ")": syntax error
     26}}}
Back to Top