File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ module.exports = (table) => ({
53
53
} ,
54
54
55
55
delete ( id ) {
56
- const sql = ' DELETE FROM ${table} WHERE id = $1' ;
56
+ const sql = ` DELETE FROM ${ table } WHERE id = $1` ;
57
57
return pool . query ( sql , [ id ] ) ;
58
58
} ,
59
59
} ) ;
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ module.exports = (table) => ({
53
53
} ,
54
54
55
55
delete ( id ) {
56
- const sql = ' DELETE FROM ${table} WHERE id = $1' ;
56
+ const sql = ` DELETE FROM ${ table } WHERE id = $1` ;
57
57
return pool . query ( sql , [ id ] ) ;
58
58
} ,
59
59
} ) ;
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ module.exports = (table) => ({
53
53
} ,
54
54
55
55
delete ( id ) {
56
- const sql = ' DELETE FROM ${table} WHERE id = $1' ;
56
+ const sql = ` DELETE FROM ${ table } WHERE id = $1` ;
57
57
return pool . query ( sql , [ id ] ) ;
58
58
} ,
59
59
} ) ;
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ module.exports = (table) => ({
53
53
} ,
54
54
55
55
delete ( id ) {
56
- const sql = ' DELETE FROM ${table} WHERE id = $1' ;
56
+ const sql = ` DELETE FROM ${ table } WHERE id = $1` ;
57
57
return pool . query ( sql , [ id ] ) ;
58
58
} ,
59
59
} ) ;
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ module.exports = (table) => ({
53
53
} ,
54
54
55
55
delete ( id ) {
56
- const sql = ' DELETE FROM ${table} WHERE id = $1' ;
56
+ const sql = ` DELETE FROM ${ table } WHERE id = $1` ;
57
57
return pool . query ( sql , [ id ] ) ;
58
58
} ,
59
59
} ) ;
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ module.exports = (table) => ({
53
53
} ,
54
54
55
55
delete ( id ) {
56
- const sql = ' DELETE FROM ${table} WHERE id = $1' ;
56
+ const sql = ` DELETE FROM ${ table } WHERE id = $1` ;
57
57
return pool . query ( sql , [ id ] ) ;
58
58
} ,
59
59
} ) ;
You can’t perform that action at this time.
0 commit comments