Skip to content
Snippets Groups Projects
Commit 89bddeea authored by Johannes Goderbauer's avatar Johannes Goderbauer
Browse files

Sql_lib: SqlBuilder accepts conditions constants like: SqlBuilder.EQUAL (the whole function)

Reverted test code
parent 28d43a38
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@ import("system.db");
import("system.result");
import("Sql_lib");
var cond = newWhereIfSet("ACTIVITYLINK.ACTIVITY_ID", "$param.ActivityId_param", SqlBuilder.EQUAL);
var cond = newWhereIfSet("ACTIVITYLINK.ACTIVITY_ID", "$param.ActivityId_param", SqlBuilder.EQUAL());
//TODO: use a preparedCondition (.build instead of .toString) when available #1030812 #1034026
result.string(cond.toString());
\ No newline at end of file
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