(final CompileContext cc)
| 34 | } |
| 35 | |
| 36 | @Override |
| 37 | protected final Expr opt(final CompileContext cc) throws QueryException { |
| 38 | compileData(cc); |
| 39 | |
| 40 | final Expr nodes = arg(0); |
| 41 | final Data data = nodes.data(); |
| 42 | if(data != null && !data.meta.updindex && !(this instanceof DbGetPre)) { |
| 43 | // no ID-PRE mapping: work with PRE values |
| 44 | return cc.function(_DB_GET_PRE, info, nodes); |
| 45 | } |
| 46 | return this; |
| 47 | } |
| 48 | |
| 49 | @Override |
| 50 | public final boolean ddo() { |
nothing calls this directly
no test coverage detected