go to post Gautam Rishi · Oct 5, 2023 @Dheeraj Gupta As of now JSON is converting to string while compilation and crosses the max length of string. So, that is why this error is occurring.
go to post Gautam Rishi · Sep 11, 2023 but It gives me same value 10 in almost all cases wether it is DATE or Integer type. How Can I get actual datatype of that value.
go to post Gautam Rishi · Jul 22, 2023 I am getting this error while compiling few files. ERROR #5373: Class 'EnsLib.HL7.Message', used by 'TEST.Fw.CUnitTestBase:GetHL7FromString:ReturnType', does not exist > ERROR #5030: An error occurred while compiling class 'TEST.Fw.CUnitTestBase' ERROR #5373: Class 'EnsLib.HL7.Message', used by 'TEST.Fw.CUnitTestBase:GetHL7FromXData:ReturnType', does not exist > ERROR #5030: An error occurred while compiling class 'TEST.Fw.CUnitTestBase'
go to post Gautam Rishi · Jul 22, 2023 How you are running the testcases. I tries to copy the Fw dir to my project but it is not working.
go to post Gautam Rishi · Jul 13, 2023 hi all,is there any way to export all my file from iris server to local dir. just like below command used to import it. set dir="/your_download_dir/isc-dev do $System.OBJ.ImportDir(dir,"*.xml;*.cls;*.mac;*.int;*.inc;*.dfi","cuk",,1)
go to post Gautam Rishi · Jul 6, 2023 so you mean to say that sql query DATEDIFF() method is right to be used in code instead of ZDATETIME()
go to post Gautam Rishi · Jul 5, 2023 @John Murray thanks for sharing link. I tried the both 2 approach1. Database query with DATEDIFF(s, '1970-01-01 00:00:00', BirthDate) => OUTPUT = -54777600 2. $ZDATETIME(BirthDate, -2) => OUTPUT = -54797400 where BirthDate = 46483 which is not same. So I am confused if the query result is wrong or 2 approach result.
go to post Gautam Rishi · Jul 3, 2023 inspectdb generated models are not exactly correct need to update it manually that will take time. So I wanna skip this part and will use raw SQL query and a connection cursor to DB.
go to post Gautam Rishi · Jun 30, 2023 I am using this django-iris. I am having a namespace with some old datatables which I want to use instead of creating any new models. While I am running python manage.py dbshell this command is not working as desired.Also If I want to use my current tables how can I proceed with this.
go to post Gautam Rishi · Jun 30, 2023 mocking-framework] Reload START (/Users/irisusr/mgr/Temp/6665534996923997/InterSystems-UnitTest-Mocking/)[mocking-framework] Reload FAILUREERROR! Resource path '/Users/irisusr/mgr/Temp/6665534996923997/InterSystems-UnitTest-Mocking/src/chs' not found
go to post Gautam Rishi · Jun 30, 2023 getting this error while running the same commandERROR! ObjectScript error: <CLASS DOES NOT EXIST>%GetClass+5^%ZPM.PackageManager.Developer.Extension.SourceControl.Interface.1 *SourceControl.Git.Extension > ERROR #6315: Errors reporting importing XML subelement in file '/Users/irisusr/mgr/Temp/6665532401621932/InterSystems-UnitTest-Mocking/module.xml' at line '3' offset '42', skipping this item.
go to post Gautam Rishi · Jun 30, 2023 Hi @Guillaume Rongier I was also looking the same repository. Try to install it by using ZPM. But it was giving error below - ERROR! 'mocking-framework' not found in any repository.any article how to setup this framework in my existing project on a local iris server.
go to post Gautam Rishi · Jun 29, 2023 It is not what i want. I am writing unit test cases and Also I have tested APIs from Postman but for Unit testing we need to write Unit testcases.
go to post Gautam Rishi · Jun 29, 2023 How can i check in resultset if there is any record present in the resultset.
go to post Gautam Rishi · Jun 26, 2023 I don't see dispatch classes in vs code. Also, Sharing a sample code for the same would be more helpful.
go to post Gautam Rishi · Jun 26, 2023 catch block looks something like this. }catch (err){ do ..%SetStatusCode(500) set res.stateCode = 500 set res.msg = "Server Internal Error" set res.ErroMsg = err.%Message return err }
go to post Gautam Rishi · Jun 23, 2023 So In this case, If i wanna know the value return from this object is of which data type. How can I achieve that?
go to post Gautam Rishi · Jun 23, 2023 I didn't get any standard methods in this library. If any other you can suggest?