Skip to content
This repository has been archived by the owner on Oct 18, 2021. It is now read-only.

support DELETE mode for connector #133

Merged
merged 5 commits into from
Sep 8, 2021

Conversation

Nicole00
Copy link
Contributor

@Nicole00 Nicole00 commented Sep 3, 2021

No description provided.

nebulaEdges.values
.map { edge =>
NebulaExecutor.toUpdateExecuteStatement(nebulaOptions.label, nebulaEdges.propNames, edge)
}
.mkString(";")
} else {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

prefer switch, or using

else if ( nebulaOptions.writeMode == WriteMode.DELETE){
}
else{ Exception}

it maybe more explicit

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's right, in #134 I'll use switch.

@Nicole00 Nicole00 merged commit f385515 into vesoft-inc:master Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants