nebula-contrib / ngbatis

NGBATIS is a database ORM framework base NebulaGraph + spring-boot, which takes advantage of the mybatis’ fashion development, including some de-factor operations in single table and vertex-edge, like mybatis-plus. NGBATIS 是一款针对 NebulaGraph + Springboot 的数据库 ORM 框架。借鉴于 MyBatis 的使用习惯进行开发。https://graph-cn.github.io/ngbatis-docs/
https://nebula-contrib.github.io/ngbatis/
Apache License 2.0
132 stars 42 forks source link

新增边报错 #161

Closed zhangxk-ocean closed 1 year ago

zhangxk-ocean commented 1 year ago

image 这是什么原因呢

CorvusYe commented 1 year ago

试试转义 \@0,对模板来是说 @ 是个特殊符

zhangxk-ocean commented 1 year ago

明白了

zhangxk-ocean commented 1 year ago

成功

CorvusYe commented 1 year ago

Beetl 1.23 Escape

zhangxk-ocean commented 1 year ago

嗯,这个文档得多研究研究

zhangxk-ocean commented 1 year ago

有个nebula语句想请教一下, 查询指定rank的语句:FETCH PROP ON serve "11111"->"22222"@1 YIELD edge as e; 现在就是这个rank有0,1,2三个值了,怎么把这3条边都给查出来呢

CorvusYe commented 1 year ago

@rank 这部分是可选的

zhangxk-ocean commented 1 year ago

怎么选呢,查看官方文档没找到,是指定rank,还是指定范围呢

CorvusYe commented 1 year ago

直接去掉试试?(其实我也不熟,我自己一般用match😂)

zhangxk-ocean commented 1 year ago

我也换成match了,直接where加条件多简单,哈哈

CorvusYe commented 1 year ago

是否比较简单只是相对使用习惯而言啦,问题不大。 ps: 解决了的问题帮忙close一下哈