路径函数 length() 可以计算出路径的长度,即路径中边的数量。
Arguments:
- 路径 <path>
Returns:
- 长度 <number>
一般用法
示例:查找银行卡 CA001、CA002 之间的五步以内的最短路径,返回最短路径的长度
n({_id == "CA001"}).e()[*:5].n({_id == "CA002"}) as paths
limit 1
return length(paths)
Your system language is not Chinese, you can click and access https://www.ultipa.com for better experience.
申请证书
证书详情
ID | |
产品 | |
状态 | |
核数 | |
申请天数 | |
审批时间 | |
过期时间 | |
MAC地址 | |
申请理由 | |
审核信息 |
用户邮箱:
当前未申请证书.
Certificate | Issued at | Valid until | Serial No. | File |
---|
Serial No. | Valid until | File |
---|
Not having one? Apply now! >>>
ProductName | CreateTime | ID | Price | File |
---|
ProductName | CreateTime | ID | Price | File |
---|
No Invoice
登录
还没有嬴图账号?立即 注册
已经有嬴图账号了?立即 登录 !
返回 登录
路径函数 length() 可以计算出路径的长度,即路径中边的数量。
Arguments:
Returns:
示例:查找银行卡 CA001、CA002 之间的五步以内的最短路径,返回最短路径的长度
n({_id == "CA001"}).e()[*:5].n({_id == "CA002"}) as paths
limit 1
return length(paths)
没有查询到结果