christopher pfp
christopher
@christopher
JSON not supporting BigInt hurts my soul
4 replies
0 recast
15 reactions

Ξric Juta  pfp
Ξric Juta
@ericjuta
postgres wen uint256
1 reply
0 recast
3 reactions

Vladyslav Dalechyn pfp
Vladyslav Dalechyn
@dalechyn.eth
import { customType } from 'drizzle-orm/pg-core' export const ethBigint = customType<{ data: bigint driverData: number config: never }>({ dataType() { return 'numeric(78, 0)' }, fromDriver(value: number): bigint { return BigInt(value) }, })
2 replies
0 recast
0 reaction