python-sql

Bug 59

classification
Title: The idiom str(table)[1:-1] used in the AliasManager is wrong
Type: behavior Severity: normal
Components: Versions:
process
Status: new Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: ced, nicoe
Priority: normal Keywords:

Created on 2018-04-27 10:21 by nicoe, last changed 2018-04-27 12:25 by ced.

Messages
msg68 Author: [hidden] (nicoe) Date: 2018-04-27 10:21
It won't work when the table is defined in a schema

See:
https://codereview.tryton.org/38201002/diff/1/sql/__init__.py#newcode698
msg69 Author: [hidden] (ced) Date: 2018-04-27 12:25
I think it was introduced because SQLite does not support
alias on UPDATE and INSERT queries
https://sqlite.org/lang_insert.html
https://sqlite.org/lang_update.html
History
Date User Action Args
2018-04-27 12:25:49cedsetnosy: + ced
messages: + msg69
2018-04-27 10:21:30nicoecreate