Question Daniel Aguilar · Jul 13, 2021 Method return List of type Good afternoon I am making a method of a class that I want to return a list of objects of another class that I have defined, example: ClassMethod myMethod() As list of MyPackage.MyClass{} But it gives me a syntax error, I try this and it works: ClassMethod myMethod() As %ListOfObjects{} But I would like to keep the typing. Is there a way? #ObjectScript #Caché 0 5 0 522
Question Daniel Aguilar · Nov 4, 2020 Avoid $c(0) in globals Good Morning, I have this question for a long time. When I make an insert by SQL from an external application in the fields of type %String, if they are empty, it writes the character $c(0) in the global. Is there a way so that if an Insert is received in a field of type% String with null value instead of the $ c (0) it leaves it empty?: #.NET #Globals #SQL #Caché 0 7 0 1.1K