Ask a question to get started
Enter to sendā¢Shift+Enter new line
CYPHER_UPSERT_CHANNEL_STATE = '\nMATCH ( c:Checkpoint {checkpoint_id: $checkpoint_id})\nMERGE (cs:ChannelState {channel: $channel, version: $version})\nON CREATE SET cs.type = $type, cs.blob = $blob\nCREATE (c)-[:HAS_CHANNEL]->(cs )\n'