bigint generate to string,how to generate to number
bulolo opened this issue · 1 comments
bulolo commented
@PrimaryGeneratedColumn({ type: "bigint", name: "id", comment: "id" })
id: string;
Kononnable commented
Generating number would not be a correct behavior here.
Sql Bigint type support larger numbers then JS Number type. If you use JS Number type you can loose your data without noticing it(no overflow errors).