https://nebula-graph.io logo
#nebula-users
Title
# nebula-users
s

Sandeep

10/10/2022, 8:33 AM
Can anyone please confirm if the Nebula Java client supports batch insert? I checked and looks like it is not supported. Wanted to confirm.
w

wey

10/11/2022, 1:40 AM
It’s not java client specific, we could construct bulk insert in one line like:
Copy code
INSERT VERTEX t2 (name, age) VALUES "13":("n3", 12), "14":("n4", 8);
If batch insert you meant multiple lines, it’s supported, but not recommended as the client will only return the last line of execution result in multi-line query. https://docs.nebula-graph.io/3.2.1/3.ngql-guide/12.vertex-statements/1.insert-vertex/
s

Sandeep

10/11/2022, 11:42 PM
Got it. Thank you @wey
❤️ 1
5 Views