Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在 AgensGraph 上查找每个属性的类型?
agens=# create (:v1{key:1,value:2}); GRAPH WRITE (INSERT VERTEX 1, INSERT EDGE 0)
我怎样才能找到它?
使用函数“jsonb_typeof”来查找属性类型。
agens=# match (n:v1) return jsonb_typeof(n.integer), jsonb_typeof(n.text); jsonb_typeof | jsonb_typeof --------------+-------------- "number" | "string" (1 row)