match 嵌套 以及optional match

  • nebula 版本:2.0 GA
  • 部署方式:分布式
  • 如何用 nGQL 实现如下语法,
match (p:patient_info)-->(v:visits)

match (v)-[:medical_record_home_page]->(medical_record_home_page)
where medical_record_home_page.ADMISSION_DATE contains '2020'

optional match (v)-[:drug_order]->(drug_order)
where drug_order.APPROVED_DRUG_NAME is not null and drug_order.ORDER_EXECUTE_TIME is not null

optional match (v)-[:operation_record]->(operation_record)
where operation_record.OPERATION_END_TIME is not null

目前还做不到,不过前两条的match语句现在已经支持了

浙ICP备20010487号