Error handling with typeorm, sql in Nestjs
I’m writing a service in Nestjs which uses typeorm to communicate with a MySQL server. Say, I create a table, test_table
with two columns col1
and col2
, col1
having a UNIQUE
constraint.
I’m writing a service in Nestjs which uses typeorm to communicate with a MySQL server. Say, I create a table, test_table
with two columns col1
and col2
, col1
having a UNIQUE
constraint.