ยฉ 2026 Hedgehog Software, LLC
export const order = pgTable( 'orders', { ... totalValue: numeric('total_value', { precision: 10, scale: 2 }), ... })
order.totalValue
PgNumeric<{ tableName: "orders"; name: "total_value"; data: string; driverParam: string; notNull: false; hasDefault: false; }>
await db .insert(order) .values({ ...input, }) .returning();
string | null
number | null