Wait! Looks like we don't have enough information to add this to bug database. Please follow this template bug format.
Bug loading record based on id property for SQL
Bug loading record based on id property for SQL
in sql.js selectRecords function line 365, the sql statement is prepared by concatenating strings rather than passing params, and the ID property isn't quoted. This results in an sql error. The quick fix (rather than using ? and doing things properly) is to just add the quotes.Code:
sql += filterStatement + idProperty + ' = ' + params;
should read:Code:
sql += filterStatement + idProperty + ' = "' + params + '"';
ST 2.3.0 bug loading record based on id property for SQL
Aucun commentaire:
Enregistrer un commentaire