We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
My query is : SELECT fieldWithIds FROM TableA; where fieldWithIds is of LINKLIST type. Let's say it contains e.g. [#20:1,#20:2,#20:3,#20:4].
SELECT fieldWithIds FROM TableA;
fieldWithIds
Is there a way to remove the element with index number 2 to get [#20:1,#20:2,#20:4]?
Thank you !
The text was updated successfully, but these errors were encountered:
Hi @petervavro
If you know the position of the item, then you can use square bracket filters (http://orientdb.com/docs/3.0.x/sql/SQL-Syntax.html#square-bracket-filters)
UPDATE TableA SET fieldWithIds = fieldWithIds[0..2] || fieldWithIds[3..1000000]
Thanks
Luigi
Sorry, something went wrong.
No branches or pull requests
OrientDB Version: 3.0.19
Java Version: "11" 2018-09-25
OS: 10.14.4
My query is :
SELECT fieldWithIds FROM TableA;
wherefieldWithIds
is of LINKLIST type. Let's say it contains e.g. [#20:1,#20:2,#20:3,#20:4].Is there a way to remove the element with index number 2 to get [#20:1,#20:2,#20:4]?
Thank you !
The text was updated successfully, but these errors were encountered: