Revision 2639
Added by Aaron Marcuse-Kubitza over 12 years ago
sql.py | ||
---|---|---|
867 | 867 |
row_ct_ref[0] += cur.rowcount |
868 | 868 |
return value(cur) |
869 | 869 |
except DuplicateKeyException, e: |
870 |
return value_or_none(select(db, table, [pkey_],
|
|
870 |
return value(select(db, table, [pkey_], |
|
871 | 871 |
util.dict_subset_right_join(row, e.cols), recover=True)) |
872 | 872 |
|
873 | 873 |
def get(db, table, row, pkey, row_ct_ref=None, create=False): |
Also available in: Unified diff
schemas/functions.sql: _nullIf: Fixed bug where NOT NULL parameters were not supported, because an input NULL value would not match an existing DEFAULT value in a select query, by temporarily disabling _nullIf until this can be supported. Removed previous workarounds.