Question omer · 18 hr ago Intersystems Data Models and ACID Hello! So my question is quite simple, Do the different data models of Intersystems all support the ACID properties?I assume that for the SQL data model implementation it does, But does it also work for global (i.e the hierarchical data model)? #Data Model #SQL #Caché #InterSystems IRIS 1 6 0 53
Question omer · Jan 12 InterSystems Response Content-Length Hello, In short, I am trying to get the Content-Length of my response, We have a CSP application, when we get a new request we begin to process it, throughout the app we WRITE to the response in different places, now when the response is about to be sent back to the client - we would like to know its Content-Length (in the RESPONSE HEADERS). So it comes down to two questions:1. How can we access the Content-Length of our response? #CSP #Caché #InterSystems IRIS 0 1 0 38
Question omer · Nov 24, 2024 Intersystems REGEX engine I am working on a product that uses REGEX and matches it. The regex is tested both on the client-side (using the JavaScript REGEX engine) and both on the server-side.But I couldn't find one word about the way intersystems parses the regex, It is quite elementary to state which which engine it works with. from what I could gather from early implementations and such, the engine is based off PCRE, But I need to confirm this somehow, Can anyone give me a definitive answer, Is there any tool to test the regex other than writing it myself?? #JavaScript #Caché 0 2 0 126
Question omer · Oct 30, 2024 Running a routine by name in a non-conventional way? So I know we can run routines using both XECUTE or @ However both of them run slower than just running the routine without it. (that is because as far as i understand, XECUTE command for example will re-compile before running?)the question is: how can I run a routine by name - and keeping the performance as good as possible? #Caché #InterSystems IRIS 0 1 0 95
Question omer · Oct 28, 2024 Load and compile error Hello, I am using the following: s status = $SYSTEM.OBJ.Load("myClassName," "c") and while trying to compile it i get an error that a property or method does not exist, more specifically: #Caché #InterSystems IRIS 0 3 0 87
Question omer · Oct 1, 2024 Execute a routine with argument by name - Without using Xecute! Hello everyone, so lets say i have the following: HelloQsay(arg) w arg Q and i am trying to execute it by its name such as: s a = "say^hello" *execute the name inside a* now I know for a fact that if say were written without any argument then do @a would work! but I can I pass an argument in this case?I don't want to use Xecute because I am in need of really high performance code. #Key Question #Caché #InterSystems IRIS 2 10 1 211
Question omer · Sep 29, 2024 Run a routine that was created and compiled with %Routine library I created and then compiled a routine using the %Routine library s routine = ##class(%Routine).%New(fileName_"."_extension)d routine.Write(parsedRule)//s status = routine.Save()s status = routine.SaveStream(,.refresh)if ($$$ISERR(status)) throw status #Compiler #Caché #InterSystems IRIS 0 2 1 68
Question omer · Jun 25, 2024 How can i see the request size in kilobytes/megabytes? I need to be able to take the size of the request from a given %CSP.request however it seems the best the docs suggest is to get the length of characters in the request (using $order and Get, Count)...this is not good enough for what I need to do, Any suggestions?I scanned the docs and couldn't find anything. #CSP #Caché #InterSystems IRIS 0 5 0 128
Question omer · Apr 11, 2024 Delete the reference MEMORY So as asked, I am not talking about KILL - KILL as stated in the docs: This command removes the variable. If there are no further references to the object, this command also removes the object from memory, I want to remove the object from memory even if it is still referenced in memory - I understand that cache is not a low-level programming language, But i was hoping there is a way. Notice that have a RegisteredObject and it is a single reference, It is different than the UnSwizzles suggested in other posts. #Caché #InterSystems IRIS 0 6 0 175
Question omer · Feb 13, 2024 Create a datatype that overrides the Set and Get I want to create a datatype that Extends from String and in its set and get it will parse the string or do whatever - my GET works, my SET doesn't. #Caché 0 7 0 237