Function: notIntegerIdWarning()
notIntegerIdWarning(
surface,column):string|undefined
Defined in: src/core/int64.ts:224
The warning for an id column that is not exact integers (see idsToStrings), once per (surface, column) per process.
Parameters
surface
string
The surface name shown in the message.
column
string
The id column idsToStrings returned "not-integers" for.
Returns
string | undefined
The message
(<surface>: id column "<column>" holds values that are not exact integers (...); left as read, not decimal strings)
the first time per (surface, column);
undefined after.
Remarks
Returns the text only; the caller emits it. Keyed separately from bigintWarning, so both can fire once for the same (surface, column).
Example
import { notIntegerIdWarning } from "./int64.js";
notIntegerIdWarning("load_x", "games"); // 'load_x: id column "games" holds values ...'
notIntegerIdWarning("load_x", "games"); // undefined