(arg1, arg2, arg3, arg4)
| 3404 | }; |
| 3405 | }; |
| 3406 | const join = (arg1, arg2, arg3, arg4) => { |
| 3407 | const joinedTableId = isTrue(arg1) ? arg2 : arg1; |
| 3408 | const [fromJoinAlias, onArg] = isTrue(arg1) ? isUndefined(arg4) || isFunction(arg3) ? [void 0, arg3] : [arg3, arg4] : isUndefined(arg3) || isFunction(arg2) ? [void 0, arg2] : [arg2, arg3]; |
| 3409 | const joinEntry = [ |
| 3410 | joinedTableId, |
| 3411 | [ |
| 3412 | joinedTableId, |
| 3413 | fromJoinAlias, |
| 3414 | isFunction(onArg) ? onArg : (getCell) => getCell(onArg), |
| 3415 | [], |
| 3416 | mapNew(), |
| 3417 | isTrue(arg1) ? getResultStore(joinedTableId) : store |
| 3418 | ] |
| 3419 | ]; |
| 3420 | arrayPush(joinEntries, joinEntry); |
| 3421 | return { as: (joinedTableId2) => joinEntry[0] = joinedTableId2 }; |
| 3422 | }; |
| 3423 | const where = (arg1, arg2, arg3, arg4) => arrayPush( |
| 3424 | wheres, |
| 3425 | isFunction(arg1) ? arg1 : isTrue(arg1) ? (getTableCell) => getTableCell(true, arg2, arg3) === arg4 : isUndefined(arg3) ? (getTableCell) => getTableCell(arg1) === arg2 : (getTableCell) => getTableCell(arg1, arg2) === arg3 |
nothing calls this directly
no test coverage detected
searching dependent graphs…