FunctionInfo = new SqlFunctionInfo { Name = "UpdateArrayPointIndexFsharp", Arguments = new List<FunctionArgument> { new FunctionArgument("a", "point[]"), new FunctionArgument("b", "point") }, ReturnType = "point[]", Body = FunctionBody, Language = Language, IsStrict = true, CastFunctionAs = "TEXT", };
|
return new object[][] { new object[] { "f#-point-null-1array", "updateArrayPointIndexFSharp1", "ARRAY[POINT(10.0,20.0), POINT(30.0,55.0), null::point, POINT(40.5,21.3)], POINT(31.43, 32.44)", "= CAST(ARRAY[POINT(31.43, 32.44), POINT(30.0,55.0), null::point, POINT(40.5,21.3)] AS TEXT)" }, new object[] { "f#-point-null-2array-arraynull", "updateArrayPointIndexFSharp2", "ARRAY[[null::point, null::point], [null::point, POINT(40.5,21.3)]], POINT(31.43, 32.44)", "= CAST(ARRAY[[POINT(31.43, 32.44), null::point], [null::point, POINT(40.5,21.3)]] AS TEXT)" }, new object[] { "f#-point-null-3array-arraynull", "updateArrayPointIndexFSharp3", "ARRAY[[[null::point, null::point], [null::point, POINT(40.5,21.3)]]], POINT(31.43, 32.44)", "= CAST(ARRAY[[[POINT(31.43, 32.44), null::point], [null::point, POINT(40.5,21.3)]]] AS TEXT)" }, };
|