Squirrel actually already has a driver definition for Caché and IRIS out of the box
And DBeaver has this ability too
- Log in to post comments
Squirrel actually already has a driver definition for Caché and IRIS out of the box
And DBeaver has this ability too
Could you update the article and extract the tutorial out of pdf?
Yeah, the VSCode plugin has not been updated for a while. The ObjectScriptQuality plugin itself already has new ARM64 support. We'll check and update the extension soon.
Have a look at some of my projects which can help with this contest
Give it a try and let me know if you have any issues with them, I can help to solve
Well, it’s not so old, it is definitely supports SourceControl class
How old is that Cache there?
Is it really the reading file taking so much time or using $piece on the line and setting it to global too?
There are various things here that may slow you, even $increment (best to be replaced by i+1)
You can also split the reading file and set it to global by two parts, and use $sortbegin
Try to run your code with %SYS.MONLBL started, it will help you understand where it spends more time.
Sorry, but it is the most horrible way to do it.
too old-school, the code has been outdated for many years. Dots syntax in 2023, seriously?
Projections are definitely not a way to solve it and did not get why they were even considered here
The best way to go is using %Studio.SourceControl, there are a lot of examples, and even some are out of the box already.
And most modern way now is to switch from Studio to VSCode, and to local-side development. So, all your classes will always be as files and can be synced to the git repository.
Look at the query FileSet in %File class
The thing is, that support for Ubuntu appeared later.
I’m not a fun of using LOAD DATA, it’s not complete, there are some things required to be kept in mind.
now I would recommend to look at dbt tool, which has support for IRIS, and may probably support older versions too, and it works with CSV quite easy, and can create table for you as well. Have a look, and let me know if you have any issues with it. I can fix bugs in IRIS support, if you find any. For IRIS you would need use dbt-iris package
I have tool for it, but it requires full authorization
Not sure why you think, that the IP is wrong. And probably it's the Windows thing and WSL
But, I use this way a lot of time, when I need to access from some docker container, some another service running locally, or another docker container not connected to the same network, and it works fine. This address is supposed to be used only from the container, it should not show the real IP address of the host. If you wish to show some URL, which will be available outside of the container, obviously it will not help.
Great, thanks for the post. I still did not manage to do it by myself.
Your issue with screen formatting is very interesting, it deserves a separate topic. I have not seen any issues yet with it. While I’d like to find a way to improve a standard IRIS terminal, like irissqlcli, I’d like to see the most challenging parts like this.
webTerminal obviously not a right tool for it. As a replacement for it, you can try to use ttyd, I use it for irissqlcli-web
It may happen when upgrade from quite old version of zpm. Could you confirm that, if you have old version already installed. In that case, try to manually delete %ZPM package and install again
well, then I would check the %session.SessionId, is it the same or not?
I did not work much with sessions last time. And most of my experience with using %session.Data was in a project where we used %session.Preserve=1. But I can't recommend using this way, it may cause many other issues from my experience.
First of all you have to check if it's a different Web Applications, then the Cookie path has to be the same for both.
If not, it will mean two separate applications with a separate session.
Yeah, we already found it in IPM, where we used $Text
I wanted to add this ability to irissqlcli, I think it will be useful there.
At least you can use VSCode for this task, routines and classes and even some other types
Go to Security, Web Applications, select /csp/user, which is default app for the USER namespace, or if you need it for another namespace, find default web application for that namespace. And check Analytics there, and save
.png)
You can use whatever you want, just remember about some caveats, like issue with bitslice/bitmap indexes, which requires numerical ID
I would recommend using just a Unique Index for the UUID field and use it, it should cover most of the needs.
Interesting, I'm sure, that tried it, and it did not work. But working now
To do it, remember to backup the data before the process. Be careful, you can harm your data this way.
Documentation about it. One of the ways, at least. Depends on what you really want to achieve.
Before, I would recommend learning more about journals, how the data is actually stored, and how the restore works.
InterSystems does not want support for environment variables for password, as it’s expected by the world, and everyone doing it
as a side effect, there is no way to use services feature in GitHub actions, and I suppose such things may exist in other CI’s. But I found that it could be very useful, and at the moment I have to start IRIS in docker manually and reset password
Cache is quite old, and obviously, it may be incompatible with IRIS.
So, you would need to use separate drivers for Cache and IRIS.
I've done a similar task, with much bigger databases. And it was quite good. Mirroring working with data itself, not the on the block level. So, there should not be an issue, if you do not change data stored there.
Not sure if there are any changes from default. But, make sure, that you using SuperServer port, which is by default 1972, not WebServer port.