A source MUST be one of: rows written in TypeScript (all with the same columns, which are the contract), CSV text (read by the library, with quoted fields, doubled quotes and a delimiter that is a setting, an empty field being null, and each field cast to its column's type), a table of another database file of the same engine (attached for the load and detached after it, for a dialect that says it can attach), or an adapter (a typed hook that reads rows, or says why it could not); a source that the dialect cannot read, a failing adapter and an adapter row with a column outside the contract MUST each be an error value that changes nothing.
Enforced (check): .github: cd commons/data && bun run verify — suite/integrations.test.ts: CSV text is parsed with quotes and read into the target's types, an empty field is null, and a header the contract does not name is refused; suite/integrations.test.ts: a table of another database file is attached for the load and detached, on the engines that can attach, and refused as a value on the one that cannot; an adapter gives rows, fails, or gives a column the contract does not
Proved by: data/suite/integrations.test.ts
Written in: data/sql/extensions/integrations/load.ts
Tests: passed: suite/integrations.test.ts CSV text is parsed with quotes and read into the target's types, an empty field is null, a; passed: suite/integrations.test.ts a table of another database file is attached for the load and detached, on the engines tha