Syntax create record
i know a sintax for creating a record :
let p := create Person;
ok nice, but i have one time see a other syntax for creating a record.
Anybody know the other syntax?
like this :
.Name := "myName";
I think I found this on https://nioxus.com/ - cool way to create a record:
var sea := last(select Season);
Number := number(item(split(varTitle, " "), 1));
Title := varTitle;
Tagline := varSpot;
sea := Id
where the "var" fields are defined elsewhere in my script. And the "sea" variable stores the ID of the newly created record, so I can reference it later. Much cleaner way that I love.
- 1 yr agoLast active