You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Queries like the following now throw an error, but worked correctly in version 3.0.37:
when using server-side custom functions implemented in JavaScript. For example:
history_rs = db.query(
"SELECT id,data FROM model_history WHERE [id, version] IN ?",
versions
);
It only ever matches the first condition ['5050_globalData', 40L].
Also, in previous version 3.0.37, the following worked:
var rs3 = db.command(
"INSERT INTO " + clazz + " SET id = ?, model = ?, children = ?",
[id++, model, clonedMap]
);
But in 3.2.43, the [] around [id++, model, clonedMap] must be removed for it to work properly.
It seems that handling of array parameters and IN conditions has changed between versions. Could you clarify if this is a known change or provide guidance on how to write equivalent queries in the current version?