Documentation/Graph Query Language
INSERT
The insert statement is used to create new instances of objects and fill the attribute with new values.
INSERT INTO identifier insert_expression
- An insert statement contains an identifier and an insert_expression.
- For example the query ‘INSERT INTO User VALUES(Name=’Simpson’, FirstName=’Homer’, Age=’37’)’ creates a new user object and fills the attributes Name, FirstName and Age.
insert_expression
EMPTY | VALUES ( assign_value [, assign_value] )
- An insert expression contains an assign value or a comma separated list of values.
assign_value
identifier = expression |
identifier = SETREF tuple |
identifier = dbobject_list |
identifier = dbobject_set
dbobject_list
LISTOF tuple_list
dbobject_set
SETOF tuple_list
tuple_list
( expression [ ListParametersForExpression ]
[, expression [ ListParametersForExpression ] ] )
Value
string_literal | number
ListParametersForExpression
: ( ) |
: ( Value [ , Value ] )
- May contains nothing a list of values, please refer to the documentation of the particular EdgeType.
