【发布时间】:2016-12-30 06:05:46
【问题描述】:
我想对一些 EDB 进行更改,然后找出 IDB 是如何改变的。
docs 表示查询阶段在最终阶段之后,并且“可以访问最终阶段的效果”。但是如果我跑
query '_(id) <- ^level(id; _).'
(其中 level 是 IDB)我得到了
block block_1Z7PZ61E: line 2: error: predicate level is an IDB, therefore deltas for it will not be available until stage final. (code: STAGE_INITIAL_IDB_DELTA)
^level(id; _).
^^^^^^^^^^^^^
1 ERROR
BloxCompiler reported 1 error in block 'block_1Z7PZ61E'
我也尝试关注diff predicate example。但是这个
query '_(id) <- (level\level@prev)(id; _).'
导致语法错误:
block block_1Z80EFSZ: line 2: error: illegal character 'U+005C' (code: ILLEGAL_CHARACTER)
(level\level@prev)(id; _).
^
block block_1Z80EFSZ: line 2: error: unexpected token 'level' (code: UNEXPECTED_TOKEN)
(level\level@prev)(id; _).
^^^^^
block block_1Z80EFSZ: line 2: error: unexpected token ')' (code: UNEXPECTED_TOKEN)
(level\level@prev)(id; _).
^
block block_1Z80EFSZ: line 2: error: unexpected token ';' (code: UNEXPECTED_TOKEN)
(level\level@prev)(id; _).
^
4 ERRORS
BloxCompiler reported 4 errors in block 'block_1Z80EFSZ'
【问题讨论】:
标签: logicblox