Skip to content

Commit

Permalink
edit qiuery
Browse files Browse the repository at this point in the history
Related #5
  • Loading branch information
Alaalser committed Feb 15, 2021
1 parent 70eda59 commit f6f2c5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/database/queries/kindergarten/deleteKindergarten.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const { connection } = require('../../data');

const deleteKindergartenQuery = (kindergartenId) => {
const sql = {
text: 'DELETE * FROM kindergarten WHERE kindergartens.id=$1 CASCADE',
text: 'DELETE * FROM kindergartens WHERE kindergartens.id=$1 CASCADE',
values: [kindergartenId],
};
return connection.query(sql);
Expand Down

0 comments on commit f6f2c5f

Please sign in to comment.