Content Type
Video
Duration
15m
Level
Introductory
Get an introduction to globals, an efficient and powerful data storage model at the heart of InterSystems IRIS® data platform.
Content Type
Video
Duration
15m
Level
Introductory
Get an introduction to globals, an efficient and powerful data storage model at the heart of InterSystems IRIS® data platform.
| Reference | Timestamp | Code |
|---|---|---|
| create global ^a using array syntax |
0:31 | ^a(1,2,3)=4 |
| assign value to existing node 1 of global ^a |
2:07 | ^a(1)="hello" |
| assign value to new node 5 of global ^a |
2:23 | ^a(5)="world" |
| assign value to the root of a global ^a |
2:44 | ^a="root" |
| create global ^b using array syntax and non-integer subscripts |
6:34 | ^b("sun",-2.5,"star")=4 |
| assign value to existing node "sun" of global ^b |
6:37 | ^b("sun")="hello" |
| assign value to existing node "planet" of global ^b |
6:39 | ^b("planet")="world" |
| assign value to the root of global ^b |
6:43 | ^b="root" |
| JSON data for John Smith |
9:06 | Begin code.{"Name": "John Smith",
"Email": {"Home": "jsmith1234@gmail.com",
"Work": "jsmith@somework.com"},
"Address": {"Street": "123 High St.",
"City": "Cambridge",
"State": "MA",
"Zip": "02138"}}End code. |
| JSON data for Mary Jones | 9:42 | Begin code.{"Name": "Mary Jones",
"Email": {"Home": "mjones5678@email.com"},
"Address": {"67 Bennett Ave., Boston, MA 02111",
"Phone": [{"Type":"Cell","Number":"333-333-3333"},
{"Type":"Business","Number":"111-111-1111"},
{"Type":"Home","Number":"555-555-5555"}]} End code. |
Having an issue with the learning site? Want to provide feedback on a course? Contact us by emailing online.training@intersystems.com.
Please include all relevant information, including the page or course you are having trouble with, and any necessary screenshots.