Feb 11, 2015; 11:01
Justin Dennis
[DS] Error in your SQL syntax on ds->updaterow
Hi -
I'm using Ke's ds and have bumped into an issue where it seems ds is
generating bad SQL:
You have an error in your SQL syntax; check the manual that corresponds to
your MySQL server version for the right syntax to use near 'WHERE `email` 'michael.arnold+testlead@allatps.com'' at line 1 (Error Code 1064)
Error Stack
561:21 //var/lasso/home//LassoApps//ds/ds.lasso
I am calling ds like this:
local(ds = ds(::mydatabase), db_params::map=map)
#db_params->insert('fieldname' = 'value')
#ds->updaterow(::customer, #db_params, 'email'=.email)
(where .email is a data private to the type)
This code seems to work fine, except for one record with the above key. Any
pointers to troubleshoot this issue? I would love to know what SQL it's
creating so I can find the error.
Thanks for any insights you can offer.
- Justin
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso Lasso@lists.lassosoft.com
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
Feb 11, 2015; 11:08
Justin Dennis
Re: [DS] Error in your SQL syntax on ds->updaterow
Feb 11, 2015; 09:23
Steffan A. Cline
Re: [DS] Error in your SQL syntax on ds->updaterow