Now if I try setting the value of a query parameter of the type List<?>, the server returns that EmptyList cannot be assigned to a parater of the type List<?>. It is annoying when you have a single prepared query which can get the empty list as its parameter.
For example
DECLARE $x AS List<uint32>;
DECLARE $y AS List<uint32>;
SELECT * FROM X WHERE x IN $x
UNION ALL
SELECT * FROM X WHERE y IN $y
Now if I try setting the value of a query parameter of the type
List<?>
, the server returns thatEmptyList
cannot be assigned to a parater of the typeList<?>
. It is annoying when you have a single prepared query which can get the empty list as its parameter.For example