chicken-sloths / bangazon-api-sprint1

API for a mock Amazon + Etsy platform providing developers access to the company's employee & product data
0 stars 0 forks source link

generateSqlTable() should escape quotes #79

Closed TimAConner closed 6 years ago

TimAConner commented 6 years ago

Context

  1. The json generate data from faker has quotes in it which are conflicting with how sql is parsing the lines. The quotes should be escaped.

Associated Product Ticket

Process

  1. Add fakerString.Replace("'", "''");

Expected Result

"O'Conner" to "O''Conner"