DECIMAL
From MySQL2 Documentation
DECIMAL
andNEWDECIMAL
types always returned asstring
unless you pass this config option:
import { MySQL } from 'mysql2-orm';
const pool = new MySQL({
// ...
decimalNumbers: true,
});
From MySQL2 Documentation
DECIMAL
and NEWDECIMAL
types always returned as string
unless you pass this config option:import { MySQL } from 'mysql2-orm';
const pool = new MySQL({
// ...
decimalNumbers: true,
});