Pietro is a
Question Whiz
Recap 2024
Publications:
7questions
21comments
Top Post:
3,593
people reached
User bio
404 bio not found
Rome, Italy
Member since Jul 24, 2023
Pinned posts:
Replies:

Hello Ashok, this is a great article, thanks for sharing it!

However, I would like to ask how to create an oref using a property index. For example, considering the class:

Class User.Test Extends %Persistent
{

Property Code As %String(MAXLEN = 50) [ Required ];
Index CodeIdx On CodeIdx [ Unique ];
}

In ObjectScript I can use the following syntax to open the oref using its ID: 

set obj = ##class(User.Test).CodeIdxOpen(ID)

In the same way I can use the CodeIdxDelete or CodeIdxExists as well.

I was wondering how to obtain the same result in Embedded Python.

Hello Brett, thank you so much for the suggestions. I've installed Wireshark but, since I've never used it before, I find it a bit tricky. Do you have any advice on how to use it to capture the network trace from Visual Studio Code during saving operations?

P.S. actually I have the same identical issue with Codeium and I tried to contact them but they've never answered me :(
Luckily today a free version of GitHub Copilot which is working with ObjectScript has just been released

Certifications & Credly badges:
Global Masters badges:
Followers:
Following: