Skip to content
Snippets Groups Projects
Commit 025d6eb7 authored by S.Listl's avatar S.Listl
Browse files

SqlBuilder updateData fix

parent ef30b1e4
No related branches found
No related tags found
No related merge requests found
......@@ -23,4 +23,4 @@ var values = [
];
newWhere("AB_ATTRIBUTE.AB_ATTRIBUTEID", "$field.UID")
.updateData(true, columns, null, values, "AB_ATTRIBUTE");
\ No newline at end of file
.updateData(true, "AB_ATTRIBUTE", columns, null, values);
\ No newline at end of file
......@@ -13,7 +13,7 @@ if (vars.get("$field.CLASSIFICATIONID"))
if (vars.get("$field.CLASSIFICATIONSCORE_ID"))
{
newWhere("CLASSIFICATION.CLASSIFICATIONID", vars.get("$field.CLASSIFICATIONID"))
.updateData(true, ["CLASSIFICATIONSCORE_ID"], null, [vars.get("$field.CLASSIFICATIONSCORE_ID")], "CLASSIFICATION");
.updateData(true, "CLASSIFICATION", ["CLASSIFICATIONSCORE_ID"], null, [vars.get("$field.CLASSIFICATIONSCORE_ID")]);
}
else
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment