go to post Dmitry Maslennikov · Nov 8, 2022 Great news about RETURNING, yeah, that will help a lot, especially for external adapters. And thanks for the tip with getGeneratedKeys
go to post Dmitry Maslennikov · Nov 8, 2022 "scheme": "https", Are you sure, that you need https, not plain http? Seems like, it's the issue
go to post Dmitry Maslennikov · Nov 7, 2022 Well, then, the latest 2022.2, should be able to start on up to 20 cores.
go to post Dmitry Maslennikov · Nov 7, 2022 Save it as file ObjectScript.RightTriangle.cls, and do the command Do $system.OBJ.Load("ObjectScript.RightTriangle.cls", "ck") Where, c - compile k - keep generated code, INT routines
go to post Dmitry Maslennikov · Nov 5, 2022 So, home edition could be an issue. But not sure. And AMD itself should be be an issue at all, the issue mostly like in some software already installed. Depends on in what stage it hangs, at some point it should start the installing IRIS, and I would look at its log (<installdir>/mgr/messages.log). Probably it may got something there
go to post Dmitry Maslennikov · Nov 5, 2022 Right, but from that point of code, I have no idea what the primary key is, I may get the table name, and that's it. And I don't want to do any extra queries, to find it out. Even the to do query with LAST_IDENTITY() seems too much for performance reasons. It's a part of Python SQLAlchemy ORM Dialect in my development right now.
go to post Dmitry Maslennikov · Nov 4, 2022 Hmm, it's system-wide, and now I see, that it's the wrong way. I can't use this. Are there any possibilities to have such option just for a process?
go to post Dmitry Maslennikov · Nov 4, 2022 InterSystems DB-API Driver does not support it, yet, But yeah, this can solve it, and I like this way more. sqlalchemy.exc.InterfaceError: (iris.dbapi._DBAPI.InterfaceError) Error parsing statement 'SET OPTION PKEY_IS_IDKEY = TRUE':
go to post Dmitry Maslennikov · Nov 4, 2022 Found this way with IDENTITY and ALLOWIDENTITYINSERT=1 CREATE TABLE users ( id identity NOT NULL, name VARCHAR(30) NOT NULL, PRIMARY KEY (id) ) WITH %CLASSPARAMETER ALLOWIDENTITYINSERT = 1; INSERT INTO users (id, name) VALUES (2, 'fred'); SELECT LAST_IDENTITY(); INSERT INTO users (name) VALUES ('ed'); SELECT LAST_IDENTITY(); Not sure if actually a good way to solve the issue
go to post Dmitry Maslennikov · Nov 3, 2022 No reason to reinvent the wheel, just use imagemagick, no matter the OS, it works anywhere and with any format.
go to post Dmitry Maslennikov · Nov 2, 2022 I suggest, that InterSystems, would finally do something, and continue developing and improving their drivers. I could do such drivers too, and not just NodeJS only, any other languages as well. And I have my own realization for IRIS that way, but it's too simple.
go to post Dmitry Maslennikov · Nov 1, 2022 That way requires some sort of familiarity with IRIS, so, be able to load and run the server on the IRIS side. That's not what I expect, from drivers like this. You should be able to connect to any running instance, and it should not require installing something there, at maximum do some security configuration, such as adding users.
go to post Dmitry Maslennikov · Nov 1, 2022 I see it in difficulty explaining of how to start using IRIS with NodeJS (actually with any supported language). It's not even simpler for NodeJS Developers who already familiar with IRIS and the complexity of getting drivers. When on answer of how to start develop in NodeJS with IRIS, we could answer just install driver with npm and you are ready to go, then probably will be much more NodeJS based projects.
go to post Dmitry Maslennikov · Oct 29, 2022 I see no reasons why it would not work. What about ports, in that case, you would need to add services for each listening port, that's how Kubernetes works, nothing special for Healthshare.
go to post Dmitry Maslennikov · Oct 28, 2022 Maybe it's finally time to introduce at least preview tag, so, we will not have a pain every time when you delete previous images
go to post Dmitry Maslennikov · Oct 28, 2022 btw, the recent version of ZPM 0.5.0, now supports requirements.txt, so, just place it in the root next to module.xml, and during load or install, it will install dependencies from that file too.
go to post Dmitry Maslennikov · Oct 28, 2022 I've already patched DB-API as a workaround, and see that a fix in IRIS makes not so much sense since the issue still is in older versions. So, I would fix it on the driver's side.