(aNum)
| 12 | const maxSafeIntegerAsBigInt = BigInt(Number.MAX_SAFE_INTEGER); |
| 13 | |
| 14 | function getScale(aNum) { |
| 15 | if (!Number.isFinite(aNum)) return 0; |
| 16 | let e = 1; |
| 17 | while (Math.round(aNum * e) / e !== aNum) e *= 10; |
| 18 | return Math.log10(e); |
| 19 | } |
| 20 | |
| 21 | class Query extends AbstractQuery { |
| 22 | getInsertIdField() { |
no outgoing calls
no test coverage detected