Question Tuan Minh Do · Oct 4, 2018 Time Loop in Cache Object Script Hello,I am a beginner with Object Script and I hope anyone can help me solving my questions.1. Is there a way to time a loop in Object Script? 2. My code leads to the following error, even though it executes the method.Is there a way to ignore this specific error, so that I can repeat my code in a time loop over and over again without stopping? #Beginner #Caché #ObjectScript 1 3 1 965
Question Tuan Minh Do · Oct 3, 2018 CreateProperty with curl Hello, I have a question about creating properties with curl. I already did create properties in Java with the following command. <DO db.%CreateProperty("TotalSteps","%Integer","$.TotalSteps")> It created the property TotalSteps with the type %Integer and the data path $.TotalSteps (since the header of my data source is also TotalSteps). Now I would like to create the same property in curl with the following command #Databases #SQL #Caché 0 2 0 484
Question Tuan Minh Do · Jul 16, 2018 %DOC with DeepSee Hello,I have imported my data with the following code (%DocDB).set filename = "/home/student/Dokumente/convertcsv.json"IF $SYSTEM.DocDB.Exists("Fitabase1") { SET db = ##class(%DocDB.Database).%GetDatabase("Fitabase1")}ELSE {SET db = ##class(%DocDB.Database).%CreateDatabase("Fitabase1") }set arr = ##class(%DynamicAbstractObject).%FromJSON(filename)SET jstring = arr.%ToJSON()//SET doccount = db.%Size()DO db.%FromJSON(jstring) #Document Data Model (NoSQL) #InterSystems IRIS BI (DeepSee) #InterSystems IRIS 0 2 0 421