You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

OrientDB查询SELECT expand(classes) FROM metadata:schema在ArcadeDB中的等价写法

OrientDB查询在ArcadeDB中的等价写法

要获取ArcadeDB的数据库schema类列表,对应OrientDB语句 SELECT expand(classes) FROM metadata:schema LIMIT 100 的等价查询是:

SELECT expand(type) FROM system:types LIMIT 100

关键差异说明

  • OrientDB用metadata:schema存储schema信息,通过classes字段展开类集合;ArcadeDB的schema数据存在system:types系统表中,每条记录的type字段对应具体的类定义对象。
  • 你之前尝试的expand(types)无效,是因为system:types表中没有types这个字段,正确的字段名是type。

内容的提问来源于stack exchange,提问作者Antony

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.14 16:23:11