InterSystemsDev via @like
How to return #JSON Array in #SQL request for a List Property? #HowTo #InterSystemsIRIS #ObjectDataModel #ObjectScript
>> http://ow.ly/3pOv50q03Ie <<
>> http://ow.ly/3pOv50q03Ie <<
InterSystems Developer Community
How to return JSON Array in SQL request for a List Property?
Hi Community!Suppose I have a property in a ObjectScript class:
Property values As list Of %String
What an SQL query can help to return the values of the property as JSON array via SQL access (JDB
Property values As list Of %String
What an SQL query can help to return the values of the property as JSON array via SQL access (JDB
InterSystemsDev via @like
How to use conditional logic in SQL? #HowTo #Caché #InterSystemsIRIS #SQL
>> http://ow.ly/tDCw50qjKBu <<
>> http://ow.ly/tDCw50qjKBu <<
InterSystems Developer Community
HOW TO USE CONDITIONAL LOGIC IN SQL
Is there a way or can it be done to use conditional logic in sql like so
Query Q1(formal as %String) As %SQLQuery [ Final ]
{
SELECT pati
Query Q1(formal as %String) As %SQLQuery [ Final ]
{
SELECT pati
InterSystemsDev via @like
How to create index from a property in a list? #HowTo #InterSystemsIRIS #Indexing
>> http://ow.ly/h8LD50ubWYk <<
>> http://ow.ly/h8LD50ubWYk <<
InterSystems Developer Community
Create index from a property in a list - SOLVED
Hi,I know of the existance of (ELEMENTS) to create an index from a list, but I actually would like to index the content of an element of a list. Is it possible? My scenario:Class:Property Test As
InterSystemsDev via @like
How to ignore terminators on read from #TCP device? #HowTo #Caché #Interoperability
>> http://ow.ly/gH7850ukVDz <<
>> http://ow.ly/gH7850ukVDz <<
InterSystems Developer Community
How to ignore terminators on read from TCP device
I'm connecting to a remote device using TCP. It has a binary protocol.
set host = ""
set port = ""
set io = $io
set device = "|TCP|7000"
set timeout = 2
open device:(host:port:"M")
use device
set host = ""
set port = ""
set io = $io
set device = "|TCP|7000"
set timeout = 2
open device:(host:port:"M")
use device
InterSystemsDev via @like
How to Setup #InterSystemsIRIS Container to Use OS-Level Authentication Programmatically? #HowTo #Containers #Containerization #TipsAndTricks
>> http://ow.ly/r1rJ50uqf3D <<
>> http://ow.ly/r1rJ50uqf3D <<
InterSystems Developer Community
How to Setup InterSystems IRIS Container to Use OS-Level Authentication Programmatically
Hi Community!When you run IRIS container out-of-the-box and connect to it via terminal e.g. with:
docker-compose exec iris bash
You see something like:
root@7b19f545187b:/opt/app# irisses
docker-compose exec iris bash
You see something like:
root@7b19f545187b:/opt/app# irisses
InterSystemsDev via @like
Question on #DeveloperCommunity: How to get concrete class from id? #HowTo #Caché
>> http://ow.ly/7xtc50urkIY <<
>> http://ow.ly/7xtc50urkIY <<
InterSystems Developer Community
Get concrete class from id
I have one abstract class and several subclasses. All share one data/id global.How can I get concrete class name from id (without opening the object)?What I have so far:
write $p($lg(^DATAGLOBAL(<
write $p($lg(^DATAGLOBAL(<
InterSystemsDev via @like
How to run a #SQL on a different server from #Caché itself? #HowTo #DataPlatform #API
>> http://ow.ly/JqwO50uHcgx <<
>> http://ow.ly/JqwO50uHcgx <<
InterSystems Developer Community
How to run a sql on a different server from cache itself
what class or API I shall be using to execute a piece of sql to another server from one server? From within cache itself not java or python or any other languages. Anything like $System.SQL.%Conn
InterSystemsDev via @like
How to Create New #Database, Namespace and Web Application for InterSystems IRIS programmatically >> http://ow.ly/hc5H50uYvv5
#HowTo #InterSystemsIRIS #IRISforHealth #Caché #DeepSee #ObjectScript #Analytics #WebApplication
#HowTo #InterSystemsIRIS #IRISforHealth #Caché #DeepSee #ObjectScript #Analytics #WebApplication
InterSystems Developer Community
How to Create New Database, Namespace and Web Application for InterSystems IRIS programmatically
Here is an ObjectScript snippet which lets to create database, namespace and a web application for InterSystems IRIS:
```
set currentNS = $namespace
zn "%SYS"
write "Create DB ...",!
se
```
set currentNS = $namespace
zn "%SYS"
write "Create DB ...",!
se
InterSystemsDev via @like
How to programmatically create a web application definition? #HowTo #Caché #ObjectScript #Namespace
>> http://ow.ly/dKxV50v1OpD <<
>> http://ow.ly/dKxV50v1OpD <<
InterSystems Developer Community
How do I programmatically create a web application definition?
I have a need to dynamically create a web application definition in a namespace using ObjectScript. I am having trouble finding a cache class or routine that let's me do this. Thanks
InterSystemsDev via @like
How to compare time data >> http://ow.ly/Z9nW50v9c9u
#HowTo #InterSystems #InterSystemsIRIS #ObjectScript #SQL #Coding
#HowTo #InterSystems #InterSystemsIRIS #ObjectScript #SQL #Coding
InterSystems Developer Community
How to compare time
I am trying to get the time difference between two time stamps one is recorded earlier to the one happening current but the problem is sql expect string while I have the other stored in a variable and