-
-
Notifications
You must be signed in to change notification settings - Fork 873
Open
Milestone
Description
I am using OrientDB v3.2.44 (Docker) on a host machine with CentOS 9.
I am trying to create vertices in a batch comment, using this code (with transaction false/true which I don't know how they differ):
{ "transaction" : true,
"operations" : [...]
}
I tried both SQL script blocks,
{
"type": "script",
"language": "sql",
"script":
'CREATE VERTEX Country CONTENT {
"name": "Afghanistan",
"codes": [
{
"@class": "Coding",
"code": "AFG",
"system": "#33:0"
}
]
}'
,
"type": "script",
"language": "sql",
"script":
'CREATE VERTEX Country CONTENT {
"name": "Albania",
"codes": [
{
"@class": "Coding",
"code": "ALB",
"system": "#33:0"
}
]
}'
}
and "c"-record blocks:
{
"type": "c",
"record": {
"@class": "Country",
"name": "Afghanistan",
"codes": [
{
"@class": "Coding",
"code": "AFG",
"system": "#33:0"
}
]
}
},
{
"type": "c",
"record": {
"@class": "Country",
"name": "Albania",
"codes": [
{
"@class": "Coding",
"code": "ALB",
"system": "#33:0"
}
]
}
},
Either way, it was not successful.
Metadata
Metadata
Assignees
Labels
No labels