Add RETURN INFO command to sql queries
This commit is contained in:
parent
f23d1e10d7
commit
daa8db511c
1 changed files with 4 additions and 4 deletions
|
@ -955,7 +955,7 @@ func Test_Parse_Queries_Create(t *testing.T) {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
sql: `CREATE person RETURN SOMETHING`,
|
sql: `CREATE person RETURN SOMETHING`,
|
||||||
err: "Found `SOMETHING` but expected `ID, NONE, BOTH, DIFF, BEFORE, AFTER`",
|
err: "Found `SOMETHING` but expected `ID, NONE, INFO, BOTH, DIFF, BEFORE, AFTER`",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1096,7 +1096,7 @@ func Test_Parse_Queries_Update(t *testing.T) {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
sql: `UPDATE person RETURN SOMETHING`,
|
sql: `UPDATE person RETURN SOMETHING`,
|
||||||
err: "Found `SOMETHING` but expected `ID, NONE, BOTH, DIFF, BEFORE, AFTER`",
|
err: "Found `SOMETHING` but expected `ID, NONE, INFO, BOTH, DIFF, BEFORE, AFTER`",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1186,7 +1186,7 @@ func Test_Parse_Queries_Modify(t *testing.T) {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
sql: `MODIFY @person:test DIFF {"diff": true} RETURN SOMETHING`,
|
sql: `MODIFY @person:test DIFF {"diff": true} RETURN SOMETHING`,
|
||||||
err: "Found `SOMETHING` but expected `ID, NONE, BOTH, DIFF, BEFORE, AFTER`",
|
err: "Found `SOMETHING` but expected `ID, NONE, INFO, BOTH, DIFF, BEFORE, AFTER`",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1259,7 +1259,7 @@ func Test_Parse_Queries_Delete(t *testing.T) {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
sql: `DELETE person RETURN SOMETHING`,
|
sql: `DELETE person RETURN SOMETHING`,
|
||||||
err: "Found `SOMETHING` but expected `ID, NONE, BOTH, DIFF, BEFORE, AFTER`",
|
err: "Found `SOMETHING` but expected `ID, NONE, INFO, BOTH, DIFF, BEFORE, AFTER`",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue