建表:
CREATE EDGE tedge2 (location string, since int , end int default now());
UPSERT EDGE 12->13 of tedge2 SET since = 121212 , location = ‘bj’ ;
go from 12 over tedge2 YIELD tedge2.end;
结果:
| tedge2.end |
0 |
---|
为什么 upsert 过程中default列不是now() 而是 0 。